viresh-ratnakar / exet

Web app for crossword construction: designing a grid, filling the grid, creating straight or cryptic clues, and downloading as Exolve or .puz. All data is saved locally, no crosswords are sent to any server.
https://viresh-ratnakar.github.io/exet.html
MIT License
43 stars 12 forks source link

More memory managment. #6

Closed elwoodpd closed 3 years ago

elwoodpd commented 3 years ago

Would be nice to be able to save revision history as a file (so it can be deleted from local storage and also backed up). It would also be nice to be able to request more local storage space.

viresh-ratnakar commented 3 years ago

With v0.31, now there is an option to save revision history as a file, and another to load from such a file, merging the revisions lists (i.e., skipping duplicate ones).

From the README.md file:

Backing up the revisions stored in local storage

The "Open" menu also has a "Save all revisions to file" option, which saves the entire revision history to a JSON file (named exet-revisions-timestamp.json), as a way of having a back-up beyond the browser's local storage. Apart from using as a back-up mechanism, you can also use this to transfer all the crosswords that you're working on to a different computer. The companion option, "Merge saved revisions file," lets you read a saved JSON file, merging all revision state from it. This allows limiting to just the latest version of each crossword (instead of its full revision history). The revisions are merged: in the sense that if a revision already exists then it is not duplicated.

elwoodpd commented 3 years ago

Amazing. Thanks!

viresh-ratnakar commented 3 years ago

Closing this, thanks.