feat: add session undo and redo
Continuous Integration / lint-and-test (push) Successful in 14s
Continuous Integration / docker-build-and-push (push) Successful in 34s

This commit is contained in:
Lucas Winther committed 2026-09-30 01:33:29 +02:00
1 parent d38584396b
commit 804f32c5fb
9 files changed
+411 -14

No files matched your search

@@ -0,0 +1,12 @@
# Session undo and redo implementation
1. Extend snapshot-store tests with changed and unchanged edits, undo/redo
ordering, a new edit after undo, the 50-step bound, queued writes, failed
writes, import/reset boundaries, and session reload behavior. Run them red.
2. Add history state and queued undo/redo operations in `snapshot.ts`. Ensure
history changes only after persistence commits. Run the store tests green.
3. Add header controls and keyboard handling with an interaction test for
disabled states, error display, and native editable shortcuts. Run it red,
implement, then run it green.
4. Update architecture and user-facing documentation. Run `bun test`,
`bunx tsc --noEmit`, build, and inspect desktop/mobile browser captures.