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 #492

Closed sorenjohanson closed 1 month ago

sorenjohanson commented 1 month ago

closes #490

JannikStreek commented 1 month ago

How can I test this locally?

sorenjohanson commented 1 month ago

Apparently still buggy, so I reset this to draft for now.

sorenjohanson commented 1 month ago

The rollback uses redraw directly now without relying on save(), this should allow for a more robust undo and prevent stale snapshots (which was an issue before).