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
- 91bcdf0eAvoid per-row list copies and reproduce keyed-row blockersmre
- 2aa22d23log: #36 GOmre
- 833aee2flog: #50 closed, HM56 startedmre
- ac58c1e5mission: HM56mre
- 58979c0clog: HM54 held for decision, DP65 startedmre
- bb2ebc67log: #64 live, #53 mergedmre
- 27cde42fMerge hm53-dom: tracker#53 inputs bound to membersmre
- 2156cc7flog: HM54 reviewmre
- 9fb82efclog: HM54 gap, fill continuesmre
- b632eb8dlog: HM53 done, HM54 startedmre
- ccb1a263tracker#53: bind editor drafts and use key event focus targetmre
- 3356fcfclog: #52 blocked, HM53 startedmre
- 833dcfc9Merge hm52-search: report only, tracker#52 blocked by framework gapmre
- 73010cc0HM52: report replace-navigation search draft regressionmre
- 1742e92bstatus: DP64 and HM52 runningmre
- 29ad5b58log: #64 merged, DP64 and HM52 startedmre
- fafddbf9Merge hm64-catalog: tracker#64 catalog from packed entriesmre
- b2e2206dlog: #63 livemre
- 5831e0e0log: HM64 donemre
- 4042b923Flatten catalog membership rows into paired slotsmre