Closed jw3 closed 10 months ago
Is the intent to discard changes upon navigation? Perhaps the unsaved dialog should show up when attempting to navigate away with unsaved changes present and then discard them to avoid this dialog in other pages?
Yes adding an additional check and prompt when navigating away would be good. If they leave, the changes get discarded.
The text editor views (rules, config) allow the user to navigate away from the editor while unsaved changes are present. When the user navigates back the unsaved changes are gone.
The system does however appear to track some notion of the missing state, this is evident from the rules editor