Automatic Save Changes in Intervals in Local Storage #16710
idseefeld
started this conversation in
Features and ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I think it might be a nice feature to store changes in regular intervals e.g. every 5 minutes in local storage.
In case someone closes the browser or the application crashes by unknown issue, you could show a button like "restore last changes". The related action will restore the form local storage.
When changes are successfully saved the local storage gets cleared until the user makes other changes.
Furthermore you could check if the node has been updated by somebody else while the current user tries to recover.
As far as I can see the change detection which should be triggered by leaving the current editor has not been implemented yet. Probably you could use the same functionality for this feature.
Just found
save
method in thecore/stores/node.store
. I think this might be the right place for such a method e.g.autoSave(data: NodeEntity[])
too.Beta Was this translation helpful? Give feedback.
All reactions