Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add last-resort/backup system for drawing save events #4421

Closed
ssddanbrown opened this issue Aug 3, 2023 · 1 comment
Closed

Add last-resort/backup system for drawing save events #4421

ssddanbrown opened this issue Aug 3, 2023 · 1 comment

Comments

@ssddanbrown
Copy link
Member

Had a few reports of folks loosing drawings after spending a lot of time editing (and not saving) either due to session timeouts or others.
Would be best to store image data to the browser before pushing to the server, for potential access/restore in the event something goes wrong.

Not yet sure what the UI would look like, or where it even fits in.
Maybe check and prompt to restore on diagrams.net boot, if old content found in store?

@ssddanbrown ssddanbrown added this to the Next Feature Release milestone Aug 3, 2023
ssddanbrown added a commit that referenced this issue Aug 22, 2023
Adds just the part to store image data, and remove on successfull save.
Alters save events to properly throw upon error.
Adds IDB-Keyval library for local large-size store.
For #4421
@ssddanbrown
Copy link
Member Author

Merged in #4457

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

1 participant