Skip to content

feature: add undo history support for reset and template actions#220

Open
karthikeyakakarlapudi2007 wants to merge 1 commit into
Mohit-368:mainfrom
karthikeyakakarlapudi2007:feature/undo-history
Open

feature: add undo history support for reset and template actions#220
karthikeyakakarlapudi2007 wants to merge 1 commit into
Mohit-368:mainfrom
karthikeyakakarlapudi2007:feature/undo-history

Conversation

@karthikeyakakarlapudi2007

Copy link
Copy Markdown

What I worked on

Implemented an undo feature to help users recover their previous data after applying a template or using the reset option.

Changes made

  • Added undo history support using a history stack
  • Added Ctrl + Z shortcut for undo
  • Saved previous form state before:
    • applying templates
    • resetting all fields
  • Restored the previous data safely without affecting normal typing

Why this improvement

Currently, users can lose all their entered content if they accidentally apply a template or click reset. This change adds a simple recovery mechanism and improves the overall editing experience.

Testing done

  • Tested undo after applying different templates
  • Tested undo after resetting all fields
  • Verified the app works normally without errors

@netlify

netlify Bot commented Jun 9, 2026

Copy link
Copy Markdown

Deploy Preview for makeareadme ready!

Name Link
🔨 Latest commit a5e77e5
🔍 Latest deploy log https://app.netlify.com/projects/makeareadme/deploys/6a27b227a4103300084c42cb
😎 Deploy Preview https://deploy-preview-220--makeareadme.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@karthikeyakakarlapudi2007

Copy link
Copy Markdown
Author

Hi, I’ve completed the implementation and tested the undo functionality for both template application and reset actions. Please let me know if any changes or improvements are needed. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant