Open jithenms opened 5 months ago
@jithenms All changes to secrets should be intentional and having the user confirm their changes is a way to achieve that. Auto saving changes may cause changes to occur that were not indented.
@maidul98 updated the issue with the follow up thought I had let me know if you think that's something worth taking a look at. Thanks!
If a user modifies content and does not save these modifications, they should receive a standard popup message warning them that their unsaved changes will be lost.
Describe the bug
Currently, if I close the accordion for each secret in the secrets overview page it loses the state of the unsaved changes.
To Reproduce
Expected behavior
A user goes to the secrets overview page, toggles open an existing secret, modifies it without saving it and closes the accordion, then decides to come back to toggle that secret once again but the unsaved changes were not lost. This is not applicable if the user decides to refresh the page.
Additional context
I'm willing to submit a PR