gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit1f2df72a1f2df72amission RV39mre1f2df72a/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 '../project.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

  • 1f2df72amission RV39mre
  • 6c1936f9log+status: GC planmre
  • 2846a840log: m569 result, GC hypothesismre
  • b24cd2d5log: Anton on hl:fetch, mission 569mre
  • 7d42cac1log+status: SL1 measured, fetch stalls remainmre
  • 8e5f2ceflog: SL1 deployedmre
  • 29f34212log: SL1 deploy startedmre
  • 529dd741Merge sl1-slices: slice details repair and person fill (SL1)mre
  • 8a83316blog: SL1 result, session drain slowermre
  • 35e93e8dSL1: slice the details repair and person fill: catalog lists changed in place, 40 ms fill steps, people created in steps, writes one table per tickmre
  • 72c9119flog+status: SL1 startedmre
  • d74620fcmission SL1: slice repair and person fillmre
  • 5d542d73log+status: ST1 resultmre
  • 3945eb81ST1: stall diagnosis reportmre
  • 404733aclog: ST1 startedmre
  • 3e3d5a55mission ST1: stall diagnosismre
  • 9c3180eblog+status: RV28d measured after deploymre
  • fdf10b1alog: RV28d deployed on day38bmre
  • 320005e9log: RV28d merged, deploy runningmre
  • a8fef27dRV28d: reportmre