- Add `media_type=all` to request search, backed by TMDB `/search/multi` filtered to movies and series - Default the Requests page filter to All and refresh search results grid styling - Refine RequestPosterCard with status accent bar, richer fallback poster, and fluid grid layout
1.1 KiB
1.1 KiB
Request Search All Design
Goal
Request search should show movies and series together by default, while still allowing users and clients to filter to only movies or only series.
Behavior
/requests/searchacceptsmedia_type=alland treats a missingmedia_typethe same way.media_type=movieandmedia_type=serieskeep their current filtered behavior.- Mixed search returns only TMDB movie and TV results. People and other TMDB multi-search result types are excluded.
- Detail pages and request creation stay strict: they continue to accept only
movieorseries.
Architecture
- The TMDB client owns provider-specific mixed search by mapping
allto TMDB/search/multi. - The request service normalizes search media type separately from detail/create media type validation.
- The Requests page defaults its filter to
Alland sendsmedia_type=allfor submitted searches.
Verification
Commands assume the repository root is the cwd.
- Run focused Go tests for
internal/metadata/tmdbandinternal/requests. - Run frontend lint/type verification for the web code touched by the filter type change.