Add OPDS catalogs with feed caching and persistent import tracking - #25
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket
User-requested OPDS catalog support and book-details refinements.
Summary
Readers can browse OPDS catalogs, search and paginate through feeds, choose a book format, and import books through the backend relay. Catalogs remain usable without signing in, and successful imports stay linked to their library books across restarts.
Testing
From
app/:flutter test --no-pub --reporter expanded: 1,371 passed, 19 skipped.dart format --output=none --set-exit-if-changed .: 431 files checked, no changes.flutter analyze --no-pub: no issues.node --test test/web/flutter_bootstrap_test.cjs: 4 passed.flutter build web --no-pub: passed.Regression coverage includes account isolation, stale async operations, cache invalidation, persistent ownership, route history, mobile tab pinning, and stable list/grid positions during refresh.
UI evidence
Reviewed generated screenshots from
test/opds/layout_test.dartfor mobile and desktop layouts, dark/light/e-ink themes, and enlarged text. Captures are generated locally underapp/build/catalog-review/and are not committed.Compatibility and migration
Requires the anonymous OPDS relay already on the server's default branch: PapyrusReader/server@bfc4fbc.
No database migration is required. Feed caching and import provenance are local and scoped to the active account/catalog. Existing library books without OPDS provenance are not matched by title or author.
Notes
Review
docs/opds-support.mdfor supported acquisition methods, relay behavior, caching, and ownership matching. Unsupported acquisition methods remain visible in the format sheet but cannot be imported on the current device.Checklist