gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2ae8a47b2ae8a47bMerge branch 'sk-sec'mre2ae8a47b/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 '../project.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

  • 2ae8a47bMerge branch 'sk-sec'mre
  • 8fee5d52sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
  • 944ad51eSK: report reports/SK-sec.md, LOGsk
  • 415487c1SK: import budget per user + id type check, gate checkssk
  • 7b8a4f74security audit SK: nosniff + image sandbox headers, face id checks, adult follow, login budget + new session at login, guest-link budget, tests/security.mjssk
  • f0f26c5areports: T18 section (gates, boot-gate, 3x3 table, search + short-id compare)mre
  • 2a8682a1deploy.sh GATES: tests/warmstart.mjsmre
  • 3761338breports/T17-boot.md: handoff (phase table, fix, numbers so far, open proof)mre
  • 52e09eb2boot: sync window 1000 ms (the gates ask for a complete start), README boot-time sectionmre
  • c87149e8tests/warmstart.mjs: the progressive start proven over HTTP (note in the window, 503 short id, after: everything); bootBeginmre
  • 593a6350boot: resumable start-up scan, the server listens first (T17)mre
  • be4890a0reports: H2 hydration audit (no test change needed)mre
  • 1f9c8bf4re-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
  • c1df88eddocker-compose: HL_GC_TABLE_LOAD=62 (tracker mission 048, T16 real-data numbers)mre
  • d0a82867mission 048: report, LOG (HL_GC_TABLE_LOAD=62 measured)mre
  • 2d4be66fre-vendor Hybriel 5df4eb7e (GC: HL_GC_TABLE_LOAD knob, mission 406)mre
  • 99e7c8b9tests: realdata-m035-radii, repro-t38, realdata-060-backfill ports from env (REAL_PORT, REAL_CHROME, REPRO_CHROME), defaults unchangedmre
  • 4625aa22re-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • a6dfd6ecdeploy: person-lookup gate (tracker#46)mre
  • 33ad4bd5Merge commit 'f57f64f'mre