gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2f986ca32f986ca3Log: RT50 passmre2f986ca3/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

  • 2f986ca3Log: RT50 passmre
  • 1c4715a4RT50 mission: day50 repro retestmre
  • 57d1c0dcLog: day50 retest requestmre
  • 60b1f419Log: Anton #336 result, wake checkmre
  • 919a18aalog: scratchmre
  • 6b504440status tidymre
  • 9332bd10log: DP70 livemre
  • be11daa0DP70 brief fixmre
  • 886a7028DP70 brief, HM67 mergedmre
  • b41cdd6dMerge hm67-searchids: packed search IDsmre
  • 385904eaReport HM67 matched heap measurements and gate proofmre
  • e5c9b659Pack retained search IDs into UTF-8 bytesmre
  • 62a5f6c7HM67 brief, HM66 mergedmre
  • b32b8440Merge hm66-catalogindex: packed catalog indexmre
  • 2db0f7adReport HM66 heap measurements and validationmre
  • 6ce15623Pack catalog lists and membership maps in UTF-8 bytesmre
  • 71134e21HM66 briefmre
  • ed4cbab2status timemre
  • e982c26dlog: HM65 mergedmre
  • 6e72f9d1Merge hm65-fields: episode boot scan reads three fieldsmre