Repository navigation
feat: undo/redo and project recovery with versioned project files - #1822
Conversation
- One immutable EditState (recipe minus the sound preference, plus image overlay settings) in a bounded history: 100 steps, no duplicates, slider drags and typing coalesced into one step. - Undo/redo buttons and Cmd/Ctrl+Z, Shift+Cmd+Z, Ctrl+Y; left to the browser inside text fields; disabled during export. - Project record (edits + source description, no media) saved locally and flushed on pagehide; missing-source recovery that resumes when the same file is chosen again. - Save/open .reframe.json with strict validation and a migration table. - "Delete saved data" removes everything the editor stored. - Reset settings is now undoable and no longer deletes saved data. - Fix two pre-existing test failures on main (duplicate imports in exportEstimate.test.ts, URL state leaking between hook tests). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
✅ Deploy Preview for reframe-os ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
👋 Thanks for your PR, @magic-peach!Welcome to Reframe — a browser-based video editor built for everyone 🎬
What happens next
Quick checklist
Useful links
Happy coding! 🎉 |
Code Review: Undo/Redo & Project Recovery ArchitectureThanks for this comprehensive PR! The architecture in I noticed a minor validation gap between
Aside from this, the test coverage and documentation are thorough! |
|
Claude encountered an error —— View job I'll analyze this and get back to you. |
Description
Related Issue
Type of Contribution
Participant Info
Screen Recording
Recording / Loom link: ## Checklist
bun run lintpasses (no ESLint errors)bunx tsc --noEmitpasses (no TypeScript errors)aria-label/ accessible namesconsole.logstatements left in