gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit3356fcfc3356fcfclog: #52 blocked, HM53 startedmre3356fcfc/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

  • 3356fcfclog: #52 blocked, HM53 startedmre
  • 833dcfc9Merge hm52-search: report only, tracker#52 blocked by framework gapmre
  • 73010cc0HM52: report replace-navigation search draft regressionmre
  • 1742e92bstatus: DP64 and HM52 runningmre
  • 29ad5b58log: #64 merged, DP64 and HM52 startedmre
  • fafddbf9Merge hm64-catalog: tracker#64 catalog from packed entriesmre
  • b2e2206dlog: #63 livemre
  • 5831e0e0log: HM64 donemre
  • 4042b923Flatten catalog membership rows into paired slotsmre
  • ea8a759elog: #61 #62 live, DP63 and HM64 startedmre
  • 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