Skip to content

fix(library): update availability after reader download - #307

Merged
yicheng47 merged 1 commit into
mainfrom
fix/book-availability-event-305
Aug 9, 2026
Merged

fix(library): update availability after reader download#307
yicheng47 merged 1 commit into
mainfrom
fix/book-availability-event-305

Conversation

@yicheng47

Copy link
Copy Markdown
Owner

Summary

  • notify the main webview when the reader finishes materializing an evicted book
  • patch only the matching library book availability without a full list refresh
  • cover the in-place hook update and unchanged-book identity behavior with a regression test

Test plan

  • npx tsc --noEmit
  • pnpm test
  • pnpm build
  • pnpm run lint

Fixes #305

@yicheng47
yicheng47 merged commit dd43d30 into main Aug 9, 2026
2 checks passed
@yicheng47
yicheng47 deleted the fix/book-availability-event-305 branch August 9, 2026 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: library card keeps iCloud download overlay after the book is downloaded via the reader

1 participant