Repository navigation
fix(billing): stop the AI credits row from scrolling the usage table - #2533
Conversation
…e table stops scrolling The per-feature spend line under AI credits was wider than the usage column and pushed the table into a horizontal scroll. The row now links to the AI credits page with Details, which carries the full breakdown. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This comment has been minimized.
This comment has been minimized.
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
… read fails The link needs no data, so a failed read no longer swaps it for a retry line naming a breakdown the row no longer shows. The retry message goes with it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
🍁 Maple PR previewNote Preview resources were removed when this pull request closed. Final commit |
Maple review🟢 Confidence 10/10 · safe to merge. The failure branch and its retry message are gone, so the Details link renders from row data alone; a scene test pins that on a failed read. The AI credits row drops its per-source spend line, keeping only the Settings › Billing › AI credits link, so the usage table no longer scrolls. F1 is fixed: the link now renders whether or not the AI usage read succeeds.
Fixed since the last review
|
The AI credits row on the billing page showed this cycle's spend by feature ("Code review $230.82 · Security audits $216.05 · ..."). That line was wider than the usage column and pushed the whole usage table into a horizontal scroll.
The row now keeps only the "Details" link to Settings › Billing › AI credits, which already shows the full breakdown. The load failure line with "Try again" is unchanged.
Test plan
billing.scene.test.tspasses (11/11)🤖 Generated with Claude Code
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit