Skip to content

feat: land person detail (#32) + in-app recommendations (#33) on dev#38

Merged
miicolas merged 2 commits into
devfrom
land/person-and-recommendations
Jun 15, 2026
Merged

feat: land person detail (#32) + in-app recommendations (#33) on dev#38
miicolas merged 2 commits into
devfrom
land/person-and-recommendations

Conversation

@miicolas

Copy link
Copy Markdown
Owner

Lands #32 (person detail) and #33 (in-app media recommendations) onto dev.

Why this PR exists

The original PRs were stacked: #35 (#31) → #36 (#32) → #37 (#33). When all three were merged, only #35 landed on dev#36 merged into the #31 branch and #37 into the #32 branch, so #32 and #33 never reached dev. This PR cherry-picks those two commits cleanly on top of dev (which already has #31).

Contents

(The fix: lint commit from the old branch — only .turbo logs + app.json — was intentionally left out.)

⚠️ Migration

Run bun run db:migrate to create the media_recommendations table (migration 0015_giant_wong.sql).

Verification

bun run typecheck + bun run lint pass on this branch.

🤖 Generated with Claude Code

miicolas and others added 2 commits June 15, 2026 22:34
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>
Recommend a movie or show to people you follow, with an optional note.
Recipients get a push, find it in a dedicated "Received" inbox (with a
bell + badge in the profile header), and tap through to the title.

- db: new media_recommendations table (sender, recipient, media snapshot,
  message, readAt) + migration 0015
- api: new /media-recommendations module (send fan-out + per-recipient
  push, received inbox, mark-read, unread-count, recommendable-friends =
  people you follow, one-directional)
- push: media-recommendation.received type + deep-link to the inbox
- mobile: service handlers, query-key factory, send/received/unread hooks
- mobile: send sheet (multi-select friends + optional message) opened from
  a media-detail header button; "Received" inbox marks entries read on
  view and opens the title; profile header bell + badge
- i18n: recommend.* (EN/FR)
- whats-new: "Recommend to Friends" release

Run `bun run db:migrate` to apply the new table.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@miicolas miicolas merged commit a82232e into dev Jun 15, 2026
1 check passed
@miicolas miicolas deleted the land/person-and-recommendations branch June 15, 2026 20:35
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