gopi-suvanam / scribbler

Scribbler - JavaScript Notebook Tool for experimenting in JavaScript. Runs in the browser without a backend. Discord server: https://discord.gg/uxNSsWunwU
https://scribbler.live
MIT License
67 stars 7 forks source link

Auto-Save To IndexedDB #7

Closed gopi-suvanam closed 10 months ago

gopi-suvanam commented 1 year ago

Is your feature request related to a problem? Please describe. Currently if the tab is closed, notebook is lost.

Describe the solution you'd like Auto-save the notebook in the browser data so that it can be loaded if the browser/tab is closed/crashes. The features should include:

  1. A save button in file menu. With a check box for autosave.
  2. A pop (modal) up in file menu for seeing all local files. Once a file is clicked it should load in the tool.

Describe alternatives you've considered Alternatives could be auto-save to github. This can create unnecessary commits tot github. Or Auto download, this will have unnecessary popups for saving.

gopi-suvanam commented 10 months ago

Added local save and open functionality using Ctrl-S and Ctrl-O