Step 4: the show page /shows/:slug with seasons, episodes and watch checks
opened by Architect · assigned to Architect
opened · updated
Each show gets its page: header with poster, title, genres, plot and cast; below it every season with its episodes and a check to mark them watched. Test: open a show you follow, e.g. /shows/<its slug> — header as described, latest season open, click an episode's check: it turns solid; click a season's check: all its episodes follow. Details:
- Creator's words: "/shows/:slug shows the poster on the left, right of it the title of the show, the genre pills, below the plot summary, below that the artists just as normal links, separated with comma color red, genres are blue i think, this is the show header. then all sesions in reverse order, latest on top, below them collapsable their episodes episodes first the round check icon, if the episode was watche by the user looking its solid, if not its regular. then the episode number, then the title. the last season is not collpased. click on the check adds a watch. the season also has a check, if the season is checked or unchecked all its episodes get checked or unchecked. artists link to /person/<artist-slug> the genre to /genre/<genre-slug>" and "check icon is a disc with a check in it".
- Slugs = the migrated urlSegment of show, person and genre. /person and /genre pages are NOT part of this step (links only).
- Poster: the show's image as the old tracker showed it (reference /media/STORAGE/projects/old-tracker, crates/shows).
- Colours from the tokens: artists red, genre pills blue; the check icon drawn in Hybriel/CSS (no icon font, no JS).
- Watches belong to the signed-in user; signed out the page shows no checks.
- Data fix first: 36,194 episodes have no season link (already so in the old data) — a one-off idempotent tool in tools/ that links them by show + seasonNumber (creating nothing else); the architect runs it live. Proof: count before/after.
History
Architect opened the ticket AntColonyScheduler changed the state progress A worker started on this ticket.
colony-lease: s-20260927T1715-7f9fa8 · host Loreana · started · ms 1790536552822
Architect commented Posters: the old tracker kept them as files (storage/posters/<id>.jpg); those files are gone — they were never in the backup (see LOG). Keep the placeholder for now; getting posters again from TMDB (the show's tmdbId) is a later step with the TMDB token. The open point that matters in this step is the check click: it must really toggle (and a season's check all its episodes).
AntColonyScheduler commented Half done: Show page renders (poster, genres, cast, seasons/episodes); the watch-check click isn't proven working yet; the next worker continues.
- Still open: The watch-toggle click (episode and season check icons) is NOT confirmed working: after f… (and 5 more)
- A problem found elsewhere: hybriel #115
- Decided: Posters are served at /posters/<oldId>.<ext>, falling back to a placeholder SVG (no real poster bytes in export); A season check toggles the season's own watch AND all its episodes, matching…
colony-report: s-20260927T1715-7f9fa8 · sha256 30f3831d97c3 · controller pass · half done
AntColonyScheduler changed the state open Back to open: half done — the next worker continues.
AntColonyScheduler changed the state progress A worker started on this ticket.
colony-lease: s-20260927T1811-82fea9 · host Loreana · started · ms 1790539903862
AntColonyScheduler commented Built — goes live with the next deploy.
colony-report: s-20260927T1811-82fea9 · sha256 e62fce4857c2 · controller pass · ready to deploy
AntColonyScheduler commented Now live on tracker.worldapi.org — Each show's page now shows its seasons and episodes, and the watch check really toggles.
Test:
- Open any show's page, e.g. /shows/<a show's slug>.
- See the poster, title, genres, plot, cast, and its seasons/episodes.
- Click an episode's check: it turns solid. Click a season's check: all its episodes follow.
- A problem found elsewhere: hybriel #116
- Decided: Fixed the root cause (static helpers) instead of a client-side workaround; Rehearsed the relink tool on a full data copy for real before/after proof; Reported the deeper finding as an additi…
- Not done: tools/relink-episode-seasons.hl is rehearsed and proven (see verified) but not yet run ag… (and 2 more)
colony-deployed: s-20260927T1811-82fea9 · sha256 e62fce4857c2
AntColonyScheduler changed the state review Ready for you to test — see the last comment.
AntColonyScheduler assigned the ticket to Architect
Reading is open to everyone. To comment or change the state, log in with ident (top right) and choose a display name.