Skip to content

Version History #58

@Niya2201

Description

@Niya2201

Is your feature request related to a problem? Please describe.

Currently, when a note is edited in NoteStack, the previous content is permanently overwritten. There is no way to view or restore earlier versions of a note.

This can lead to accidental data loss if a user mistakenly edits or deletes important content. Users have no way to track changes over time or revert to a previous state.

Describe the solution you'd like

I would like to implement a Note Revision Tracking System with Restore Capability.

The feature should:

Automatically store the previous version of a note whenever it is edited.

Maintain a timestamped revision history for each note.

Provide a “View History” option in the note card.

Display a list of previous versions (with date and time).

Allow users to restore any previous version.

Ensure the restored version becomes the current active version without data loss.

Optionally limit stored revisions (e.g., last 10 versions) for performance optimization.

This will enhance data safety and provide a professional note management experience similar to modern productivity applications.

Describe alternatives you've considered

Simply adding an "Undo" button — but this only works temporarily and does not persist across sessions.

Auto-save drafts — but this does not maintain historical versions.

Manual copy-paste backup by users — not practical or user-friendly.

A structured revision history system is more robust and reliable.

Additional context

This feature requires:

Updating the note data structure to store version history.

Modifying edit logic to push previous content into a versions array.

Designing a UI component (modal or expandable section) for viewing revision history.

Implementing a restore mechanism that updates the current note state correctly.

This enhancement improves data integrity, usability, and brings the application closer to professional-grade note management tools.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions