gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitfd8570b1fd8570b1|||PR search: one server exchange per keystrokeTrackerfd8570b1/components/allshows.hl

2.0 KB

  1. // components/allshows.hl — `/shows`, `/shows/page/:page` (tracker.worldapi.org#13): EVERY show — since tracker#21 (mission
  2. // 068) only the game / reality / talk / news SHOWS (shows.hl titleKind; the series are /series, components/allseries.hl) — the
  3. // one whose newest RELEASED episode is newest first (architect: "last aired"; series with nothing released yet after them, by their own
  4. // release) — catalog.hl, built once at start, 24 per page, poster + title (+ year), each a link to its show page. The creator: "there
  5. // you can paginate through all sorted by release date desc poster/title only".
  6. // THE PAGE IN THE ADDRESS is a path segment, not `?page=N`: a page component cannot read the query string (hybriel#11,
  7. // its query half still open) and the browser's Back drops the query (hl:web client.hl `popstate` → `show(location.pathname)`).
  8. // The grid and the pagination: components/tilelist.hl (shared with /movies).
  9. parent './main.hl'
  10. import TileList from './tilelist.hl'
  11. import { appTitle } from '../lib/app.hl'
  12. import { showsPage, catalogCounts } from '../lib/catalog.hl'
  13. import { warmReady, warmText } from '../lib/warm.hl'
  14. page = null
  15. listing = showsPage(&page)
  16. tiles = listing.tiles
  17. pageNo = listing.page
  18. pageCount = listing.pages
  19. countText = catalogCounts().shows + ' shows, latest episode first · page ' + pageNo + ' of ' + pageCount
  20. basePath = '/shows'
  21. __title = pageNo > 1 ? 'Shows, page ' + pageNo + ' — ' + appTitle : 'Shows — ' + appTitle
  22. // mission T17 (boot time): the server listens while bootscan.hl still builds the lists / slug maps / search index (lib/warm.hl); until the 'catalog'
  23. // stage is there this page says so instead of showing half a map
  24. warming = !warmReady('catalog')
  25. warmNote = warming ? warmText() : ''
  26. View {
  27. listPage { id = "shows-list"
  28. if (warming) { p { id = "warming" class = "message banner" warmNote } }
  29. h1 { class = "typed" typeWord { class = "type-word type-show" "Shows" } }
  30. p { class = "muted list-count" countText }
  31. TileList { tiles = tiles page = pageNo pages = pageCount basePath = basePath }
  32. }
  33. }

Branches

Latest commits

  • fd8570b1|||PR search: one server exchange per keystrokeTracker
  • f5a06a0fLog: gitoria push setup, SR1Tracker
  • d6b109baMission SR1mre
  • 608b7558Log: FF1 merged via PR #1mre
  • 2939d94cMerge branch 'ff1-gate-failfast' into mainTracker
  • c934361a|||PR tests: gates fail fast when the app exits during startmre
  • d714ae42Log/status: AP56 closed out, FF1mre
  • a429d088Mission FF1mre
  • 03bbfba3Log: AP56c causemre
  • 24845fe3Log: AP56b result, AP56cmre
  • 6a6d71eaLog: gitoria membershipmre
  • 8b842dc8Log + CONDUCTOR: gitoria PR switch-onmre
  • 6bb7c20estatus: window 2026-11-09mre
  • 5db84974Log: Apollo window GO, AP56b started, BS1 copy removedmre
  • e84586a7Mission AP56bmre
  • 15917f03Record PR workflow rule (gitoria#50)mre
  • 942ac995status: paused workers statemre
  • 44b934e5log: respawn cleanupmre
  • 03a80097Log: Anton GC A/Bmre
  • c7cdef62Log: Apollo STOP, workers pausedmre