Skip to content

feat(mobile): person detail screen with tappable cast (#32)#36

Merged
miicolas merged 1 commit into
feat/media-detail-recommendationsfrom
feat/person-detail
Jun 15, 2026
Merged

feat(mobile): person detail screen with tappable cast (#32)#36
miicolas merged 1 commit into
feat/media-detail-recommendationsfrom
feat/person-detail

Conversation

@miicolas

Copy link
Copy Markdown
Owner

Closes #32. Part of epic #34.

Stacked on #35 (#31). Base is feat/media-detail-recommendations; review/merge that first (GitHub will retarget this to dev once it merges).

What

Cast members become tappable. Tapping one opens a person page with photo, bio, and a filmography split into Acting and Directing & Crew. Filmography titles open their media detail — all within the current tab's back stack.

Changes

  • API: GET /tmdb/person/:personId (person + combined_credits in one call). New pure to-person-detail mapper: movie/tv only, normalized via the shared normalizeSummary, poster-filtered, de-duplicated by media_type:id, sorted by popularity then recency. Static person segment is matched ahead of /:mediaType/:tmdbId.
  • Mobile data: lib/tmdb/person.ts, tmdbKeys.person, usePersonDetail.
  • Routing: personDetailHref(personId, name, base) + thin person/[id] route in all four tab stacks (search, watchlist, profile, insights); useMediaRouteBase now also resolves insights.
  • Screen: PersonDetail — parallax photo header, reused expandable bio (OverviewSection now takes an optional title), two filmography shelves (Shelf + PosterCard).
  • Cast: avatars wrapped in a navigable trigger firing hapticTap; base threaded from media & episode detail.
  • i18n: person.* (EN/FR). What's New: "Cast & Crew Pages".

Verification

  • bun run typecheck, bun run lint, bun run format:check pass.
  • Manual (iOS sim): tap a cast member → person page (photo, bio, both sections); tap a filmography title → opens in the same tab; repeat from another tab to confirm per-tab back navigation.

🤖 Generated with Claude Code

Make cast members tappable: tapping one opens a person page showing their
photo, bio, and filmography split into Acting and Directing/Crew. Titles
in the filmography open their media detail, all within the current tab.

- api: GET /tmdb/person/:personId (person + combined_credits), new
  to-person-detail mapper (movie/tv only, poster-filtered, de-duplicated,
  sorted by popularity/recency, normalized to the shared summary shape)
- mobile: lib wrapper, tmdbKeys.person, usePersonDetail hook
- mobile: personDetailHref + person/[id] routes in all four tab stacks;
  useMediaRouteBase now also resolves the insights tab
- mobile: PersonDetail screen (parallax photo header, reused expandable
  bio, two filmography shelves), cast avatars navigate with a tap haptic
- i18n: person.biography/acting/crew (EN/FR)
- whats-new: "Cast & Crew Pages" release

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@miicolas miicolas merged commit 9de67fe into feat/media-detail-recommendations Jun 15, 2026
1 check passed
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.

1 participant