Skip to content

fix(seer-billing): Drop the total from the Seer credit meter tooltip - #132038

Merged
billyvg merged 2 commits into
masterfrom
billyvong/cw-3126-seer-agent-sidebar-credit-denominator-is
Nov 20, 2026
Merged

billyvg merged 2 commits into
masterfrom
billyvong/cw-3126-seer-agent-sidebar-credit-denominator-is

Conversation

@billyvg

@billyvg billyvg commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Note: this is still wrong when daily limit is configured, but that requires backend changes. This is just what we can clean-up now to make it slightly less confusing.

Slop

The tooltip on the Seer chat's credit usage meter read "0/500 credits remaining." The bug bash found the denominator confusing: it shrinks as credits are used and always ends at 500. In the Nov 18 meeting we decided to remove it, so the tooltip now shows only the credits remaining ("250 credits remaining.", or "1 credit remaining.").

The total shrinks because the wallet endpoint doesn't know how much credit was bought, so it reports what's left of the purchased credits as their total (getsentry/api/customer_seer_wallet.py). Once purchased credits run out, the total is just the included credits.

SeerCreditUsageMeterView no longer takes total, since nothing else read it. This PR needs no backend change and can merge now. #132058 adds the daily usage limit to the meter on top of it, and that one waits for the backend.

The meter's tooltip in the Auto-reload off and Auto-reload on stories, each reading "250 credits remaining."

Refs CW-3126

🤖 Generated with Claude Code

The tooltip on the Seer chat's credit meter read "0/500 credits
remaining." The wallet only knows what's left of the purchased credits,
so the total shrank as they were used, down to the included credits,
and the denominator confused people. Show only the credits remaining.

Fixes CW-3126

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label Nov 20, 2026
@linear-code

linear-code Bot commented Nov 20, 2026

Copy link
Copy Markdown

CW-3126

@github-actions

github-actions Bot commented Nov 20, 2026 •

Copy link
Copy Markdown
Contributor

Story previews

Preview the stories changed in this PR on the Vercel deployment:

Preview deployment: https://sentry-4z70gaqrh.sentry.dev

@billyvg
billyvg force-pushed the billyvong/cw-3126-seer-agent-sidebar-credit-denominator-is branch from d861836 to 34bb817 Compare November 20, 2026 20:41
@billyvg
billyvg marked this pull request as ready for review November 20, 2026 20:46
@billyvg
billyvg requested a review from a team as a code owner November 20, 2026 20:46
@billyvg
billyvg merged commit 03c7bc7 into master Nov 20, 2026
80 checks passed
@billyvg
billyvg deleted the billyvong/cw-3126-seer-agent-sidebar-credit-denominator-is branch November 20, 2026 22:19

This branch was successfully deployed

1 active deployment
Preview — 14c98ab8 Deployed Nov 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants