gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit36b2271036b22710Tracker: port slot, CL1 briefmre36b22710/components/people.hl

1.7 KB

  1. // components/people.hl — `/people`, `/people/page/<n>` (tracker#37, mission 032: the main menu's People). Creator: "/people just
  2. // lists persons by last one updated with poster name and pagination": everyone, the one updated last first, photo + name tiles
  3. // (the name in the person colour), 24 per page, each a link to the person's page (components/person.hl). The list: lib/people.hl
  4. // peoplePage (a view built once at boot — no scan per load). The grid and the pagination: components/tilelist.hl, like /movies.
  5. parent './main.hl'
  6. import TileList from './tilelist.hl'
  7. import { appTitle } from '../project.hl'
  8. import { peoplePage, peopleCount } from '../lib/people.hl'
  9. import { warmReady, warmText } from '../lib/warm.hl'
  10. page = null
  11. listing = peoplePage(page)
  12. tiles = listing.tiles
  13. pageNo = listing.page
  14. pageCount = listing.pages
  15. total = peopleCount()
  16. countText = total + (total == 1 ? ' person' : ' people') + ', last updated first · page ' + pageNo + ' of ' + pageCount
  17. basePath = '/people'
  18. __title = pageNo > 1 ? 'People, page ' + pageNo + ' — ' + appTitle : 'People — ' + 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 'all'
  20. // stage is there this page says so instead of showing half a map
  21. warming = !warmReady('all')
  22. warmNote = warming ? warmText() : ''
  23. View {
  24. listPage { id = "people-list"
  25. if (warming) { p { id = "warming" class = "message banner" warmNote } }
  26. h1 { class = "typed" typeWord { class = "type-word type-person" "People" } }
  27. p { class = "muted list-count" countText }
  28. TileList { tiles = tiles page = pageNo pages = pageCount basePath = basePath tileClass = "tile person-tile" }
  29. }
  30. }

Branches

Latest commits

  • 36b22710Tracker: port slot, CL1 briefmre
  • a401190fTracker: GO for the crash loopmre
  • e195d372Tracker: token pathsmre
  • 7f541d11Tracker conductor: CONDUCTOR.md, short STATUS.md, old status + decisions archive to archive/2026-10-31mre
  • 8dd423f7README: login.js stays by caramboleyo's explicit rulemre
  • d8df1493tracker: standby service on port 45018 and a gap-free hand-over in deploy.sh step 4mre
  • 36dd1686ident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
  • ff9b838etracker: the Ended status pill uses the same red as layouts (pill danger); gate updatedmre
  • 40d9719eTP2: LOG line and report for the tracker pillsmre
  • ab3f2ba5tracker: status, genres, TMDB/IMDb/TVDB/TVmaze links and list kinds use the theme's pill; dense season list with the season check centred on its title line; gates for bothmre
  • 521061d6tracker header on phones: signed in, the brand fits whole at 360 and 390 px (tighter gaps and side paddings, slightly smaller brand, narrow screens and signed in only); mobile gate checks itmre
  • 18114a53tracker: franchises gate waits for the signed-out selector instead of the removed Log in buttonmre
  • 08561d73ident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
  • 59ef1e4atests/browser: repair 'done' check counts the 404 titles the first run already finished (race: failed=1 when Bulk Film 79 ran before the restart)mre
  • 5925fc4dreports/MK-mobile.md: rebase update, gate countsmre
  • 6adbc7f0extlink badges: background-clip after the background shorthand (it reset the clip: the pills were 44 px tall); gates check the lookmre
  • 8d3b0f20widget: the franchise link's 44 px tap area no longer overlaps the Prequel/Sequel rowmre
  • 1d98dcfdbrowser gate: the badges' size check reads the padding box (the 44 px tap area is transparent border)mre
  • 2f9e29ffreports/MK-mobile.md, deploy.sh GATES: tests/mobile.mjs, theme check markermre
  • 7cfc8ab5a season of more than 150 episodes starts closed on its title page; the phone gate checks itmre