NetsBlox / Snap--Build-Your-Own-Blocks

a visual programming language inspired by Scratch
http://snap.berkeley.edu
GNU Affero General Public License v3.0
3 stars 6 forks source link

Project auto-save (to local storage) and restore #1544

Open gsteinLTU opened 3 months ago

gsteinLTU commented 3 months ago

While working (in projects without collaboration) a temporary version of the project should be saved to local storage occasionally. When relaunching the browser, if the newest snapshot wasn't saved, when opening NetsBlox (and/or through a menu option?) it would pop up a "You have unsaved work from a previous session in [project name], would you like to restore it?" prompt.

This prompt should include the thumbnail and also be disable-able through a setting to prevent from getting annoying.

We need to figure out how best to handle when there are multiple unsaved projects (e.g. from multiple windows that were closed on shutdown).