Lutra/crates/engine/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
..
goto.rs M2.6: go-to popup for files, classes and symbols 2026-10-17 17:35:50 +02:00
recovery.rs M1.15: one modal at a time, restore dialog follows outside restores 2026-10-16 21:49:38 +02:00
search.rs M2.3: find in files backend 2026-10-16 22:04:28 +02:00
settings.rs M3.10: autosave and flushDirty 2026-10-20 21:01:12 +02:00
syntax.proptest-regressions M2.7: Structure tool window and syntax.outline 2026-10-17 17:04:12 +02:00
syntax.rs M2.7: Structure tool window and syntax.outline 2026-10-17 17:04:12 +02:00
theme.rs M1.10: light theme, live theme switching, editor tokens 2026-10-16 15:49:23 +02:00
ui_commands.rs M1.8: command palette, global keymap, UI commands 2026-10-16 16:59:43 +02:00
workspace.rs M3.10: autosave and flushDirty 2026-10-20 21:01:12 +02:00