From 003453fa3cb599341e053d807f71891503794fcd Mon Sep 17 00:00:00 2001 From: pptx704 Date: Sat, 18 Apr 2026 14:46:01 +0600 Subject: [PATCH] Normalize usage page layout and clarify copy Separate summary cards with proper surface hierarchy, add staggered entrance animations, tighten padding, and rewrite labels/descriptions to be specific and actionable rather than generic. --- .../src/routes/dashboard/usage/+page.svelte | 97 ++++++++++--------- 1 file changed, 50 insertions(+), 47 deletions(-) diff --git a/frontend/src/routes/dashboard/usage/+page.svelte b/frontend/src/routes/dashboard/usage/+page.svelte index 21c32a8..fc4a813 100644 --- a/frontend/src/routes/dashboard/usage/+page.svelte +++ b/frontend/src/routes/dashboard/usage/+page.svelte @@ -296,7 +296,7 @@ Usage

- Resource consumption and execution metrics across your team. + CPU and memory consumed by your capsules, aggregated daily.

@@ -307,30 +307,33 @@
-
- {#each PRESETS as p, i} - - {/each} +
+ Period +
+ {#each PRESETS as p, i} + + {/each} +
-
+
- to + to - Loading usage data... + Loading usage data…
{:else if data && data.points.length === 0} @@ -376,44 +379,44 @@

- No usage data yet + No usage recorded

- Usage will appear here once capsules have been running. + Metrics appear here once you run a capsule. Create one to get started.

{:else if data} -
+
- -
-
- - Total CPU-Minutes + +
+
+ + CPU time
-
-
+
+
{fmtNumber(totalCpuMinutes)}
-
- {fromInput} — {toInput} +
+ minutes
- -
-
- - Total RAM GB-Minutes + +
+
+ + Memory
-
-
+
+
{fmtNumber(totalRamGBMinutes)}
-
- {fromInput} — {toInput} +
+ GB-minutes
@@ -421,14 +424,14 @@
-
+
-
-
+
+
- - CPU · Minutes + + CPU minutes per day
@@ -437,11 +440,11 @@
-
-
+
+
- - RAM · GB-Minutes + + Memory GB-minutes per day