gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitec54fc35ec54fc35Move show page logic into the shows topicmreec54fc35/tests/hm56-upsert-order.hl

781 B

  1. // tracker#56: new season episodes must precede the next season, and @ keys must retain row identity.
  2. // Run with bin/hybriel tests/hm56-upsert-order.hl. This is a framework repro, not an app workaround.
  3. import ViewReader from '../plugins/web/view.hl'
  4. reader = new ViewReader()
  5. rows = [{ @id = 's2' label = 'Season 2' }, { @id = 's1' label = 'Season 1' }]
  6. console.log('initial keys: ' + JSON.stringify(reader.listKeys(&rows)))
  7. rows.upsert({ @id = 's2' label = 'Season 2 expanded' })
  8. rows.upsert({ @id = 's2e1' label = 'Season 2 episode 1' })
  9. console.log('expected order: s2,s2e1,s1')
  10. console.log('actual order: ' + JSON.stringify(rows))
  11. rows.remove('s2')
  12. console.log('keys after removing s2: ' + JSON.stringify(reader.listKeys(&rows)))
  13. console.log('expected stable keys: s1,s2e1')

Branches

Latest commits

  • 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
  • 78ee6b56Move remaining component styles into Style blocksmre
  • 7f04de33log: HM49Bmre
  • 00616cf3log: #49 batch merged, DP67 startedmre
  • d7232e86Merge hm49-styles: tracker#49 first batch of component stylesmre
  • 079f376dMove seven components' styles into Style blocksmre
  • 17d66feelog: #58 mergedmre
  • 69a6640bMerge hm58-map: tracker#58 project.hl only the mapmre