gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitd6d03fa3d6d03fa3mission: T36Bmred6d03fa3/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

  • d6d03fa3mission: T36Bmre
  • e7512d00status: #36 rolled back, retry askedmre
  • c98e2043log: T36A rollbackmre
  • ae905f15Merge t36a: tracker#36 apply rechecks, reportmre
  • 796bfaceT36A: report validated fixes, failed live SSH check and verified rollbackmre
  • 55257852log: #53 live, #56 mergedmre
  • 78b39f1bMerge hm56-rows: tracker#56 list builders insert oncemre
  • 7aea52batmdb fix: protect owners without slugs and record passing gatesmre
  • 9b3c2559tmdb fix: revalidate planned identities and reserve target idsmre
  • 6da612fclog: T36A tool defectmre
  • d56ee0daT36A: report unsafe TMDB apply revalidation and stop before livemre
  • 08e55255log: HM56 done, T36A startedmre
  • 91bcdf0eAvoid per-row list copies and reproduce keyed-row blockersmre
  • 5fd2ac75status: #36 GOmre
  • 0d253b45mission: T36Amre
  • 2aa22d23log: #36 GOmre
  • 833aee2flog: #50 closed, HM56 startedmre
  • ac58c1e5mission: HM56mre
  • 58979c0clog: HM54 held for decision, DP65 startedmre
  • bb2ebc67log: #64 live, #53 mergedmre