feat: add auto-save draft support for form editor#75
Open
KumarManglam-123 wants to merge 3 commits intoAmansingh0807:masterfrom
Open
feat: add auto-save draft support for form editor#75KumarManglam-123 wants to merge 3 commits intoAmansingh0807:masterfrom
KumarManglam-123 wants to merge 3 commits intoAmansingh0807:masterfrom
Conversation
Contributor
|
@KumarManglam-123 is attempting to deploy a commit to the Aman Singh's projects Team on Vercel. A member of the Team first needs to authorize it. |
✅ PR Checklist CompleteGreat job @KumarManglam-123! Your PR follows all the guidelines. A maintainer will review it soon. Thank you for your contribution! 🙏 |
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Remove clerk configuration from .gitignore
Author
|
Auto-save draft feature implemented and tested locally. Please review. Thanks! |
Amansingh0807
requested changes
Jan 31, 2026
Owner
Amansingh0807
left a comment
There was a problem hiding this comment.
We actually don't need the changes in package-lock.json and package.json file. Otherwise it looks good to me.
Author
|
Hi @Amansingh0807, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds an auto-save draft feature to the form editor to prevent data loss during form creation or editing.
The implementation automatically saves form state to localStorage on field changes and restores the last saved draft when the editor is reopened. This improves reliability and user experience for long or complex forms.
Related Issue
Resolves #47
Type of Change
Checklist
AI Disclosure
If yes:
Testing
Environment:
Additional Notes
Draft saving uses browser localStorage and does not affect backend APIs.