Grilling: autosave cadence & triggers #64

Closed
opened 2026-10-03 15:03:58 +02:00 by AlexKucera · 1 comment
Owner

Part of #19

Question

When does disk get written? Keystroke-debounce length, flush on selection change / window close / app quit, ⌘S semantics — and the draft trap: #62 made ⌘S the first-write trigger so stray New Post clicks don't litter posts/ with untitled folders.

[Generated by AI]

Part of #19 ## Question When does disk get written? Keystroke-debounce length, flush on selection change / window close / app quit, ⌘S semantics — and the draft trap: #62 made ⌘S the first-write trigger so stray New Post clicks don't litter posts/ with untitled folders. [Generated by AI]
AlexKucera added the wayfinder:grilling label 2026-10-03 15:03:58 +02:00
Author
Owner

Resolved (Alexander, Q2): ~1 s idle-after-keystroke debounce writes the body; flush also on selection change, window close, app quit; ⌘S stays as immediate manual flush. Drafts (no folder yet) are exempt — first write remains explicit ⌘S, preserving #62's lazy-folder rule (stray New Post clicks never litter posts/). No feedback loop with the watcher: FSEvents already coalesces within its 0.5 s window (#61).

[Generated by AI]

Resolved (Alexander, Q2): ~1 s idle-after-keystroke debounce writes the body; flush also on selection change, window close, app quit; ⌘S stays as immediate manual flush. **Drafts (no folder yet) are exempt** — first write remains explicit ⌘S, preserving #62's lazy-folder rule (stray New Post clicks never litter posts/). No feedback loop with the watcher: FSEvents already coalesces within its 0.5 s window (#61). [Generated by AI]
Sign in to join this conversation.