Skip to content

feat: Episode Details Cast & Crew dynamic TMDB image loading#525

Merged
akitikkx merged 5 commits intomainfrom
release/2026.3.15
Mar 14, 2026
Merged

feat: Episode Details Cast & Crew dynamic TMDB image loading#525
akitikkx merged 5 commits intomainfrom
release/2026.3.15

Conversation

@akitikkx
Copy link
Owner

@akitikkx akitikkx commented Mar 14, 2026

This PR finishes the Episode Details screen enhancements by resolving the missing actor portraits. It securely queries the TMDB person/{person_id}/images endpoint, maps the nested image paths into the domain models (TraktCast and TraktCrew), and leverages Coil SubcomposeAsyncImage components to render beautiful avatars!

Key Changes

  • TMDb Cast/Crew Images: Added dynamic image lookup using the TMDb API. Parses tmdbId natively out of the fundamental Trakt core JSON responses (network/models/trakt/NetworkTraktEpisodePeopleResponse.kt).
  • Domain Expansion: Expanded TraktCast and TraktCrew structures to expose the tmdbId natively throughout the application without executing complex database migrations.
  • UI/UX Stability: Embedded safe failure cases via SubcomposeAsyncImage block structures within EpisodeDetailScreen.kt, natively transitioning back to a Material Icon if an actor's TMDB portrait doesn't exist. Let's make it look pristine!

Testing Instructions

  • Navigate into a Show detail screen.
  • Select an episode airing (or recently aired).
  • Scroll down to the "Guest Stars" and "Crew" rows to observe the dynamic images loading securely over the network.
  • Test across edge cases where guest actors have empty portraits.

@akitikkx akitikkx self-assigned this Mar 14, 2026
@akitikkx akitikkx added the enhancement New feature or request label Mar 14, 2026
@akitikkx akitikkx force-pushed the release/2026.3.15 branch from dc69190 to 48935c1 Compare March 14, 2026 09:02
@akitikkx akitikkx changed the title chore: Configure Production Promotion via Fastlane & Github Actions feat: Episode Details Cast & Crew dynamic TMDB image loading Mar 14, 2026
@akitikkx akitikkx merged commit a2ffcf3 into main Mar 14, 2026
2 checks passed
@akitikkx akitikkx deleted the release/2026.3.15 branch March 14, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant