gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6159a2486159a248Merge branch 'hm62-personindex' into rv44mre6159a248/components/genres.hl

1.0 KB

  1. // components/genres.hl — `/genres` (tracker#32, mission 031: the main menu's Genres): every genre that has public titles, A–Z, with
  2. // how many; each links to its page `/genres/<genre>` (components/genre.hl). The list: catalog.hl genreList.
  3. parent './main.hl'
  4. import { appTitle } from '../project.hl'
  5. import { genreList } from '../lib/catalog.hl'
  6. import { warmReady, warmText } from '../lib/warm.hl'
  7. rows = genreList()
  8. __title = 'Genres — ' + appTitle
  9. // mission T17 (boot time): the server listens while bootscan.hl still builds the lists / slug maps / search index (lib/warm.hl); until the 'catalog'
  10. // stage is there this page says so instead of showing half a map
  11. warming = !warmReady('catalog')
  12. warmNote = warming ? warmText() : ''
  13. View {
  14. listPage { id = "genres-list"
  15. if (warming) { p { id = "warming" class = "message banner" warmNote } }
  16. h1 { class = "typed" typeWord { class = "type-word type-genre" "Genres" } }
  17. genreLinks {
  18. for (g of rows) { a { class = "genre-link" href = g.href genreName { g.name } genreCount { g.count } } }
  19. }
  20. }
  21. }

Branches

Latest commits

  • 6159a248Merge branch 'hm62-personindex' into rv44mre
  • a8923d93log: RV44 startedmre
  • cf28cf77mission RV44mre
  • 585782dfLog: tracker#60 Chrome look, STATUS rewrittenmre
  • 147d0172conductor: caramboleyo is the user, not owner/creatorApollo
  • 21dd0cfblog: #60 live measurement, reviewmre
  • 7793cf94HM62b report: person indexes with fixed mpackdbmre
  • b4c8d3a9Document tracker#62 fixed-index migration and GC proofmre
  • 09d66ed5status: #60 livemre
  • 4171672flog: #60 livemre
  • f52862a2log: HM62b startedmre
  • 88fde2c4mission HM62bmre
  • a722e526log: #62 blocked by hybriel#317mre
  • 074a7418log: #62 assigned to Tracker; pending rulemre
  • 06f6ae8fHM62 report: mpackdb index gapmre
  • 66f83de3WIP tracker#62 native person indexes blocked by schema migration gapmre
  • 380ba349Merge packed people order for tracker#62mre
  • 86fe5430log: HM62 startedmre
  • 755307bbmission HM62mre
  • 4b2f2995HM61 report: tracker#61 packed people ordermre