b310-digital / teammapper

Mindmapping made simple: Host and create your own mindmaps. Share your mindmap sessions with your team and collaborate on mindmaps.
https://teammapper.org
MIT License
256 stars 21 forks source link

Add client-side rollback during snapshot import #490

Closed sorenjohanson closed 1 month ago

sorenjohanson commented 1 month ago

Proposed feature When importing a snapshot, there's currently no way to roll back on errors client-side. To make it more robust, a "clean" snapshot should be saved before deleting nodes and importing the new ones, allowing a rollback to that clean snapshot in case of any errors.