Skip to content

Flesh out the allocation summary to match the design#70

Merged
kcdragon merged 1 commit into
mainfrom
allocation-summary-design-gaps
Jun 24, 2026
Merged

Flesh out the allocation summary to match the design#70
kcdragon merged 1 commit into
mainfrom
allocation-summary-design-gaps

Conversation

@kcdragon

Copy link
Copy Markdown
Collaborator

Reworks the scenario Allocation summary panel to match the approved design: a header and footer recap equation (On going + One-time = Total), a large ongoing total with an "X% allocated across N causes" caption, a segmented orange→gold progress bar, per-cause color swatches with an ∞ Est. $X /yr in perpetuity estimate, and a one-time "ADD-ON" section that shows each gift's share of the one-time total. Adds Allocation::Ongoing#perpetuity_annual_amount (a fixed 5% payout rate), Allocation::OneTime#share_percentage, and a chart-color palette in ScenariosHelper, all covered by new model tests. Verified end-to-end in a headless browser against the design.

🤖 Generated with Claude Code

Rework the scenario allocation summary panel: a header/footer recap
equation, a large ongoing total with an "X% allocated across N causes"
caption, a segmented progress bar, per-cause color swatches with an
"in perpetuity" annual estimate, and a one-time "ADD-ON" section showing
each gift's share of the one-time total.

Adds Allocation::Ongoing#perpetuity_annual_amount (5% payout rate) and
Allocation::OneTime#share_percentage, plus a ScenariosHelper chart palette.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kcdragon kcdragon merged commit 4fc8664 into main Jun 24, 2026
4 of 5 checks passed
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