-
Bug
-
Resolution: Done
-
Normal
-
None
-
False
-
False
-
0
-
undefined
-
Not Supported
-
-
Low
Description of problem:
When the user opens a page with a Form / YAML switch, for example the Install Helm chart, Edit Deployment or Edit BuildConfig pages, the pages makes always a patch call to update the user preferences.
Prerequisites (if any, like setup, operators/versions):
None
Steps to Reproduce
- Switch to developer perspective > Add > Helm chart
- Select a helm chart (for example Dotnet) and press Install Helm Chart
- Open the browser network inspector and filter for "user-settings"
- Refresh the page
Actual results:
You can always the a PATCH call which stores the latest selected editor type (form or yaml)
Expected results:
No unnecessary network calls
Reproducibility (Always/Intermittent/Only Once):
Always
Build Details:
4.9 with ODC-5959 - PR https://github.com/openshift/console/pull/9830
Additional info:
- See review comment https://github.com/openshift/console/pull/9830#pullrequestreview-740648862
- relates to
-
ODC-5959 Add user preference option for Form / YAML
- Closed
- links to