Files
Showy/docs-vault/Pages.md
T
Mohammed Abad ce01dc34fa feat(backend): fix credit duplicates, support multi-role TV credits, fix collection upload
- Fix credit dedup key to people_id + cast_type (scoped to entry_id)
- Detect aggregate_credits format via Array.isArray(c.roles) instead of is_tvseries flag
- Join multiple roles/jobs with "; " instead of taking only the first
- Add episode_count field to Credit model from total_episode_count
- Increase character and job columns to VARCHAR(500)
- Deselect existing collection posters/backdrops before inserting new upload
- Updated docs-vault
- Updated some agents files
2026-04-23 16:51:18 +01:00

3.1 KiB

title, tags
title tags
Pages
frontend
pages
react

Pages

All pages in react_frontend/src/pages/. Lazy-loaded via React.lazy(). See Routing for URL mapping.


HomePage

Browse trending and popular movies/TV shows from TMDB. Uses infinite scrolling via useTmdb hooks.

SearchPage

TMDB multi-search with debounced input. Results checked against Stores — local entries displayed if already in library.

DashboardPage

Statistics dashboard with 7 chart components. See Statistics.

Charts: WatchActivityChart, WatchTimeChart, CouchDayChart, LibraryGrowthChart, MediaTypeChart, TopGenresChart, RatingsChart

LibraryPage

Entry grid showing all non-watchlist, non-hidden entries from Stores. See Library.

DiscoverPage

TMDB browse by category: popular, trending, top-rated, upcoming. Uses useTmdb infinite queries.

Route: /discover/:category where category = popular-movies, trending-movies, popular-tv, etc.

WatchlistPage

Grid of entries where watchlist = true. Similar to LibraryPage.

CollectionsPage

Grid of all Collections. Both TMDB collections and user-created collections.

CollectionDetailsPage

Single collection with entry list, metadata, poster/backdrop. Edit/delete/refresh actions.

MediaPage

Browse and manage all media (images) across all entries.

CalendarPage

Monthly Calendar view showing upcoming episode air dates. Uses episodesApi.getByMonth().

EntryDetailsPage

The main entry detail view. Width constrained to max-w-4xl.

Sections:

  • Backdrop + poster + title + metadata
  • Actions: watchlist, favorite, refresh, settings, rating
  • Watch history (movies) → Watch Tracking
  • Seasons list (TV) → links to SeasonPage
  • Cast list → links to PersonDetailsPage
  • Media gallery → Media System

SeasonPage

Season detail with episode list. Width: max-w-4xl.

  • Breadcrumb: Title / Season x (see Navigation)
  • Episode progress bar
  • Mark Season Watched button (always visible) → opens Components#Dialogs
    • Single Date mode: marks all unwatched episodes on one date
    • Scatter Mode: distributes episodes evenly across a date range (start → end)
  • Episode list with watch status
  • Links to EpisodePage

EpisodePage

Episode detail with watch history. Width: max-w-4xl.

  • Breadcrumb: Title / Season x / Episode x (see Navigation)
  • Episode thumbnail (TMDB still)
  • S##E## display using season.season_number (not DB id)
  • Prev/next episode navigation
  • Watch history management
  • Cast list

PeoplePage

Browse and search people (actors, directors). Both local DB and TMDB search.

PersonDetailsPage

Person profile with biography, filmography. Uses lazy-fetch via Services#PeopleManager.

PersonTmdbRedirectPage

Takes a TMDB person ID, fetches/creates the local person record, redirects to PersonDetailsPage.

SettingsPage

App configuration + maintenance. See Settings Page.

  • General settings (TMDB API key, backend port)
  • Cleanup section (orphan files, orphan media records)