Skip to content

feat: tap a card to expand it — full overview, director/creator & cast - #32

Merged
valeboth merged 1 commit into
mainfrom
feat/card-details
Aug 26, 2026
Merged

feat: tap a card to expand it — full overview, director/creator & cast#32
valeboth merged 1 commit into
mainfrom
feat/card-details

Conversation

@valeboth

Copy link
Copy Markdown
Owner

Ce face

Un tap pe cardul de swipe (sau pe butonul ⓘ Details) deschide o vedere extinsă, imersivă a titlului:

  • Poster mare (hero)
  • Tagline, an · durată (sau ~min/episod + nr. sezoane la seriale) · genuri
  • Rating-uri IMDb / 🍅 Rotten Tomatoes / Metacritic
  • Regizor (filme) sau Creator (seriale)
  • Descrierea completă
  • Distribuția (top ~12) cu poze și rol

Scrolezi prin detalii, apoi închizi ( sau tap în afară) și continui swipe-ul de unde ai rămas — cardul nu e consumat.

Cum

  • Tap vs. swipe: distins printr-un prag de mișcare (>8px = drag), deci gesturile de swipe rămân neatinse.
  • Backend: getTitleDetails() — o singură cerere TMDb cache-uită cu append_to_response=credits — expusă prin GET /api/rooms/:id/details/:tmdbId.

Verificat local: typecheck, lint, 4 teste, build — toate verzi.

Tapping the swipe card (or the ⓘ Details button) opens an immersive expanded
view: large poster, tagline, runtime/seasons/genres, IMDb/RT/MC ratings, the
director (movies) or creator (TV), the full synopsis and the top-billed cast
with photos. Scroll through it, then close (✕ or tap outside) and keep swiping.

Taps are distinguished from swipe drags by movement threshold, so gestures are
unaffected. Backend adds getTitleDetails() (one cached TMDb call with
append_to_response=credits) + GET /api/rooms/:id/details/:tmdbId.
@valeboth
valeboth merged commit e47f463 into main Aug 26, 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