gitoriaLog in with ident

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit1704ec451704ec45tracker#17 (mission 057): season caret down/up, skeleton rows while a season loads, sessionless showSeasonEpisodes face (no page re-mount), client-only close; gate 214, tests/realdata-057.mjs, README + STATUSmre1704ec45/components/show.hl

21.0 KB

  1. // components/show.hl — `/shows/:slug` (tracker.worldapi.org#4): a show's own page. Creator's words:
  2. // "the poster on the left, right of it the title of the show, the genre pills, below the plot summary,
  3. // below that the artists just as normal links, separated with comma color red, genres are blue" (the
  4. // header) — "then all seasons in reverse order, latest on top, below them collapsable their episodes,
  5. // episodes first the round check icon, if the episode was watched by the user looking its solid, if
  6. // not its regular, then the episode number, then the title. the last season is not collapsed. click on
  7. // the check adds a watch. the season also has a check, if the season is checked or unchecked all its
  8. // episodes get checked or unchecked. artists link to /person/<artist-slug> the genre to /genre/<genre-slug>."
  9. //
  10. // THE ROWS ARE ONE FLAT LIST, not a nested for-loop over seasons > episodes: the vendored build may
  11. // still lack the fix for hybriel#86 (a nested for over a reassigned outer list keeps stale inner
  12. // cells) — a single-level `for (row of rows)` with a `kind` field, reassigned whole on every click,
  13. // is the same proven-safe shape components/main.hl's own header and ident's inbox.hl already use.
  14. // `rows` is rebuilt from scratch (seasons/episodes refetched by id, watch rows refetched) on every
  15. // toggle — cheap: a show has at most a few dozen episodes per season.
  16. //
  17. // Mission 047 (the creator, 2026-10-01): a caret at the season header's right edge (down = open, right = collapsed); episode
  18. // rows not indented; on a phone the title first, then the poster at full width, then genres/plot/cast; a Follow toggle
  19. // next to the title. SIGNED OUT the checks and Follow are visible too: a click opens the "sign in" modal (modal.hl, copied
  20. // from components.hybriel) and writes nothing.
  21. //
  22. // tracker.worldapi.org#17 (mission 057): the caret points DOWN while a season is closed and UP while it is open. Opening a
  23. // season shows SKELETON rows at once (min(episodes, 8), a CSS shimmer, styles.hl) and then its episodes from the face
  24. // `showSeasonEpisodes`, which takes NO session: a face with `session` makes hl:web re-mount the whole page on the server and
  25. // ship every session-derived member back as a `sync` (WebFramework.hl `inbound`) — that, not the episodes, was most of the
  26. // old 250–450 ms (real data). The watched state comes from `watchedEpisodes` (this show's watched episodes per season, rendered
  27. // with the page and re-synced after every watch face). Closing is client-only (no request). An ADULT show (only its
  28. // followers see it) keeps the session face `showRows`: the public face refuses adult seasons.
  29. //
  30. // tracker.worldapi.org#12: link icons under the title — the show on TMDB, IMDb, TheTVDB, TVmaze (a movie: TMDB + IMDb),
  31. // only for the ids it has (shows.hl externalLinksOf), each in a new tab.
  32. parent './main.hl'
  33. import Modal from './modal.hl'
  34. import { appTitle } from '../project.hl'
  35. import { userIdOfSession, loginHref } from '../users.hl'
  36. import { isFollowing, setFollowed } from '../follows.hl'
  37. import { showBySlug, showById, genreById, personById, seasonsOfShow, episodesOfSeason, seasonById, posterName, externalLinksOf } from '../shows.hl'
  38. import { watchesOfUser, isWatched, watchedSet, setWatched, setSeasonWatched, watchClassOf } from '../watches.hl'
  39. // ---- pure helpers ----------------------------------------------------------------------------
  40. // `static`, like calendar.hl's `soonOf` — a PLAIN instance member function that calls an
  41. // hl:mpackdb-backed import (seasonsOfShow, episodesOfSeason, watchesOfUser, …) comes back null
  42. // when called from an `on server` face (confirmed by running the gate: "'buildRows' is not
  43. // callable — it holds null" at the face's call site, even though the SAME call works fine as a
  44. // member's own initializer at the top of this file). `static` is the proven-safe shape (calendar's
  45. // `soonOf`, called from `calLoad`/`calSettingsLoad`, an mpackdb-backed helper exactly like this one).
  46. static initialCollapsed = (seasons) => {
  47. let m = {}
  48. let i = 0
  49. while (i < seasons.length) {
  50. if (i > 0) { m[seasons[i].id] = true }
  51. i = i + 1
  52. }
  53. return m
  54. }
  55. static genreRowsOf = (show) => {
  56. let out = []
  57. for (gid of show.genres) {
  58. let g = genreById(gid)
  59. if (g != null) { out.push({ id = g.id name = g.name href = '/genre/' + g.urlSegment }) }
  60. }
  61. return out
  62. }
  63. static castRowsOf = (show) => {
  64. let out = []
  65. for (c of show.cast) {
  66. let p = personById(c.person)
  67. if (p != null) { out.push({ name = c.actor href = '/person/' + p.urlSegment }) }
  68. }
  69. return out
  70. }
  71. // a View attribute must be a literal, a member or a field path — never an inline expression — so
  72. // every ternary (watched -> icon class, collapsed -> row class) is resolved HERE, once, into a
  73. // plain field the View just reads (row.watchClass, row.rowClass); `watchClassOf` itself lives in
  74. // watches.hl (shared with /unwatched and /schedule, "reuse, don't copy")
  75. static buildRows = (show, uid, collapsed) => {
  76. let watched = watchedSet(uid != null ? watchesOfUser(uid) : [])
  77. let out = []
  78. for (s of seasonsOfShow(show)) {
  79. let isCollapsed = collapsed[s.id] == true
  80. let label = s.title != null && s.title != '' ? s.title : 'Season ' + s.seasonNumber
  81. let seasonWatched = watched['season:' + s.id] == true
  82. out.push({ kind = 'season' isSeason = true isEpisode = false isSkeleton = false id = s.id skeletonCount = s.episodes.length < 8 ? s.episodes.length : 8 label = label episodeCountText = s.episodes.length == 1 ? '1 episode' : s.episodes.length + ' episodes' watched = seasonWatched watchClass = watchClassOf(seasonWatched) collapsed = isCollapsed rowClass = isCollapsed ? 'collapsed' : 'expanded' })
  83. if (!isCollapsed) {
  84. for (e of episodesOfSeason(s)) {
  85. let epWatched = watched['episode:' + e.id] == true
  86. out.push({ kind = 'episode' isSeason = false isEpisode = true isSkeleton = false id = e.id seasonId = s.id episodeNumber = e.episodeNumber title = e.title != null ? e.title : '' watched = epWatched watchClass = watchClassOf(epWatched) })
  87. }
  88. }
  89. }
  90. return out
  91. }
  92. // what the client marks the rows of a season it opens with (tracker#17) — only this show's, never the user's whole watch
  93. // list (every member is shipped to the browser). Per season with a watched episode: `{ all, except }` — `all` = most of
  94. // it is watched, then `except` holds the UNwatched ids, else the watched ones (a fully watched 142-episode season is
  95. // `{ all = true except = {} }`, not 142 ids). No entry = nothing watched.
  96. static watchedEpisodesOf = (show, uid) => {
  97. let m = {}
  98. if (uid == null) { return m }
  99. let watched = watchedSet(watchesOfUser(uid))
  100. for (s of seasonsOfShow(show)) {
  101. let yes = {}
  102. let no = {}
  103. let n = 0
  104. for (eid of s.episodes) {
  105. if (watched['episode:' + eid] == true) { yes[eid] = true n = n + 1 } else { no[eid] = true }
  106. }
  107. if (n > 0) { m[s.id] = n * 2 > s.episodes.length ? { all = true except = no } : { all = false except = yes } }
  108. }
  109. return m
  110. }
  111. // is this episode watched, by that per-season shape (client-side, pure)
  112. static watchedIn = (entry, episodeId) => {
  113. if (entry == null) { return false }
  114. let listed = entry.except[episodeId] == true
  115. return entry.all ? !listed : listed
  116. }
  117. // ---- the rows as the CLIENT changes them (tracker#17) — pure: no import is reached, so they run in the browser ----------
  118. // (`watchClassOf` is an import of the mpackdb-backed watches.hl, so `filledRows` writes its two classes itself)
  119. static seasonRowAs = (row, isCollapsed) => {
  120. return { kind = 'season' isSeason = true isEpisode = false isSkeleton = false id = row.id skeletonCount = row.skeletonCount label = row.label episodeCountText = row.episodeCountText watched = row.watched watchClass = row.watchClass collapsed = isCollapsed rowClass = isCollapsed ? 'collapsed' : 'expanded' }
  121. }
  122. // the season opened: its caret up at once, `skeletonCount` placeholder rows under it
  123. static openingRows = (rows, seasonId) => {
  124. let out = []
  125. for (row of rows) {
  126. if (row.isSeason && row.id == seasonId) {
  127. out.push(seasonRowAs(row, false))
  128. let i = 0
  129. while (i < row.skeletonCount) {
  130. out.push({ kind = 'skeleton' isSeason = false isEpisode = false isSkeleton = true id = seasonId + '-skeleton-' + i seasonId = seasonId })
  131. i = i + 1
  132. }
  133. } else { out.push(row) }
  134. }
  135. return out
  136. }
  137. // the season closed: its episode (and skeleton) rows gone, caret down
  138. static closedRows = (rows, seasonId) => {
  139. let out = []
  140. for (row of rows) {
  141. if (row.isSeason && row.id == seasonId) { out.push(seasonRowAs(row, true)) }
  142. else if (!row.isSeason && row.seasonId == seasonId) { }
  143. else { out.push(row) }
  144. }
  145. return out
  146. }
  147. // the episodes arrived: they replace the season's skeleton rows. No skeleton of it left (closed meanwhile, or a watch face
  148. // already rebuilt every row) → the rows stay as they are (no double rows)
  149. static filledRows = (rows, seasonId, episodes, watched) => {
  150. let out = []
  151. let done = false
  152. for (row of rows) {
  153. if (row.isSkeleton && row.seasonId == seasonId) {
  154. if (!done) {
  155. for (e of episodes) {
  156. let w = watchedIn(watched[seasonId], e.id)
  157. out.push({ kind = 'episode' isSeason = false isEpisode = true isSkeleton = false id = e.id seasonId = seasonId episodeNumber = e.episodeNumber title = e.title watched = w watchClass = w ? 'checkicon solid' : 'checkicon regular' })
  158. }
  159. done = true
  160. }
  161. } else { out.push(row) }
  162. }
  163. return out
  164. }
  165. // a LOCAL static like buildRows (an imported mpackdb helper called straight from a member's initializer came back false
  166. // after a client-side navigation to the page — the gate's follow check)
  167. static followingOf = (show, uid) => { return uid != null && isFollowing(uid, show.id) }
  168. // mission 056: an ADULT title's page (TMDB's flag `adult == true`, mission 054) is "Not found" for everyone who does not
  169. // follow it (signed out too); a follower sees it as before. Unknown (`null`) is not hidden here — only in the lists.
  170. // With hybriel ≥ 73267707 (#121/#122) `showRow`/`found` are server sites re-derived after every session face with the page's
  171. // slug, so an Unfollow on the page hides it at once (the gate proves it; the old build left the page up until a reload).
  172. // Mission 054's try (`found = … && !adultHiddenFor(showRow, me)`, `collapsed`/`rows` from `found`) broke the checks.
  173. static adultHiddenFor = (show, uid) => { return show.adult == true && !followingOf(show, uid) }
  174. // the page's show — null when there is none OR it is hidden for this user: every member is shipped to the browser, so the
  175. // row of a hidden title must never be one
  176. static visibleShow = (slug, uid) => {
  177. let s = showBySlug(slug)
  178. return s != null && adultHiddenFor(s, uid) ? null : s
  179. }
  180. // the initial open/closed seasons from the SLUG alone (not from `showRow`, which reads the session — see `collapsed`)
  181. static initialCollapsedOf = (slug) => {
  182. let s = showBySlug(slug)
  183. return s != null ? initialCollapsed(seasonsOfShow(s)) : {}
  184. }
  185. // ---- reactive members -----------------------------------------------------------------------
  186. slug = null
  187. session = null
  188. userId = userIdOfSession(session)
  189. signedIn = userId != null
  190. // SESSION SYNC (mission 047; since hybriel #121/#122, mission 056): a face taking `session` answers with a `sync` of every
  191. // member derived from session that reaches an import (here `showRow`, `found`, `following`, `rows`, …), re-derived on the
  192. // server with the page's route params but the MOUNT's other state — so client state (`collapsed`) must never derive from
  193. // them. `me` stays the plain copy mission 047 introduced.
  194. me = userId
  195. showRow = visibleShow(slug, me)
  196. found = showRow != null
  197. notFound = showRow == null
  198. // the Follow toggle: "Follow" = the inverted button (accent border), "Following" = the filled one
  199. following = found ? followingOf(showRow, me) : false
  200. followClass = following ? 'follow' : 'follow inverted'
  201. followText = following ? 'Following' : 'Follow'
  202. signInHref = loginHref
  203. title = found ? showRow.title : ''
  204. summary = found && showRow.summary != null ? showRow.summary : ''
  205. poster = found ? posterName(showRow) : null
  206. hasPoster = poster != null
  207. posterUrl = hasPoster ? '/posters/' + poster : ''
  208. genreRows = found ? genreRowsOf(showRow) : []
  209. hasGenres = genreRows.length > 0
  210. castRows = found ? castRowsOf(showRow) : []
  211. hasCast = castRows.length > 0
  212. linkRows = found ? externalLinksOf(showRow) : []
  213. hasLinks = linkRows.length > 0
  214. // NOT from `showRow`/`found`: they read the session (via `me`), so a member derived from them is re-derived on the server
  215. // after every session face with the MOUNT's state — `collapsed` (client state) would snap back to the initial seasons (mission
  216. // 056: the 2nd episode click in a re-opened season did nothing). The season ids of a hidden page are no secret.
  217. collapsed = initialCollapsedOf(slug)
  218. rows = found ? buildRows(showRow, me, collapsed) : []
  219. hasRows = rows.length > 0
  220. watchedEpisodes = found ? watchedEpisodesOf(showRow, me) : {}
  221. // an adult page (followers only) opens its seasons through the session face `showRows`
  222. adultShow = found && showRow.adult == true
  223. __title = found ? title + ' — ' + appTitle : appTitle
  224. View {
  225. showPage {
  226. if (notFound) {
  227. article { class = "main"
  228. h1 { "Not found" }
  229. p { "This show doesn't exist." }
  230. }
  231. }
  232. if (found) {
  233. showHeader {
  234. showPoster { if (hasPoster) { img { src = posterUrl alt = title } } }
  235. showMeta {
  236. showTitle {
  237. h1 { title }
  238. button { id = "follow" type = "button" class = followClass followText on click(e) { emit toggleFollow(e) } }
  239. }
  240. if (hasLinks) {
  241. showLinks {
  242. for (l of linkRows) { a { class = "extlink" href = l.href target = "_blank" rel = "noopener" title = l.title "aria-label" = l.title "data-site" = l.site l.label } }
  243. }
  244. }
  245. if (hasGenres) {
  246. showGenres {
  247. for (g of genreRows) { a { class = "genre-pill" href = g.href g.name } }
  248. }
  249. }
  250. showSummary { summary }
  251. if (hasCast) {
  252. showCast {
  253. for (c of castRows) { a { class = "artist-link" href = c.href c.name } }
  254. }
  255. }
  256. }
  257. }
  258. if (hasRows) {
  259. showSeasons {
  260. for (row of rows) {
  261. if (row.isSeason) {
  262. seasonRow { class = row.rowClass
  263. button { type = "button" class = row.watchClass value = row.id "aria-label" = "mark season watched"
  264. svg { viewBox = "0 0 24 24" width = "22" height = "22" "aria-hidden" = "true"
  265. circle { cx = "12" cy = "12" r = "10" }
  266. path { d = "M7 12.5 L10.5 16 L17 8.5" }
  267. }
  268. on click(e) { emit toggleSeason(row.id) }
  269. }
  270. button { type = "button" class = "season-toggle" value = row.id
  271. seasonLabel { row.label }
  272. seasonCount { row.episodeCountText }
  273. seasonCaret { "aria-hidden" = "true"
  274. svg { viewBox = "0 0 24 24" width = "20" height = "20"
  275. path { d = "M6 9 L12 15 L18 9" }
  276. }
  277. }
  278. on click(e) { emit toggleCollapse(row.id) }
  279. }
  280. }
  281. }
  282. if (row.isEpisode) {
  283. episodeRow {
  284. button { type = "button" class = row.watchClass value = row.id "aria-label" = "mark episode watched"
  285. svg { viewBox = "0 0 24 24" width = "22" height = "22" "aria-hidden" = "true"
  286. circle { cx = "12" cy = "12" r = "10" }
  287. path { d = "M7 12.5 L10.5 16 L17 8.5" }
  288. }
  289. on click(e) { emit toggleEpisode(row.id) }
  290. }
  291. episodeNumber { row.episodeNumber }
  292. episodeTitle { row.title }
  293. }
  294. }
  295. if (row.isSkeleton) {
  296. skeletonRow { "aria-hidden" = "true"
  297. skeletonCheck { }
  298. skeletonNumber { }
  299. skeletonTitle { }
  300. }
  301. }
  302. }
  303. }
  304. }
  305. Modal { id = "signin" title = "Sign in"
  306. p { "You need to sign in to follow shows and mark episodes." }
  307. footer {
  308. button { type = "button" value = "close" "Close" }
  309. a { id = "signin-link" class = "button" href = signInHref "Sign in with ident" }
  310. }
  311. }
  312. }
  313. }
  314. }
  315. // Every rebuild of `rows` happens SERVER-SIDE, never by calling `buildRows` from a client handler:
  316. // a member function whose body reaches an hl:mpackdb-backed import (seasonsOfShow, episodesOfSeason,
  317. // watchesOfUser, …) compiles to nothing on the client (no case ever assigns it — a genuine Hybriel
  318. // gap, filed under `issues`) even though the client bundle still calls it, so `this.buildRows(...)`
  319. // throws "not a function" in the browser. The client here only ever ASSIGNS the `rows` the server
  320. // already built (`rows = r.rows`) — never calls a tainted local helper itself. `slug` goes along so
  321. // the face can refetch the show without depending on implicit access to a sibling member.
  322. //
  323. // tracker#17: opening shows the skeleton rows BEFORE the request; the answer replaces them unless the season was closed
  324. // meanwhile (then nothing). An error closes the season again. Closing never asks the server.
  325. on toggleCollapse(seasonId) {
  326. let m = collapsed
  327. if (collapsed[seasonId] != true) {
  328. m[seasonId] = true
  329. collapsed = m
  330. rows = closedRows(rows, seasonId)
  331. return null
  332. }
  333. m[seasonId] = false
  334. collapsed = m
  335. rows = openingRows(rows, seasonId)
  336. if (adultShow) {
  337. let a = emit server showRows(slug, collapsed)
  338. if (collapsed[seasonId] == true) { return null }
  339. if (a == null || a.error != null) { m[seasonId] = true collapsed = m rows = closedRows(rows, seasonId) return null }
  340. rows = a.rows
  341. return null
  342. }
  343. let r = emit server showSeasonEpisodes('' + seasonId)
  344. if (collapsed[seasonId] == true) { return null }
  345. if (r == null || r.error != null) { m[seasonId] = true collapsed = m rows = closedRows(rows, seasonId) return null }
  346. rows = filledRows(rows, seasonId, r.episodes, watchedEpisodes)
  347. }
  348. // signed out: the modal, nothing is sent
  349. on toggleEpisode(episodeId) {
  350. if (!signedIn) { document.getElementById('signin').showModal() return null }
  351. let r = emit server showToggleEpisode(slug, '' + episodeId, collapsed)
  352. if (r == null || r.error != null) { return null }
  353. rows = r.rows
  354. }
  355. on toggleSeason(seasonId) {
  356. if (!signedIn) { document.getElementById('signin').showModal() return null }
  357. let r = emit server showToggleSeason(slug, '' + seasonId, collapsed)
  358. if (r == null || r.error != null) { return null }
  359. rows = r.rows
  360. }
  361. on toggleFollow(e) {
  362. if (!signedIn) { document.getElementById('signin').showModal() return null }
  363. let r = emit server showToggleFollow(slug)
  364. if (r == null || r.error != null) { return null }
  365. following = r.following
  366. followClass = r.following ? 'follow' : 'follow inverted'
  367. followText = r.following ? 'Following' : 'Follow'
  368. }
  369. // ---- the faces (the trailing `session` is always the server's: hybriel#16) ----
  370. // every row for these open/closed seasons — only an ADULT show's page still uses it (its followers; tracker#17)
  371. on server showRows(slug, collapsed, session) {
  372. let show = showBySlug(slug)
  373. let uid = userIdOfSession(session)
  374. if (show == null || adultHiddenFor(show, uid)) { return { error = 'no such show' } }
  375. return { ok = true rows = buildRows(show, uid, collapsed) }
  376. }
  377. // tracker#17: one season's episodes, in order — public data, so NO `session` (no page re-mount, no sync: the fast path).
  378. // Refuses a season of an adult title (those pages use showRows above).
  379. on server showSeasonEpisodes(seasonId) {
  380. if (seasonId == null || hlTypeName(seasonId) != 'String') { return { error = 'no such season' } }
  381. let season = seasonById(seasonId)
  382. if (season == null) { return { error = 'no such season' } }
  383. let show = showById(season.show)
  384. if (show == null || show.adult == true) { return { error = 'no such season' } }
  385. let out = []
  386. for (e of episodesOfSeason(season)) { out.push({ id = e.id episodeNumber = e.episodeNumber title = e.title != null ? e.title : '' }) }
  387. return { ok = true episodes = out }
  388. }
  389. on server showToggleEpisode(slug, episodeId, collapsed, session) {
  390. let show = showBySlug(slug)
  391. if (show == null) { return { error = 'no such show' } }
  392. let uid = userIdOfSession(session)
  393. if (uid == null) { return { error = 'you are not signed in' } }
  394. if (adultHiddenFor(show, uid)) { return { error = 'no such show' } }
  395. let rows = watchesOfUser(uid)
  396. let watched = isWatched(rows, 'episode', episodeId) == false
  397. let ok = setWatched(uid, 'episode', episodeId, rows, watched)
  398. if (!ok) { return { error = 'could not save the watch' } }
  399. return { ok = true rows = buildRows(show, uid, collapsed) }
  400. }
  401. on server showToggleSeason(slug, seasonId, collapsed, session) {
  402. let show = showBySlug(slug)
  403. if (show == null) { return { error = 'no such show' } }
  404. let uid = userIdOfSession(session)
  405. if (uid == null) { return { error = 'you are not signed in' } }
  406. if (adultHiddenFor(show, uid)) { return { error = 'no such show' } }
  407. let season = seasonById(seasonId)
  408. if (season == null) { return { error = 'no such season' } }
  409. let rows = watchesOfUser(uid)
  410. let watched = isWatched(rows, 'season', seasonId) == false
  411. let ok = setSeasonWatched(uid, seasonId, season.episodes, rows, watched)
  412. if (!ok) { return { error = 'could not save the watch' } }
  413. return { ok = true rows = buildRows(show, uid, collapsed) }
  414. }
  415. on server showToggleFollow(slug, session) {
  416. let show = showBySlug(slug)
  417. if (show == null) { return { error = 'no such show' } }
  418. let uid = userIdOfSession(session)
  419. if (uid == null) { return { error = 'you are not signed in' } }
  420. let follow = isFollowing(uid, show.id) == false
  421. if (!setFollowed(uid, show.id, follow)) { return { error = 'could not save the follow' } }
  422. return { ok = true following = follow }
  423. }

