Repository navigation
fix(frontend): money confirms state what is bought and how much - #781
Conversation
Execute now, Run now and the RI exchange execute confirm now show a shared stat band (charged today, monthly, total over term) plus the commitment lines with account and region, focus Cancel first, and Run now ignores a second click while its dialog or request is open. The RI exchange confirm names source and target instance types instead of offering UUIDs and shows the hourly price change from the quote. Refs #707, #709, #701, #711 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The confirm shows the instance type first and the offering id next to it, so the exact target stays verifiable. Refs #709 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…y fees The approval confirm shows "Upfront on approval" instead of "Charged today", since nothing is charged until the approver acts. A line that is not all upfront with no monthly figure says monthly fees apply. The exchange price change names its currency. Refs #707, #709 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ange confirm Refs #709 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Refs #707 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Warning Review limit reached
This review includes 10 billable files and costs up to $2.50.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 46 minutes for your next included review. View limit detailsLimit details: You’ve used the included review currently available. Your 86 included PR review attempts over the past 7 days set your current allowance at 1 review per hour. Review configuration: ⚙️ Run configuration
📒 Files selected for processing (10)
Comment |
|
Delta review (cloud-commitments-coordinator subagent): equivalence to #764 @7d66c1a9 APPROVE at 27d5801.
|
Independent review (rv-ux-visual): PR #781 at
|
|
Merged as 6248db2 (squash, match-head 27d5801). Gate: rv-ux-visual round-3 approval of #764 at 7d66c1a carried over; equivalence review at 27d5801 found diffs identical (comment 6081466742). CI 27/27 green, CLEAN/MERGEABLE. Local at 27d5801 (git archive): npm ci 0, tsc --noEmit 0, npm test --silent 0 (3168 passed, 1 skipped), npm run lint 0 (0 errors, 125 warnings). |
…e approve and quote (#1363) The Execute confirm already names instance types and the hourly price change (#781), but two money surfaces still showed the opaque view: the quote summary listed raw source and target hourly prices with no delta, and the Approve confirm in exchange history led with the target offering UUID as one run-on sentence. The quote summary now adds an Hourly Price Change row, and the Approve confirm uses the same labeled lines as Execute (Exchange: 2 x m5.large (ri ids), For: 1 x m5.xlarge (offering id)), so the user can see what an irreversible exchange swaps before committing. The confirm body builders move to riexchange-confirm.ts so the Execute and Approve dialogs share one formatter and riexchange.ts shrinks. The two openExchangeModal describes now re-seed listTargetOfferings, since a resetAllMocks elsewhere in the file broke them under --randomize. Refs #709 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
The Execute now and Run now confirms already state what is bought and how much (#781), but the bulk (fan-out) "Send N bulk purchases for approval?" confirm still said only how many requests and emails would go out. It now uses the same commitment summary as the single-purchase confirm: the combined upfront on approval, monthly and total over term across every bucket, one line per commitment with account and region, and a confirm button that names the upfront amount. The rec-to-summary-line mapping is shared by both paths. Refs #707 Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Supersedes #764
#764 was stacked on #763's branch (
fix/ux-confirm-dialogs). #763 was squash-merged to main as 2360338, so #764's branch still carries #763's pre-squash commits and is BLOCKED. A force-push is not allowed, so this PR replays #764's own five commits onto current main (cherry-pick, no force-push). Intent and content are unchanged; nothing was added.Commits (original messages, in order)
Conflict resolutions: none; all five cherry-picks applied cleanly.
Equivalence
git diff origin/fix/ux-confirm-dialogs origin/fix/ux-money-confirms(#764 vs its base) andgit diff origin/main HEAD(this PR) are identical apart fromindexhash lines (632 lines each, no differing hunks).What
Original description from #764: shared
commitmentSummary.tsstat band and commitment lines; Execute now, Run now and RI exchange confirms state what is bought and how much (Total over term shows "Not reported" instead of a fake$0).Refs #707, #709, #701, #711.
Verification (frontend/, on this head)
npm ci0,tsc --noEmit0, jest 100 suites / 3168 passed, 1 skipped (exit 0), eslint 0 errors (exit 0).🤖 Generated with Claude Code