gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commite55b379de55b379dKeep shared app title independent of the route import graphmree55b379d/lib/catalog-entries.hl

561 B

  1. // Catalog rows use alternating id/key slots; only a sort materializes temporary rows.
  2. // The existing stable comparison preserves ties and accepts every existing key string.
  3. import { sortDesc } from './util.hl'
  4. static appendEntry = (&list, &id, &key) => {
  5. list.push(id)
  6. list.push(key)
  7. return null
  8. }
  9. static sortEntries = (&list) => {
  10. rows = []
  11. for (let i = 0; i < list.length; i = i + 2) {
  12. rows.push({ id = list[i] key = list[i + 1] })
  13. }
  14. sorted = sortDesc(&rows)
  15. out = []
  16. for (row of sorted) { appendEntry(&out, &row.id, &row.key) }
  17. return out
  18. }

Branches

Latest commits

  • e55b379dKeep shared app title independent of the route import graphmre
  • 85fa6c9blog: CB68 result, CB69 startedmre
  • 2f07c1b7log: DP68 boot gate failed, CB68mre
  • 9652782dlog: HM59 merged, DP68 startedmre
  • 29867a75Merge hm59-logic: tracker#59 page logic moved to libmre
  • f7bfe90bMove remaining page builders into their topicsmre
  • 7c3991f9log: day46 from Antonmre
  • ec54fc35Move show page logic into the shows topicmre
  • c1a8d074log: correct timesmre
  • 5827eba9log: HM57 merged, HM59 startedmre
  • d1a91be9Merge hm57-let: tracker#57 let only for reassigned namesmre
  • a404ed75Report HM57 audit, gates and integration notesmre
  • 1dcb87a7Use plain declarations for unchanged bindingsmre
  • b90395e3log: HM51 mergedmre
  • 9888d076Merge hm51-classes: tracker#51 views use Style referencesmre
  • 4399bc2fReference remaining component-owned root Style rulesmre
  • 9edcc2dflog: #58 live, HM57 startedmre
  • 73fa20ddMerge hm49b-styles: tracker#49 rest of the component stylesmre
  • aed12917Reference owned Style rules in genres and searchmre
  • 14195720log: HM49B done, HM51 startedmre