Branches

Latest commits

  • 1704ec45tracker#17 (mission 057): season caret down/up, skeleton rows while a season loads, sessionless showSeasonEpisodes face (no page re-mount), client-only close; gate 214, tests/realdata-057.mjs, README + STATUSmre
  • f2fe3e36mission 056: README + STATUS (merge, fixes, Hybriel 8590df63, real-data check), tests/realdata-056.mjs, tools/check-public-slugs.hlmre
  • f40c250emission 056: re-vendor hybriel master 8590df63 (#121, #122); an adult title's page is Not found for non-followers; gate: leave the page before stopping the servermre
  • 2b7fdd6cmission 056: signed-out header one row on phones ("Log in", nowrap), backfill skips adult titles' posters, gate checksmre
  • 2c53d5efMerge branch 't16-person' (tracker#16 person pages) into main; filmography shows only public titles (054 adult flag), gate race fix (backfill start line)mre
  • c171227emission 054: hide adult/unknown titles from the public lists and the search; in-app adult-flag backfill (TMDB details + poster per title, resumes), gate + real-data proofmre
  • 139fafd8tracker#16: short bio (4 lines, click = all), real-data check script, README + STATUSmre
  • 93be9476tracker#16: person pages /person/<slug> with the filmography fetched from TMDB on the first visit (step by step), gatemre
  • 47a3cae6STATUS: mission 053 merge commit idsmre
  • dcc5eecaMerge branch 't14-search'mre
  • 03edc783Merge branch 't15-tvmaze'mre
  • 71b46345tracker#15: numbering check by date or title, placeholder titles in other languages, docs + real-data proofmre
  • 6bb2daf1tracker#13: homepage (tiles, intro, latest movies/shows), /shows, /movies/page/N, /my/movies; lists cached in memorymre
  • b8bd1157tracker#14: README + STATUS (search, real-data numbers, gate, merge notes)mre
  • 65c694a8tracker#14: search — header magnifier, /search/<text> (in-memory word-prefix index over titles + people), Fetch from web (TMDB search/multi, ours left out), Add = import via syncShow; gate +25 checks, real-data scriptmre
  • 34f2c15btracker#15: TVmaze merge in the sync (gaps only: new episodes/seasons, empty titles/air dates; numbering check), fake TVmaze episodes + gatemre
  • cbdc4ea7tracker#12: link icons TMDB/IMDb/TVDB/TVmaze; sync fills missing ids (TVmaze lookup); movies fetched via /movie/mre
  • b105bcd8tracker#11: Hybriel master ff51cf46 (checks no longer vanish), mobile-first styles, carets, follow button, sign-in modal, inverted check, orange castmre
  • 31b758aatracker#10: installable app (manifest, service worker, offline shell), own icon + faviconmre
  • 2fa9d997tracker#9: TMDB sync (followed shows: seasons, episodes, posters), tools/sync-tmdb.hl + daily run 04:00 UTC, fake TMDB in gatemre