3
Add a prompt for unsaved changes to `beforeunload`
Source: directus/directus#22677 · opened by @izucken
Summary I tried looking through the issues and discussions for this. Closest case I could find is it proposes another solution in a somewhat different context. --- I had a content editor contact me about some changes they apparently lost. In their scenario, they made some changes or added a linked entity (the one for which a side panel opens), but it was not entirely obvious to them that such action may necessitate saving the root entity as well. In our case, forms are not too big, but related entity editing can make current application state unclear to users (after all it seems like you clicked a checkmark button called "save"). When you try to navigate away from the form within the app, directus UI will helpfully ask you to stay or discard the changes. If you accidentally navigate away from directus within the tab, you can go back and recover form state, which is also useful and seems to work for the entire tab history (although it can behave not entirely obviou…
No pledges yet. Be the first to back this.
Comments
Similar requests
Implement `onbeforeunload` to notify user when leaving Directus App with unsaved content.
2 votes · 0 comments
Allow interfaces to trigger item saves
5 votes · 0 comments
A module for filtering a collection against its related data values
1 vote · 0 comments
Conditional confirmation step on collection
18 votes · 0 comments
Option to auto delete file when related item is deleted from collection.
47 votes · 0 comments
No comments yet.