Skip to content

fix(billing): standardize credit-usage summary font to proportional figures#5744

Merged
waleedlatif1 merged 1 commit into
stagingfrom
worktree-standardize-credit-font
Jul 17, 2026
Merged

fix(billing): standardize credit-usage summary font to proportional figures#5744
waleedlatif1 merged 1 commit into
stagingfrom
worktree-standardize-credit-font

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • The "Credit usage" summary glance in Billing settings rendered its total (e.g. 285,857 credits) with tabular-nums, which activates the season font's monospaced tabular-figure glyphs — a uniform-width digit set that visibly reads as a different font from the adjacent proportional letters and the rest of the UI.
  • Dropped tabular-nums from that standalone summary span so the digits use season's proportional figures and match surrounding text. The aligned-column credit costs in the usage-log list keep tabular-nums (correct there — numbers are stacked in a column).

Type of Change

  • Bug fix

Testing

Tested manually

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Jul 17, 2026 8:41pm

Request Review

@cursor

cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Single Tailwind class removal on a billing settings display string; no logic, API, or data-handling changes.

Overview
Billing settings — the compact Credit usage total (e.g. 285,857 credits) no longer uses the tabular-nums utility on its main label span.

That class forced monospaced tabular digits in the season font, which looked inconsistent next to proportional text in the same glance. The change is limited to this standalone summary line; aligned numeric columns elsewhere (such as usage-log lists) are unchanged and still use tabular-nums where column alignment matters.

Reviewed by Cursor Bugbot for commit e74f8f6. Configure here.

@greptile-apps

greptile-apps Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR makes the Credit usage summary use proportional figures.

  • Removes tabular-nums from the standalone total-credit label.
  • Keeps tabular figures on aligned usage-log values.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
apps/sim/app/workspace/[workspaceId]/settings/components/billing/components/credit-usage-section/credit-usage-section.tsx Removes the tabular-figure utility from a standalone credit summary without changing its data or state behavior.

Reviews (1): Last reviewed commit: "fix(billing): standardize credit-usage s..." | Re-trigger Greptile

@waleedlatif1
waleedlatif1 merged commit ec75084 into staging Jul 17, 2026
20 checks passed
@waleedlatif1
waleedlatif1 deleted the worktree-standardize-credit-font branch July 17, 2026 20:58
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