Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 1b2e79f550
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
There was a problem hiding this comment.
Pull request overview
This PR targets improved performance and robustness for large-library scenarios by slimming the library list payload, consolidating status evaluation into shared helpers, and normalizing download-client host/URL handling across adapters.
Changes:
- Slimmed
GET /libraryinto a lighter list response while keepingGET /library/{id}as the rich detail endpoint (per PR description). - Added shared helpers for consistent audiobook status evaluation and improved frontend store behavior to reduce redundant
/libraryfetches (per PR description). - Adjusted API project version metadata in the backend csproj.
You can also share your feedback on Copilot code review. Take the survey.
Small optimization release. I noticed that for users with larger libraries, the library page would take a long time to load. This was due to some redundant and unnecessary checks. Also the the api endpoint was returning a lot of data that was not needed for the page. Additionally I have added url resolution normalizations to download client host/ip:port connection strings so the connection tests are more robust.
Added
/libraryGET /library/librarypayload behaviorChanged
GET /libraryfrom a hybrid list/detail payload into a lighter list responseGET /library/{id}as the rich full-detail audiobook endpoint/libraryrequests into a single in-flight fetchFixed
/libraryresponses caused by per-audiobook filesystem existence checks during list loading/libraryrequests during startup and view initializationName or service not known (http:80)Removed
/librarylist pathfiles[]metadata in library list views for status calculation