tracker
All repositories: gitoria
1.6 KB
// components/allseries.hl — `/series`, `/series/page/:page` (tracker.worldapi.org#21, mission 068): EVERY series (scripted,// mini-series, documentary — shows.hl titleKind), the one whose newest RELEASED episode is newest first, like /shows before the// split (catalog.hl, built once at start, 24 per page, poster + title (+ year), each a link to /series/<slug>). The game /// reality / talk / news shows are /shows (components/allshows.hl). The heading is the type word in its colour (#20).// The grid and the pagination: components/tilelist.hl.parent './main.hl'import TileList from './tilelist.hl'import { appTitle } from '../project.hl'import { seriesPage, catalogCounts } from '../lib/catalog.hl'import { warmReady, warmText } from '../lib/warm.hl'page = nulllisting = seriesPage(&page)tiles = listing.tilespageNo = listing.pagepageCount = listing.pagescountText = catalogCounts().series + ' series, latest episode first · page ' + pageNo + ' of ' + pageCountbasePath = '/series'__title = pageNo > 1 ? 'Series, page ' + pageNo + ' — ' + appTitle : 'Series — ' + appTitle// mission T17 (boot time): the server listens while bootscan.hl still builds the lists / slug maps / search index (lib/warm.hl); until the 'catalog'// stage is there this page says so instead of showing half a mapwarming = !warmReady('catalog')warmNote = warming ? warmText() : ''View {listPage { id = "series-list"if (warming) { p { id = "warming" class = "message banner" warmNote } }h1 { class = "typed" typeWord { class = "type-word type-series" "Series" } }p { class = "muted list-count" countText }TileList { tiles = tiles page = pageNo pages = pageCount basePath = basePath }}}
Branches
Latest commits
- d1a91be9Merge hm57-let: tracker#57 let only for reassigned namesmre
- a404ed75Report HM57 audit, gates and integration notesmre
- 1dcb87a7Use plain declarations for unchanged bindingsmre
- b90395e3log: HM51 mergedmre
- 9888d076Merge hm51-classes: tracker#51 views use Style referencesmre
- 4399bc2fReference remaining component-owned root Style rulesmre
- 9edcc2dflog: #58 live, HM57 startedmre
- 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre
- aed12917Reference owned Style rules in genres and searchmre
- 14195720log: HM49B done, HM51 startedmre
- 78ee6b56Move remaining component styles into Style blocksmre
- 7f04de33log: HM49Bmre
- 00616cf3log: #49 batch merged, DP67 startedmre
- d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre
- 079f376dMove seven components' styles into Style blocksmre
- 17d66feelog: #58 mergedmre
- 69a6640bMerge hm58-map: tracker#58 project.hl only the mapmre
- a85f7900Move route logic out of the project mapmre
- 13dea5belog: #56 live, HM49 and HM58 startedmre
- a31c8f2fdocs: tracker#36 remaining listmre