Skip to content

fix(mobile): remove deleted books from Recently Read - #63

Merged
RyouMon merged 2 commits into
mainfrom
codex/issue-57-recent-reading-delete
Aug 18, 2026
Merged

fix(mobile): remove deleted books from Recently Read#63
RyouMon merged 2 commits into
mainfrom
codex/issue-57-recent-reading-delete

Conversation

@RyouMon

@RyouMon RyouMon commented Aug 17, 2026

Copy link
Copy Markdown
Owner

What

  • Cancel and filter cached queries for both the full book list and Recently Read during deletion.
  • Invalidate both query families after the native deletion succeeds.
  • Add unit and end-to-end regression coverage for removing a genuinely read book.

Why

Deleting a book removed its main library card but could leave a stale card in Recently Read.

Closes #57

Verification

  • pnpm --config.verify-deps-before-run=false --filter my-reader-mobile exec jest --runInBand (148 suites, 969 tests)
  • iPad simulator E2E proved the CBZ appeared in Recently Read before deletion, disappeared immediately after deletion, and stayed absent after restart.

@RyouMon
RyouMon marked this pull request as ready for review August 18, 2026 12:12
@RyouMon
RyouMon merged commit b94ca22 into main Aug 18, 2026
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.

移动端删除书籍后,书记没有正确从最近阅读中移除

1 participant