Lutra/crates/control/tests
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
..
events.rs M3.10: autosave and flushDirty 2026-10-20 21:01:12 +02:00
goto.rs M2.5: symbol index and go-to commands 2026-10-17 12:53:33 +02:00
recovery.rs M1.7: crash-recovery journal and restore dialog 2026-10-16 15:56:41 +02:00
search.rs M2.3: find in files backend 2026-10-16 22:04:28 +02:00
single_instance.rs M3.7: robust CLI test deadlines 2026-10-20 20:57:16 +02:00
syntax.rs M2.7: Structure tool window and syntax.outline 2026-10-17 17:04:12 +02:00
tcp.rs M1.3: engine workspace, file and buffer commands, event stream 2026-10-14 20:24:44 +02:00
theme.rs M1.10: light theme, live theme switching, editor tokens 2026-10-16 15:49:23 +02:00
toolchain.rs M3.1: PHP detection and pinned Phpactor download 2026-10-18 11:30:57 +02:00
ui_commands.rs M1.8: command palette, global keymap, UI commands 2026-10-16 16:59:43 +02:00