refactor(apps): show per-service and per-volume usage as bars - #89
Merged
Conversation
Both breakdowns were plain tables; each row is now a compact percentage bar against the deployment's own quota, matching the totals above them.
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.
From the general channel — continuing the deployment usage work after #84.
The per-service and per-volume breakdowns under the usage totals were plain
tables. Both now render as compact percentage bars instead, coloured by the
same warning/critical tiers as the totals bars above them:
No API or data-shape changes — same
usageBreakdown/usageBarReadinghelpers, already covered by
app-deployment.test.ts.Verified at
1283a6f:tsc --noEmitclean,bun test(33 pass),bun run buildclean.bun run lintstill exits 1 on the pre-existingserver/prod.ts:13error, unrelated to this file. Page is login-gated withno loader,
noindex, same as the rest of/account/*— no renderedscreenshot; smoke-rendered the two new row components to static markup to
check the Tailwind layout instead.