gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2bae83732bae8373RV28d: re-vendor Hybriel set day38b (source 1e554d75, bin 5ff2a46d)mre2bae8373/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

  • 2bae8373RV28d: re-vendor Hybriel set day38b (source 1e554d75, bin 5ff2a46d)mre
  • 16b3354aMerge branch 'main' into rv28cmre
  • 6f4f27d8log: RV28d started (day38b)mre
  • e6cf03ffmission RV28d: rv28c onto day38bmre
  • 3ccaee19status: live sweep freeze, waiting for Apollomre
  • 49f76ecblog: watch toggle slowness = session sweep freeze (tracker#50)mre
  • 3daf6eddlog: day37 live, still waiting for day39mre
  • 796ba672records: #277 slips to day39mre
  • a9eb9827records: mpackdb integrity clean, all 12 tablesmre
  • 6cf40dbdrecords: mpackdb integrity check, shows uncheckedmre
  • 1880f42arecords: day38 deploy may swap normallymre
  • 9d806e35records: mpackdb freeze until day38mre
  • a660239drecords: day37 lacks #277, wait for day38mre
  • b0abfdeaLOG: Anton hybriel#277 fix ready for day37mre
  • 7b5b2918Tracker: hybriel#277 fix comes in day37mre
  • 7ddbeec8Tracker: RV28c blocked on day35 regressionmre
  • 529096e8RV28c: reportmre
  • a4047071RV28c: re-vendor Hybriel set day35 (source cb9e480d, bin 4bb25cfa)mre
  • 765057fbMerge main into rv28c (LOG.md, STATUS.md: both sides kept)mre
  • bf401884Tracker: RV28c startedmre