aboutsummaryrefslogtreecommitdiff
path: root/todo.org
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-07-17 18:39:03 -0500
committerCraig Jennings <c@cjennings.net>2026-07-17 18:39:03 -0500
commit1f5f0bfd7d04ec05c3c9332ff458a020868b96d9 (patch)
treeecd8338f083a5f95ad26e4f87b33a8d3ef08ae66 /todo.org
parent4d5935d60974f4c735b589a63131801e7a52ae8c (diff)
downloadarchsetup-1f5f0bfd7d04ec05c3c9332ff458a020868b96d9.tar.gz
archsetup-1f5f0bfd7d04ec05c3c9332ff458a020868b96d9.zip
refactor(gallery): extract the shared tally-row markup
The validation and policy tallies were built from the same dot/label/count row template, written out per bucket in both. That template is now tallyRow() and tallyTotal(), so the markup has one source and the next index tally reuses it. The differing count and jump logic stays in each function, since those genuinely diverge: the validation tally drives the floating audit stepper, the policy tally a plain hash cycle. Also hoisted GW.POLICIES[kind] to a local in card(), where it was read three times. Behaviour-preserving: the output HTML is byte-identical.
Diffstat (limited to 'todo.org')
0 files changed, 0 insertions, 0 deletions