improvement(usage): drop the segmented allowance meter from the usage summary - #7202
Merged
Merged
Conversation
… 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.
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile SummaryRemoves the segmented credit-allowance meter from the organization usage summary while retaining the exact usage and limit figures, over-limit badge, and usage chart.
Confidence Score: 5/5The 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.
|
| 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
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.Type of Change
Testing
Tested manually.
bun run lint:check,bun run check:audits37/37,bun run docs:check,bun run docs-manifest:check, and type-check all pass.Checklist