Lutra/ui
danny e1dc24dc25 M3.10: autosave and flushDirty
Autosave saves dirty buffers when the window loses focus (DOM blur and
visibilitychange), when the active tab changes and after
editor.autosave.idleSeconds (default 15) without an edit; three settings,
all on by default. flushDirty() in ui/src/stores/autosave.ts is the one
save-all-dirty-and-wait entry point for later deployment, run and
terminal features: it waits for pending buffer sync, then runs
file.saveAll {skipConflicts: true}; one toast per failed file.

Engine: file.saveAll takes skipConflicts and returns skipped; Buffers
tracks buffers in conflict with their file and the hash of the last
read/written content, so our own save reported late is not a conflict.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 21:01:12 +02:00
..
src M3.10: autosave and flushDirty 2026-10-20 21:01:12 +02:00
tests M3.10: autosave and flushDirty 2026-10-20 21:01:12 +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 M2.2: PHP highlighting, syntax colour tokens and editor.reveal 2026-10-17 12:17:17 +02:00
pnpm-lock.yaml M2.2: PHP highlighting, syntax colour tokens and editor.reveal 2026-10-17 12:17:17 +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