tracker
All repositories: gitoria
1.7 KB
// components/people.hl — `/people`, `/people/page/<n>` (tracker#37, mission 032: the main menu's People). Creator: "/people just// lists persons by last one updated with poster name and pagination": everyone, the one updated last first, photo + name tiles// (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// peoplePage (a view built once at boot — no scan per load). The grid and the pagination: components/tilelist.hl, like /movies.parent './main.hl'import TileList from './tilelist.hl'import { appTitle } from '../project.hl'import { peoplePage, peopleCount } from '../lib/people.hl'import { warmReady, warmText } from '../lib/warm.hl'page = nulllisting = peoplePage(&page)tiles = listing.tilespageNo = listing.pagepageCount = listing.pagestotal = peopleCount()countText = total + (total == 1 ? ' person' : ' people') + ', last updated first · page ' + pageNo + ' of ' + pageCountbasePath = '/people'__title = pageNo > 1 ? 'People, page ' + pageNo + ' — ' + appTitle : 'People — ' + appTitle// mission T17 (boot time): the server listens while bootscan.hl still builds the lists / slug maps / search index (lib/warm.hl); until the 'all'// stage is there this page says so instead of showing half a mapwarming = !warmReady('all')warmNote = warming ? warmText() : ''View {listPage { id = "people-list"if (warming) { p { id = "warming" class = "message banner" warmNote } }h1 { class = "typed" typeWord { class = "type-word type-person" "People" } }p { class = "muted list-count" countText }TileList { tiles = tiles page = pageNo pages = pageCount basePath = basePath tileClass = "tile person-tile" }}}
Branches
Latest commits
- d1a91be9Merge hm57-let: tracker#57 let only for reassigned namesmre
- a404ed75Report HM57 audit, gates and integration notesmre
- 1dcb87a7Use plain declarations for unchanged bindingsmre
- b90395e3log: HM51 mergedmre
- 9888d076Merge hm51-classes: tracker#51 views use Style referencesmre
- 4399bc2fReference remaining component-owned root Style rulesmre
- 9edcc2dflog: #58 live, HM57 startedmre
- 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre
- aed12917Reference owned Style rules in genres and searchmre
- 14195720log: HM49B done, HM51 startedmre
- 78ee6b56Move remaining component styles into Style blocksmre
- 7f04de33log: HM49Bmre
- 00616cf3log: #49 batch merged, DP67 startedmre
- d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre
- 079f376dMove seven components' styles into Style blocksmre
- 17d66feelog: #58 mergedmre
- 69a6640bMerge hm58-map: tracker#58 project.hl only the mapmre
- a85f7900Move route logic out of the project mapmre
- 13dea5belog: #56 live, HM49 and HM58 startedmre
- a31c8f2fdocs: tracker#36 remaining listmre