Description
Currently, when users perform actions like clearing the resume or uploading a new file, the previous state is lost without an option to revert. Adding an Undo feature will help prevent accidental data loss and improve usability, especially during editing or testing.
Proposed Solution
Add an Undo button (icon or text) near the main controls (e.g., toolbar or preview section).
Store the previous state (before the clear/upload action) temporarily in state management (React state, context, or Redux).
When the user clicks Undo, restore the last known state (previous resume, text, or data).
Optionally, show a small toast notification or message like “Last action undone” for confirmation.
For future enhancement: allow multiple undo levels (history stack).
Description
Currently, when users perform actions like clearing the resume or uploading a new file, the previous state is lost without an option to revert. Adding an Undo feature will help prevent accidental data loss and improve usability, especially during editing or testing.
Proposed Solution
Add an Undo button (icon or text) near the main controls (e.g., toolbar or preview section).
Store the previous state (before the clear/upload action) temporarily in state management (React state, context, or Redux).
When the user clicks Undo, restore the last known state (previous resume, text, or data).
Optionally, show a small toast notification or message like “Last action undone” for confirmation.
For future enhancement: allow multiple undo levels (history stack).