Update docs vault and README for recent features
- New notes: History, Artwork - Rewrite TMDB Integration: single detail request, entry mapper, rate limiter, refresh sync, stale-entry refresh, recommendations - Update pages, routing, API reference, models, database migrations, services, components, hooks, API clients, settings, media system, library, Electron (Tauri in progress) and known issues - Rewrite README for the current React/Express stack and setup
This commit is contained in:
1 parent
06bf902ad3
commit
229ecef902
20 files changed
+479
-162
No files matched your search
+36
-27
@@ -30,6 +30,10 @@ Charts: `WatchActivityChart`, `WatchTimeChart`, `CouchDayChart`, `LibraryGrowthC
|
||||
|
||||
Entry grid showing all non-watchlist, non-hidden entries from [[Stores|library store]]. See [[Library]].
|
||||
|
||||
- Type tabs: **All / Movies / TV**
|
||||
- **Favorites** and **Hidden** are independent toggle buttons that combine with the type tab (e.g. TV + Favorites = favorite shows). Hidden mode shows only hidden entries (watchlist included).
|
||||
- Filter state lives in `useLibraryFiltersStore` (`favoritesOnly`, `hiddenOnly`)
|
||||
|
||||
## DiscoverPage
|
||||
|
||||
TMDB browse by category: popular, trending, top-rated, upcoming. Uses `useTmdb` infinite queries.
|
||||
@@ -69,16 +73,17 @@ Monthly [[Calendar]] view showing upcoming episode air dates. Uses `episodesApi.
|
||||
|
||||
## EntryDetailsPage
|
||||
|
||||
The main entry detail view. Width constrained to `max-w-4xl`.
|
||||
One page for both cases (`pages/EntryDetailsPage.tsx`):
|
||||
|
||||
Sections:
|
||||
- `/entry/:id` — a library entry, loaded from the local DB
|
||||
- `/entry/tmdb/:type/:tmdbId` — not in the library; renders the TMDB preview (`GET /entries/tmdb/preview/:type/:tmdbId` returns an `entry` object in the same shape as a library entry). Library-only actions are hidden and **Add to Library** replaces them. If the title is already in the library, the page redirects to `/entry/:id`.
|
||||
|
||||
- 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; shows episode count for TV; "All Cast & Crew" link → EntryCastsPage
|
||||
- Media gallery → [[Media System]]
|
||||
Layout (`max-w-6xl`):
|
||||
|
||||
- **Hero** — full-bleed backdrop fading into the page, large poster (click → full-size popup), type/certification/status chips, title (selectable), tagline, year · runtime/seasons · "Created by" (TV) · "Directed by"
|
||||
- **Action bar** — Watch (streaming), Trailer (in-app player from stored TMDB videos, YouTube search fallback), mark watched, rate, favorite, add to collection, ⋯ menu (watch history / status, hide, refresh, manage media, settings, delete)
|
||||
- **Main column** — Overview, Keywords, Cast ([[Components#Entry Components|CastList]]), Seasons ([[Components#Entry Components|SeasonsContainer]] with list/cards toggle), In Collections, More like this (live TMDB recommendations), [[Artwork]]
|
||||
- **Sidebar** — IMDb / TMDB (+ vote count) / your rating tiles, Details card (release, runtime, episodes, last aired, next episode, network logos, type, language, budget, box office, studio, country, watched), external links (TMDB, IMDb, website, Wikidata, Instagram, X, Facebook), **Where to watch** card (per-country providers, defaults to the browser's region)
|
||||
|
||||
## EntryCastsPage
|
||||
|
||||
@@ -95,26 +100,22 @@ Full cast & crew grid for an entry. Route: `/entry/:id/cast`. Width: `max-w-4xl`
|
||||
|
||||
## SeasonPage
|
||||
|
||||
Season detail with episode list. Width: `max-w-4xl`.
|
||||
Season detail (`max-w-6xl`), same visual language as the entry page.
|
||||
|
||||
- Breadcrumb: `Title / Season x` (see [[Navigation]])
|
||||
- Episode progress bar
|
||||
- **Mark Season Watched** button (always visible) → opens [[Components#Dialogs|MarkSeasonWatchedDialog]]
|
||||
- **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
|
||||
- **Hero** — show backdrop, season poster, "← Back to {show}" button, show and season chips, "Completed" badge, year · episodes · total runtime · air-date range
|
||||
- Rating chip (opens SeasonRatingDialog), TMDB rating, progress bar
|
||||
- **Start / Continue: E#** — plays the first aired, unwatched episode
|
||||
- Mark season watched → [[Components#Dialogs|MarkSeasonWatchedDialog]] (single date or scatter mode), rate, ⋯ (refresh season)
|
||||
- **Episodes** with a **List / Cards** toggle (remembered per browser): stills (click to play), air date, runtime, TMDB rating, seen dates, finale / mid-season / upcoming badges, mark-watched button
|
||||
|
||||
## EpisodePage
|
||||
|
||||
Episode detail with watch history. Width: `max-w-4xl`.
|
||||
Episode detail (`max-w-6xl`).
|
||||
|
||||
- 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
|
||||
- **Hero** — episode still as backdrop, show / season chips, `S##E##`, finale / upcoming / watched badges, title, air date · runtime · TMDB rating + votes
|
||||
- Actions: **Watch episode**, **Mark as watched / Watch again**, previous / next episode
|
||||
- Main column: overview with "Directed by" / "Written by" (stored episode crew), Guest Stars (stored, linked by TMDB id), watch history (edit / delete), previous / next cards
|
||||
- Sidebar: details card (aired, runtime, TMDB, production code, watched) and the season's episode list with the current one highlighted
|
||||
|
||||
## PeoplePage
|
||||
|
||||
@@ -122,15 +123,23 @@ Browse and search people (actors, directors). Both local DB and TMDB search.
|
||||
|
||||
## PersonDetailsPage
|
||||
|
||||
Person profile with biography, filmography. Uses lazy-fetch via [[Services#PeopleManager]].
|
||||
One page for both cases (`pages/PersonDetailsPage.tsx`):
|
||||
|
||||
## PersonTmdbRedirectPage
|
||||
- `/people/:id` — person in the local DB (favorite toggle; filmography from TMDB via the local id)
|
||||
- `/people/tmdb/:tmdbId` — not in the DB; everything from the TMDB preview, with **Add to Library**. If TMDB reports a local id, redirects to `/people/:id`.
|
||||
|
||||
Takes a TMDB person ID, fetches/creates the local person record, redirects to `PersonDetailsPage`.
|
||||
Both render one header (photo, name, department, born / died with age tooltip, place of birth, TMDB link, biography) and one filmography split into **In your library** and **Not in library**.
|
||||
|
||||
## HistoryPage
|
||||
|
||||
Watch history at `/history`. See [[History]].
|
||||
|
||||
- Year picker (only years with watches) and All / Movies / TV filter; tab, year and filter live in the URL (`?tab=&year=&type=`)
|
||||
- Tabs: **History** (by month and day), **Timeline** (latest → January, month dividers, stacked binge sessions), **Year in Review** (wrapped-style stats)
|
||||
|
||||
## SettingsPage
|
||||
|
||||
App configuration + maintenance. See [[Settings Page]].
|
||||
|
||||
- General settings (TMDB API key, backend port)
|
||||
- Cleanup section (orphan files, orphan media records)
|
||||
- Maintenance: **TMDB Refresh** (stale entries job), media cleanup, watch statuses, duplicate credits, missing directors, impossible seen dates
|
||||
Reference in new issue
Block a user