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 '../lib/app.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
- f88ae8b9|||PR records: day56 toggle live, reviewTracker
- b6b3bb4dMerge branch 'ap56e' into mainTracker
- 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker
- 7c9ec236|||PR AP56e: re-vendor Hybriel set day56 (source 36ae83a8, bin c1f595a2)Tracker
- 4b54f6f9Merge branch 'records-audit' into mainTracker
- cab4a3bc|||PR records: branch audit, PR-onlyTracker
- 641e1c4cMerge branch 'records-dp71' into mainTracker
- 85a6e9f5|||PR records: DP71 checked in ChromeTracker
- f5be5f18records: gitoria PR-only planTracker
- 46a37036records: DP71 liveTracker
- 3bcb7039Status/log: DP71 in progressTracker
- 5b3a5693Log: SR1b merged via PR 2, DP71 startedTracker
- 783957c2Merge branch 'sr1-search' into mainTracker
- 792b9652README: search results come from the routeTracker
- fd8570b1|||PR search: one server exchange per keystrokeTracker
- e8f5cbcaLog: SR1 result, SR1bTracker
- 8ad275a4Log/status: tracker 68, SR1Tracker
- f5a06a0fLog: gitoria push setup, SR1Tracker
- d6b109baMission SR1mre
- 608b7558Log: FF1 merged via PR #1mre