gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit4e0186784e018678|||PR deploy.sh: gates use Tracker's ports 8716-8719 and LC_ALL=C; README: 2 backups keptTracker4e018678/components/allseries.hl

1.6 KB

  1. // components/allseries.hl — `/series`, `/series/page/:page` (tracker.worldapi.org#21, mission 068): EVERY series (scripted,
  2. // mini-series, documentary — shows.hl titleKind), the one whose newest RELEASED episode is newest first, like /shows before the
  3. // split (catalog.hl, built once at start, 24 per page, poster + title (+ year), each a link to /series/<slug>). The game /
  4. // reality / talk / news shows are /shows (components/allshows.hl). The heading is the type word in its colour (#20).
  5. // The grid and the pagination: components/tilelist.hl.
  6. parent './main.hl'
  7. import TileList from './tilelist.hl'
  8. import { appTitle } from '../lib/app.hl'
  9. import { seriesPage, catalogCounts } from '../lib/catalog.hl'
  10. import { warmReady, warmText } from '../lib/warm.hl'
  11. page = null
  12. listing = seriesPage(&page)
  13. tiles = listing.tiles
  14. pageNo = listing.page
  15. pageCount = listing.pages
  16. countText = catalogCounts().series + ' series, latest episode first · page ' + pageNo + ' of ' + pageCount
  17. basePath = '/series'
  18. __title = pageNo > 1 ? 'Series, page ' + pageNo + ' — ' + appTitle : 'Series — ' + appTitle
  19. // mission T17 (boot time): the server listens while bootscan.hl still builds the lists / slug maps / search index (lib/warm.hl); until the 'catalog'
  20. // stage is there this page says so instead of showing half a map
  21. warming = !warmReady('catalog')
  22. warmNote = warming ? warmText() : ''
  23. View {
  24. listPage { id = "series-list"
  25. if (warming) { p { id = "warming" class = "message banner" warmNote } }
  26. h1 { class = "typed" typeWord { class = "type-word type-series" "Series" } }
  27. p { class = "muted list-count" countText }
  28. TileList { tiles = tiles page = pageNo pages = pageCount basePath = basePath }
  29. }
  30. }

Branches

Latest commits

  • 4e018678|||PR deploy.sh: gates use Tracker's ports 8716-8719 and LC_ALL=C; README: 2 backups keptTracker
  • 0b86324aMerge branch 'records-dp73' into mainTracker
  • 9ce5f59b|||PR records: DP73 live 613ae0e; deploy.sh keeps 2 backupsTracker
  • 613ae0ecMerge branch 'bs3' into mainTracker
  • 1383264b|||PR BS3: keep shared synchronous sorting fastTracker
  • 63e5ba1a|||PR BS3: guard boot imports and share resumable sort buffersTracker
  • 310613f1Merge branch 'records-dp72' into mainTracker
  • 6f7b61ba|||PR records: deploy-swap fix live, Kunibert findingsTracker
  • c41587d2Merge branch 'bs2' into mainTracker
  • 0dd538a6|||PR BS2: finish the boot index in slices so a booting instance keeps answeringTracker
  • 019d5cedMerge branch 'records-1110' into mainTracker
  • f88ae8b9|||PR records: day56 toggle live, reviewTracker
  • b6b3bb4dMerge branch 'ap56e' into mainTracker
  • 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker
  • 7c9ec236|||PR AP56e: re-vendor Hybriel set day56 (source 36ae83a8, bin c1f595a2)Tracker
  • 4b54f6f9Merge branch 'records-audit' into mainTracker
  • cab4a3bc|||PR records: branch audit, PR-onlyTracker
  • 641e1c4cMerge branch 'records-dp71' into mainTracker
  • 85a6e9f5|||PR records: DP71 checked in ChromeTracker
  • f5be5f18records: gitoria PR-only planTracker