gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita8923d93a8923d93log: RV44 startedmrea8923d93/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

  • 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
  • 09d66ed5status: #60 livemre
  • 4171672flog: #60 livemre
  • f52862a2log: HM62b startedmre
  • 88fde2c4mission HM62bmre
  • a722e526log: #62 blocked by hybriel#317mre
  • 074a7418log: #62 assigned to Tracker; pending rulemre
  • 06f6ae8fHM62 report: mpackdb index gapmre
  • 86fe5430log: HM62 startedmre
  • 755307bbmission HM62mre
  • 4b2f2995HM61 report: tracker#61 packed people ordermre
  • 48faa84flog: #60 deploy startedmre
  • 90734c6cMerge branch 'hm60-shortids'mre
  • e0db0d1bHM60 report: tracker#60 packed short-ID ownersmre
  • 3c79b576Pack short-ID ownership into byte buffersmre