tracker
All repositories: gitoria
2.0 KB
// components/allshows.hl — `/shows`, `/shows/page/:page` (tracker.worldapi.org#13): EVERY show — since tracker#21 (mission// 068) only the game / reality / talk / news SHOWS (shows.hl titleKind; the series are /series, components/allseries.hl) — the// one whose newest RELEASED episode is newest first (architect: "last aired"; series with nothing released yet after them, by their own// release) — catalog.hl, built once at start, 24 per page, poster + title (+ year), each a link to its show page. The creator: "there// you can paginate through all sorted by release date desc poster/title only".// THE PAGE IN THE ADDRESS is a path segment, not `?page=N`: a page component cannot read the query string (hybriel#11,// its query half still open) and the browser's Back drops the query (hl:web client.hl `popstate` → `show(location.pathname)`).// The grid and the pagination: components/tilelist.hl (shared with /movies).parent './main.hl'import TileList from './tilelist.hl'import { appTitle } from '../project.hl'import { showsPage, catalogCounts } from '../lib/catalog.hl'import { warmReady, warmText } from '../lib/warm.hl'page = nulllisting = showsPage(&page)tiles = listing.tilespageNo = listing.pagepageCount = listing.pagescountText = catalogCounts().shows + ' shows, latest episode first · page ' + pageNo + ' of ' + pageCountbasePath = '/shows'__title = pageNo > 1 ? 'Shows, page ' + pageNo + ' — ' + appTitle : 'Shows — ' + 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 = "shows-list"if (warming) { p { id = "warming" class = "message banner" warmNote } }h1 { class = "typed" typeWord { class = "type-word type-show" "Shows" } }p { class = "muted list-count" countText }TileList { tiles = tiles page = pageNo pages = pageCount basePath = basePath }}}
Branches
Latest commits
- 40439456Merge hm63-searchtext: tracker#63 packed search textmre
- b7e6b48ePack normalized search text behind numeric offsetsmre
- b35f53e1log: DP62 stale runtime decisionmre
- f9593602log: Apollo deploy rule correctionmre
- 3c95f7f3log: DP62 and HM63 startedmre
- 9c4397c9mission HM63mre
- 8dfe42c8mission DP62mre
- e347fef4Merge rv44: tracker#61 #62 on Hybriel day44mre
- 8274bcf1log: RV44 done, deploy held for the usage windowmre
- 1ef7a3b1RV44: report day44 gates and migration/restart proofsmre
- a5f62f6cRV44: re-vendor Hybriel set day44 (source 222edef7, bin 4f0f263e)mre
- 6159a248Merge branch 'hm62-personindex' into rv44mre
- a8923d93log: RV44 startedmre
- cf28cf77mission RV44mre
- 585782dfLog: tracker#60 Chrome look, STATUS rewrittenmre
- 147d0172conductor: caramboleyo is the user, not owner/creatorApollo
- 21dd0cfblog: #60 live measurement, reviewmre
- 7793cf94HM62b report: person indexes with fixed mpackdbmre
- b4c8d3a9Document tracker#62 fixed-index migration and GC proofmre
- 09d66ed5status: #60 livemre