Repository navigation
Closed
Labels
area: operationsCopy/move/delete/rename engine, queue, historymoscow: shouldMoSCoW: important, planned for 1.0 if time allowstype: featureNew capability
Milestone
Description
Summary
Undo/redo for operations that can be reversed reliably (rename, move, copy, Recycle Bin delete).
Motivation
Mistakes with a controller happen; a real undo increases confidence.
Requirements
- Only offered when a documented, tested inverse exists (e.g. rename back, move back, restore from Recycle Bin, delete a copy we created).
- Refuses to undo if the file system changed since (target exists, source missing) and explains why.
- Never offers a generic undo for permanent deletes or overwrites.
Controller UX
Menu → Undo / Redo, and an action in the operation result dialog.
Technical Notes
Built on operation history entries with enough metadata to invert.
Acceptance Criteria
- Undo of a rename restores the previous name.
- Undo is refused with a reason when the state changed.
Testing
Unit tests for new branches and for every bug reproduced before a fix (no trivial variations, see AGENTS.md).
Dependencies
- Depends on feat: add operation history #20 — feat: add operation history
- Depends on feat: rename files and folders with extension-preserving selection #11 — feat: rename files and folders with extension-preserving selection
- Depends on feat: delete to the Windows Recycle Bin with explicit permanent-delete fallback #12 — feat: delete to the Windows Recycle Bin with explicit permanent-delete fallback
- Depends on feat: copy files and folders #13 — feat: copy files and folders
- Depends on feat: move files and folders (same-volume rename, cross-volume copy then delete) #14 — feat: move files and folders (same-volume rename, cross-volume copy then delete)
Priority: medium · Milestone: 1 · Core File Operations
Metadata
Metadata
Assignees
Labels
area: operationsCopy/move/delete/rename engine, queue, historymoscow: shouldMoSCoW: important, planned for 1.0 if time allowstype: featureNew capability
Activity