Commit Graph
8 Commits
Author SHA1 Message Date
pj 4e5ea6d855 fix(ui): handle library-open errors
Opening a book card swallowed failures: a corrupt or unreadable file
failed silently and normalizeBook could throw on a missing chapters
array. Surface load errors as a toast, throw a clear message on
unparseable JSON, and make normalizeBook tolerant of missing chapters,
metadata and settings.

Claude-Session: https://claude.ai/code/session_01RzTWrLiy4zGuw2hZSQGamk
2026-06-22 13:29:29 -04:00
pj 6e2ca9c4bc fix(persist): persist new books on create
A freshly created book lived only in memory until the first edit, so
quitting beforehand lost it and it never appeared in the library. Save
it to disk on creation via a shared createAndOpenBook used by both the
Library card and the New Book menu action.

Claude-Session: https://claude.ai/code/session_01RzTWrLiy4zGuw2hZSQGamk
2026-06-22 13:17:50 -04:00
pj c86d5a7d5c changes 2026-06-20 19:48:18 -04:00
pj 8b9a7081f7 feat(library): open example as a saved copy, hide it once a book exists 2026-06-20 18:53:36 -04:00
pj 79f3483b8e feat(epub): add Import EPUB entry to the home library 2026-06-20 18:41:13 -04:00
pj 847e912d05 refactor(library): remove brand logo and wordmark from home 2026-06-20 18:33:43 -04:00
pj 40d4c9f279 feat(library): show themed logo mark in the banner 2026-06-20 18:20:22 -04:00
pj cd43f9c513 feat(library): book organizer home screen 2026-06-20 15:09:13 -04:00