Skip to content

improvement(usage): drop the segmented allowance meter from the usage summary - #7202

Merged
waleedlatif1 merged 1 commit into
stagingfrom
improvement/remove-usage-allowance-pills
Aug 28, 2026
Merged

improvement(usage): drop the segmented allowance meter from the usage summary#7202
waleedlatif1 merged 1 commit into
stagingfrom
improvement/remove-usage-allowance-pills

Conversation

@waleedlatif1

@waleedlatif1 waleedlatif1 commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Removed the 24-segment allowance meter from the organization usage summary. The line above it — "511,877 credits of 2,000,000" — already states the proportion exactly; the pills restate it approximately, and sitting directly above a chart of the same data in the same colour they read as a third series rather than a summary.
  • The seat meter keeps SegmentedMeter, which is where it belongs: seats are countable, so a pill per seat is legible in a way a pill per ~83,000 credits is not.
  • No signal lost — the "Over limit" badge beside the figure already states the overage, in words.
  • Refreshed the usage-tracking docs screenshot, which predated the source-mix radar and still showed the pills.
  • Corrected two facts that went stale with the last release: the tab table listed BYOK, which is withheld until the ledger carries rows for it, and Open logs now opens the organization audit feed scoped to that workspace rather than the workspace's execution logs.

Type of Change

  • Improvement

Testing

Tested manually. bun run lint:check, bun run check:audits 37/37, bun run docs:check, bun run docs-manifest:check, and type-check all pass.

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)

… summary

The pills answered a question the line above them had already answered. "511,488
credits of 2,000,000" is the proportion, stated exactly; a 24-segment bar restates
it approximately, and directly under a chart of the same data in the same colour it
reads as a third series rather than as a summary.

The seat meter keeps `SegmentedMeter`, where it belongs: seats are countable, so a
pill per seat is legible in a way a pill per ~83,000 credits is not. The overage
signal the meter also carried is unaffected — the "Over limit" badge beside the
figure already states it, and states it in words.
@vercel

vercel Bot commented Aug 28, 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 Aug 28, 2026 6:30am

Request Review

@waleedlatif1
waleedlatif1 merged commit 88a9671 into staging Aug 28, 2026
24 checks passed
@waleedlatif1
waleedlatif1 deleted the improvement/remove-usage-allowance-pills branch August 28, 2026 06:31
@greptile-apps

greptile-apps Bot commented Aug 28, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

Removes the segmented credit-allowance meter from the organization usage summary while retaining the exact usage and limit figures, over-limit badge, and usage chart.

  • Removes the unused SegmentedMeter import and fixed segment-count constant.
  • Keeps the segmented meter unchanged for seat usage.

Confidence Score: 5/5

The PR appears safe to merge because the removed meter duplicated information that remains available in text and carried no assistive-technology semantics.

The change cleanly removes the meter and its now-unused dependencies while preserving finite-limit figures, over-limit status, and the usage chart.

Important Files Changed

Filename Overview
apps/sim/ee/organization-usage/components/usage-summary.tsx Removes a redundant visual-only allowance meter without eliminating the textual limit or overage information.

Reviews (1): Last reviewed commit: "improvement(usage): drop the segmented a..." | Re-trigger Greptile

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