Skip to content

Billing: show credits as credits, not dollars - #896

Merged
motatoes merged 1 commit into
mainfrom
credits-not-dollars
Oct 17, 2026
Merged

motatoes merged 1 commit into
mainfrom
credits-not-dollars

Conversation

@opencomputer-app

Copy link
Copy Markdown
Contributor

Follow-up to #891 (this commit landed on its branch after the merge).

Balances and plan allowances show as credits, prices stay in dollars:

  • Billing page: "2,000 credits added every month", "2.29 credits available", breakdown rows, reset line, upgrade dialog.
  • Sidebar meter, low-credit banner, post-session upsell.
  • CLI opencomputer billing and run footers.

CENTS_PER_CREDIT (100 today, 1 credit = $1 in the Autumn catalog) is the one place to change when 1 credit = $0.50 lands (work 070 step 5).

Tests: web 412 pass, tsc -b clean; cli 151 pass.

Requested by @mohamed Habib in Slack

@motatoes
motatoes merged commit 36cca71 into main Oct 17, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant