Open rak-phillip opened 1 year ago
Given https://github.com/rancher/dashboard/pull/9798 / https://github.com/rancher/dashboard/issues/9724 this issue is back again
richard-cox said: @rak-phillip Can this one be moved to 2.8q1?
@richard-cox yes, we can move this one out. We get a warning when clicking on the Edit as YAML button with #9798, so the user will at least be notified that Machine Pools will be saved when switching to the YAML editor.
The current process involves the Frontend triggering a Backend call with the updated configuration to obtain the updated YAML for rendering. This involves a PUT request that saves the cluster with the modified configuration. Following discussions with @richard-cox, two potential solutions have been identified to address this matter:
I would vote we discuss option 1 with the BE. Requesting the machine config YAML that we can show inline when editing cluster YAML... and then save that YAML when the user clicks on saving the cluster would be better UX
I'll file a backend ticket and figure out how to get it rolling.
https://github.com/rancher/rancher/issues/43993 in place. Need to check on process to get that evaluated though I left it as a bug for now, despite it screaming feature request.
For internal coordiation, SURE-8093 is our reference.
Pushing to 2.10.0 since this has been around for a while and we're still backend blocked.
Description
When editing a machine pool and then switching from Form mode to the YAML editor, changes are unexpectedly saved, even if the user cancels the operation. This behavior results in the machine pool values being updated when the user didn't intend to make any changes.
Steps to Reproduce (Edit as YAML commits changes)
Expected
Actual
Additional Info