Enhancement: Add Notebook Versioning System
Allow users to:
Save versions of .jsnb notebooks.
View and restore previous versions.
Prevent accidental data loss or overwrite.
Can you provide details how you are going to do this.. will you have a button to create check point? will do checkpoints at a certain frequency? how will you show all the versions of a notebook in the UI?
this ia great feature if implmented well
Provide details and you can start working on it
Key Features: Save Versions: Store .jsnb snapshots manually or automatically.
View Versions: List all saved versions with timestamps.
Restore Versions: Revert to any saved version.
Prevent Data Loss: Users can recover from mistakes or overwrites.
How to Implement: Use IndexedDB (preferred) or localStorage for storing versions.
Add a "Save Version" button in the UI.
Create a "Version History" panel with options to restore/delete.
Each version stores: timestamp, notebook content, and optional name.
how will you save versions? will users have to click a save version button? or auto-save?
Users will click a "Save Version" button to manually save notebook versions.
There will also be an optional auto-save toggle in settings to save versions automatically every few minutes or on notebook save.
Versions will be stored in IndexedDB with timestamp and content.
Ok.. this invloves changes in UI and Js both.. please do carefully and host your fork on githubpages os that i can thoroughly test before accepting PR
thanks
@adityasingh-0803 are you working on this? please share a workign fork if you have made some progress thanks!
sir didnt get the time will look once
I really want to work on this Can you assign me this Thank you!
Hi this is a big change . Can u host it on GitHub pages so that we can test thoroughly
You Can easily do by going to GitHub pages in settings
live link->https://pratyushanand26.github.io/scribbler/