feat: display 5 year projected balance on money account deposit page#29607
feat: display 5 year projected balance on money account deposit page#29607
Conversation
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 29fa361. Configure here.
🔍 Smart E2E Test Selection
click to see 🤖 AI reasoning detailsE2E Test Selection:
Tag Selection Rationale:
Not selected:
Performance Test Selection: |
|




Description
Show 5 year projected balane on money account deposit page.
Changelog
CHANGELOG entry:
Related issues
Fixes: https://consensyssoftware.atlassian.net/browse/CONF-1296
Manual testing steps
Screenshots/Recordings
Pre-merge author checklist
Performance checks (if applicable)
trace()for usage andaddTokenfor an exampleFor performance guidelines and tooling, see the Performance Guide.
Pre-merge reviewer checklist
Note
Low Risk
Low risk UI-only change that conditionally swaps a display component on the money account deposit flow; no transaction-building or signing logic is modified.
Overview
Shows a new “Projected 5-year balance” line on
moneyAccountDepositamount entry screens, replacing the usualPayTokenAmountdisplay inCustomAmountInfo.Adds a
ProjectedFiveYearBalancecomponent that compounds the entered fiat amount using the vault APY fromuseMoneyAccountBalanceand formats it viauseFiatFormatter, with guardrails to render nothing when APY/amount are invalid or loading. Updates tests/mocks accordingly and introduces theconfirm.custom_amount.projected_five_year_balancelocale string.Reviewed by Cursor Bugbot for commit 1b0c7e2. Bugbot is set up for automated code reviews on this repo. Configure here.