Repository navigation
fix(search): show scoped people results with exact matches first - #1302
Conversation
There was a problem hiding this comment.
Quick104 has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.
|
Warning Review limit reachedNext included review available in 7 minutes. View limit detailsLimit details: You’ve used all 2 included reviews currently available. You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Review configuration: ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (27)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 7399c89b76
ℹ️ 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.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 122dfc1dcf
ℹ️ 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".
Problem
Related issue: #1294
Fixes #1294
Web search did not offer actor or director results. Alphabetical people search could also rank a combined credit ahead of an exact person name, and converting person IDs to numbers could open the wrong page.
Approach
Add a People row using the existing search hook and carousel. Keep person IDs as strings through navigation. V2 people search ranks exact names first and filters by media scope and viewer access before applying the limit. Scope forms part of the Web cache key. The catalog search capability advertises support, and Web checks it before every people request, including All. Episode credits inherit library visibility and rating limits from their parent series. Update the API documentation and generated contracts.
Validation
TestAdminResourceCapabilitiesAndScopefailure, reproduced against the original source.TestResolveViewerScopeParityalso timed out under concurrent checks and passed on a standalone rerun.Risks
Web hides people results in every scope when the server does not advertise support. V1 retains its existing alphabetical, unscoped search. No migration is required. Combined audiobook credits stored as one person remain a separate ingestion issue. Finding credited titles from an actor/director name is tracked separately in #1303.
Apple has no current people-search consumer. Android's existing unscoped cast lookup receives the improved ranking. Jellycompat uses its own video visibility and exact-name paths; no client or compatibility changes are required.
Checklist
AI Disclosure