Skip to content

fix(library): preserve grid during background refreshes - #306

Merged
yicheng47 merged 1 commit into
mainfrom
fix/304-library-refresh
Aug 9, 2026
Merged

fix(library): preserve grid during background refreshes#306
yicheng47 merged 1 commit into
mainfrom
fix/304-library-refresh

Conversation

@yicheng47

Copy link
Copy Markdown
Owner

Summary

  • keep the library grid mounted during sync, MCP, cover, import, and book-mutation refreshes while preserving every loaded page
  • move sync-progress state into Sidebar and memoize BookGrid with a stable change callback
  • add hook regression coverage for foreground loading, silent replacement, and multi-page window preservation

Fixes #304

Test plan

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

@yicheng47
yicheng47 merged commit 8c8264b into main Aug 9, 2026
2 checks passed
@yicheng47
yicheng47 deleted the fix/304-library-refresh branch August 9, 2026 08:02
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 grid flashes and scroll resets on every sync-triggered refresh

1 participant