Ballot question 2024 data#55
Conversation
b660a13 to
2c4016a
Compare
|
Requests:
|
|
Campaign FinancialsSorry for the back and forth on this. Per MV's confirmation, let's change our headers and tooltips to:
And introduce some visual separation between 'receipts' (which is the only category that is about raising money) and all the others (which are about spending money). Maybe just a vertical line, between receipts and everything else? There is a complicated thing we're trying to communicate where 'receipts' is inflow, 'expenditures' is outflow, and 'inkind' is somehow both, but the 'total' is only reflecting the total outflows. General YAMLsFor the 2024 ballot question fields we've added, I'd like them to always be present but null if the information is not available yet so that the admin has an easier time just filling in fields instead of creating them, and the tabs still show up but don't contain any info yet. This is most important for identifying the support/oppose committees right off the bat on the for/against tab. Currently, I can't populate those fields with null for the 2026 questions. |
|
Does " |
I think we have some YAML fields to adjust as well based on my response 🤔 Then we would expect that the admin fills out the supportCommittee and opposeCommittee info quite early on (info is available even now for 2026). Then my response is:
|
Question: the For/Against tab will only show committee names and "No official statement has been made" once supportCommittee/opposeCommittee are filled in. Should I add a statement that mentions the information is not yet available? Edit: See comments below for full list of changes. |
|
Changes:
|
Per focus group feedback, the vote effects and fiscal consequences sections are important but don't warrant their own tabs. Moved them to the Overview tab and removed the Synthesis tab entirely. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Create new ForAndAgainstTab component to display official proponent/opponent arguments from the voter guide - Enable for_against tab in navigation when ballot question has inFavor or against arguments - Update Campaign Financials metric labels for clarity: "Spent" → "Cash spent", "In-kind" → "Non-cash donations raised", "Total" → "Total cash value of campaign" - Add tooltip explaining total calculation (cash raised + non-cash donations) Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Add proponent committee names from campaign financials above each argument section in the For & Against tab. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Add disclaimer tooltip to For & Against tab explaining that arguments are written by proponents/opponents and reflect opinions, not Commonwealth endorsement - Add full explanatory tooltips to Campaign Financials metric labels: - Cash raised: monetary contributions made directly to the campaign - Cash spent: cash spent by the campaign to support its objectives - Non-cash donations raised: cash value of contributions in goods, services, or commodities - Total cash value: value of cash and in-kind expenditures made by the campaign Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Move the legal disclaimer from a tooltip on the Arguments heading to the paragraph below for better readability and visibility. The disclaimer explains that arguments are written by proponents/opponents and reflect opinions, not Commonwealth endorsement. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
The section headings are self-explanatory, so remove the redundant tooltips. Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Adds voteEffectYes, voteEffectNo, fiscalConsequences, inFavor, against, supportCommittee, opposeCommittee, and campaignFinancials as null so admins can fill them in without creating new keys.
Campaign financials: - Rename metrics to Receipts, Expenditures, Inkinds, Total with updated tooltips - Fix Total to reflect spent + inKind (outflows only) - Group Expenditures/Inkinds/Total in a distinct muted surface to communicate they are a separate category from Receipts For & Against tab: - Show support/oppose committee names from new top-level fields - Always show the tab; display 'No official statement has been made' when inFavor/against are null but a committee is identified - Campaign financials tab always shown; empty state when data unavailable
…el fields - supportCommittee/opposeCommittee changed from string[] to string - Remove committee field from CampaignFinanceEntry; CampaignFinancialsTab now reads committee name from top-level supportCommittee/opposeCommittee - ForAndAgainstTab updated for string type
87545f1 to
2657618
Compare
|
Follow-up on the above:
|
- Remove md col props so nav is full-width below lg - Hide Explore header below lg - Make tab row horizontally scrollable below lg to prevent overflow
|
yeet, looks great |
Summary
YAML shape
Each 2024 ballot-question fixture now includes these phase-1 fields:
Validation
Notes