gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitb4c8d3a9b4c8d3a9Document tracker#62 fixed-index migration and GC proofmreb4c8d3a9/components/franchisewidget.hl

1.4 KB

  1. // components/franchisewidget.hl — THE FRANCHISE WIDGET on a show / movie page (tracker.worldapi.org#19, mission 066), composed
  2. // by components/show.hl: `FranchiseWidget { widgets = … }` (franchises.hl widgetsOf). One per timeline the title is in:
  3. //
  4. // Star Trek ← the franchise (only when the timeline has one) → its index
  5. // ‹ Prequel | Star Trek — Prime | Sequel › ← links to the title before / after this one; an end is greyed out
  6. //
  7. // The timeline's name links to /timelines/<slug>. Each side shows the title it leads to under the word.
  8. widgets = []
  9. View {
  10. franchiseWidgets {
  11. for (w of widgets) {
  12. franchiseWidget { "data-timeline" = w.id
  13. if (w.hasFranchise) { a { class = "fw-franchise" href = w.franchiseHref w.franchiseName } }
  14. fwRow {
  15. if (w.hasPrev) {
  16. a { class = "fw-side fw-prev" href = w.prevHref title = w.prevTitle
  17. fwDir { "‹ Prequel" }
  18. fwTitle { w.prevTitle }
  19. }
  20. }
  21. if (w.noPrev) { span { class = "fw-side fw-prev off" "aria-disabled" = "true" fwDir { "‹ Prequel" } } }
  22. a { class = "fw-timeline" href = w.href w.name }
  23. if (w.hasNext) {
  24. a { class = "fw-side fw-next" href = w.nextHref title = w.nextTitle
  25. fwDir { "Sequel ›" }
  26. fwTitle { w.nextTitle }
  27. }
  28. }
  29. if (w.noNext) { span { class = "fw-side fw-next off" "aria-disabled" = "true" fwDir { "Sequel ›" } } }
  30. }
  31. }
  32. }
  33. }
  34. }

Branches

Latest commits

  • b4c8d3a9Document tracker#62 fixed-index migration and GC proofmre
  • 66f83de3WIP tracker#62 native person indexes blocked by schema migration gapmre
  • 380ba349Merge packed people order for tracker#62mre
  • b5357ac4Pack the people order and release completed startup arraysmre
  • 90734c6cMerge branch 'hm60-shortids'mre
  • e0db0d1bHM60 report: tracker#60 packed short-ID ownersmre
  • 3c79b576Pack short-ID ownership into byte buffersmre
  • e822524bstatus wordingmre
  • 1c7f0480log: HM60/HM61 startedmre
  • 2841d215missions HM60 HM61mre
  • 289c6ce4HM1 report: heap object breakdownmre
  • 2e7d6257log: HM1 startedmre
  • 2f790465mission HM1: heap object breakdownmre
  • a18957falog: evening re-measure after CBmre
  • aac9a98dlog: evening re-measure startmre
  • 45163bd4log: person/tmdb error hypothesismre
  • cb38de2blog: swap 503 causemre
  • fd10c3d5log: CB livemre
  • 7557c025log: CB deploy try 2mre
  • 06a7534aMerge branch 'cb'mre