Flesh out the allocation summary to match the design#70
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 perpetuityestimate, and a one-time "ADD-ON" section that shows each gift's share of the one-time total. AddsAllocation::Ongoing#perpetuity_annual_amount(a fixed 5% payout rate),Allocation::OneTime#share_percentage, and a chart-color palette inScenariosHelper, all covered by new model tests. Verified end-to-end in a headless browser against the design.🤖 Generated with Claude Code