Commit Graph
12 Commits
Author SHA1 Message Date
pj 14eb3c4427 fix(persist): flush pending save on navigate-away and quit
Edits are saved on an 800ms debounce, so leaving a book within that
window lost the latest changes. Flush a dirty book before openBook /
closeBook swap state (covers All books, open-another, Cmd+N), and add a
window close-request handler that saves before destroying on quit.

Claude-Session: https://claude.ai/code/session_01RzTWrLiy4zGuw2hZSQGamk
2026-06-22 13:16:33 -04:00
pj 7cc36e3e40 changes 2026-06-22 09:56:20 -04:00
pj 0e0d334f6a changes 2026-06-20 23:46:10 -04:00
pj 1d600ccc33 feat(menu): handle native menu actions in the app 2026-06-20 15:13:12 -04:00
pj 686c7768c7 refactor(app): route between library and editor with autosave 2026-06-20 15:09:13 -04:00
pj 5e1582fc39 feat(ui): guard desktop-only actions with a clear browser-preview message 2026-06-20 14:30:07 -04:00
pj cb506af374 feat(ui): surface save and export errors as toasts; add webkit backdrop-filter 2026-06-20 13:29:52 -04:00
pj 0beac0c240 feat(ui): titlebar export menu and book-setup access 2026-06-20 13:02:30 -04:00
pj aedf8b8a63 feat(io): save and open .margin projects with cmd-s and cmd-o 2026-06-20 12:54:01 -04:00
pj 6dc1aeb99b feat(editor): add floating formatting toolbar 2026-06-20 12:46:18 -04:00
pj 29c412849e feat(ui): connect shell to store with live preview dock 2026-06-20 12:28:44 -04:00
pj dc88bf169f feat(ui): build app shell with chapters, editor and preview dock 2026-06-20 12:21:22 -04:00