felixgirault / schemist

Build cohesive and accessible color schemes.
https://schemist.fglt.fr
MIT License
14 stars 0 forks source link

Snapshots #18

Open felixgirault opened 2 years ago

felixgirault commented 2 years ago

Save snapshots of the current state every time the user is idle for a moment. This would prevent data loss on accidental page refresh, and allow building an undo feature easily.

felixgirault commented 2 years ago

A good architecture could be to decouple the tree definition from the actual data. It is almost the case but it should be enhanced a little more. Snapshots would be a stack of tree definitions, and the topmost item would be derived to get the actual data (colors and names).