Lutra/ui
danny 0b40eb90f8 M1.7: crash-recovery journal and restore dialog
Dirty buffers are written atomically to <data_dir>/recovery/<project-id>/
about 1 s after the last edit (at most 2 s while typing), from pump_vfs,
never per keystroke. Entries are removed on save, close (also force),
forced project close/open and recovery.discard. project.open emits
recoveryAvailable; recovery.list/restore/discard; restored buffers are
dirty and keep line ending and BOM. Corrupt entries are moved aside and
reported as warning notifications.

UI: restore dialog in ui/src/components/recovery (Restore all, Restore
selected, Discard, time, changed-on-disk hint), catalog keys and runtime
allow-list. Tests: crash/restore with CRLF + BOM, corrupt entries, removal
paths, property test of random edits, headless control-channel test,
Vitest for the dialog. Docs: architecture, parity, gaps, ROADMAP.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-16 15:56:41 +02:00
..
src M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
tests M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
eslint.config.js M1.11: English message catalog for every UI string 2026-10-16 06:39:42 +02:00
index.html M0.4: frontend with Vue 3, Pinia, ESLint, vue-tsc and Vitest 2026-10-14 06:37:41 +02:00
package.json M1.6: tabs and CodeMirror editor 2026-10-15 18:26:32 +02:00
pnpm-lock.yaml M1.6: tabs and CodeMirror editor 2026-10-15 18:26:32 +02:00
tsconfig.json M0.4: frontend with Vue 3, Pinia, ESLint, vue-tsc and Vitest 2026-10-14 06:37:41 +02:00
vite.config.ts M0.4: frontend with Vue 3, Pinia, ESLint, vue-tsc and Vitest 2026-10-14 06:37:41 +02:00