Skip to content

refactor(apps): show per-service and per-volume usage as bars - #89

Merged
v0l merged 2 commits into
mainfrom
feat/usage-bars-per-service
Jul 29, 2026
Merged

refactor(apps): show per-service and per-volume usage as bars#89
v0l merged 2 commits into
mainfrom
feat/usage-bars-per-service

Conversation

@v0l

@v0l v0l commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

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:

  • Per-service: CPU and RAM each as a fraction of the deployment's own quota.
  • Per-volume: storage as a fraction of the deployment's storage quota.

No API or data-shape changes — same usageBreakdown/usageBarReading
helpers, already covered by app-deployment.test.ts.

Verified at 1283a6f: tsc --noEmit clean, bun test (33 pass), bun run build clean. bun run lint still exits 1 on the pre-existing
server/prod.ts:13 error, unrelated to this file. Page is login-gated with
no loader, noindex, same as the rest of /account/* — no rendered
screenshot; smoke-rendered the two new row components to static markup to
check the Tailwind layout instead.

v0l added 2 commits July 29, 2026 11:26
Both breakdowns were plain tables; each row is now a compact percentage bar against the deployment's own quota, matching the totals above them.
@v0l
v0l merged commit 2e4e676 into main Jul 29, 2026
3 checks passed
@v0l
v0l deleted the feat/usage-bars-per-service branch July 29, 2026 11:37
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