Skip to content

Materialize ballot question testimony counters#42

Open
tripledoublev wants to merge 4 commits intocleanup/bq-css-tokensfrom
cleanup/bq-summary-counters
Open

Materialize ballot question testimony counters#42
tripledoublev wants to merge 4 commits intocleanup/bq-css-tokensfrom
cleanup/bq-summary-counters

Conversation

@tripledoublev
Copy link
Copy Markdown
Member

@tripledoublev tripledoublev commented Apr 9, 2026

Summary

  • store ballot-question testimony counters on ballot question docs and use them in SSR instead of scanning publishedTestimony
  • route testimony publish/delete count updates by scope: regular testimony updates bill counters; ballot-question testimony updates ballot-question counters
  • preserve runtime-managed counters during YAML sync and add a backfill script for existing ballot-question testimony summaries
  • align ballot-question status typing/rendering with the YAML lifecycle values currently in the repo

Verification

  • yarn check-formatting
  • yarn check-types

Notes

  • Attempted affected integration tests, but the local Firebase emulator/auth service was unavailable in this shell (auth/network-request-failed and Firestore hook timeouts), so those could not complete locally (integration tests passed in CI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant