Commit 28a206b
UN-3380 [FIX] Dashboard UI/UX improvements (#1897)
* UN-3380 [FIX] Dashboard UI/UX improvements
- Fix side padding to 14px for consistency with rest of product
- Add white background to tab content area
- Remove duplicate refresh button from Usage by Deployment table
- Wire global refresh to also trigger deployment data refetch
- Add sort on Last Run column in deployment usage table
- Upgrade Subscription tab with area chart, summary stats, and last 30 active days window
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* UN-3380 [FIX] Address review feedback: useEffect cleanup and PropTypes
- Add cleanup function to refetchRef useEffect to prevent stale closures
- Narrow refetchRef PropTypes from object to shape({ current: func })
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* UN-3380 [FIX] Wrap dashboard content in white container matching island-layout
Follows the same pattern as API Deployments and other pages where
the entire content area (topbar, tabs, tab content) sits inside a
white container box.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* UN-3380 [FIX] Align tabs bar with dashboard header
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* UN-3380 [FIX] Compact token formatting and cleaner execution column
- Tokens: show as 12.6M/4.6K with full value on hover
- Executions: inline compact display instead of spilling Tag components
- Tabs nav alignment with dashboard header padding
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* UN-3380 [FIX] Scope tab CSS to top-level tabs only, avoid nested leak
Use direct child selectors on .metrics-dashboard-container to prevent
padding from leaking into the nested deployment-type-tabs.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* UN-3380 [FIX] Fix biome: CSS selector formatting and Header block statement
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent fe023c0 commit 28a206b
4 files changed
Lines changed: 343 additions & 140 deletions
File tree
- frontend/src/components
- custom-tools/header
- metrics-dashboard
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
315 | 315 | | |
316 | 316 | | |
317 | 317 | | |
318 | | - | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
319 | 321 | | |
320 | 322 | | |
321 | 323 | | |
| |||
Lines changed: 60 additions & 36 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
10 | 8 | | |
11 | 9 | | |
12 | 10 | | |
| |||
17 | 15 | | |
18 | 16 | | |
19 | 17 | | |
20 | | - | |
| 18 | + | |
21 | 19 | | |
22 | 20 | | |
23 | 21 | | |
| |||
26 | 24 | | |
27 | 25 | | |
28 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
29 | 45 | | |
30 | 46 | | |
31 | 47 | | |
| |||
47 | 63 | | |
48 | 64 | | |
49 | 65 | | |
50 | | - | |
51 | | - | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
52 | 72 | | |
53 | 73 | | |
54 | 74 | | |
| |||
68 | 88 | | |
69 | 89 | | |
70 | 90 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
88 | 108 | | |
89 | 109 | | |
90 | | - | |
| 110 | + | |
91 | 111 | | |
92 | 112 | | |
93 | 113 | | |
| |||
110 | 130 | | |
111 | 131 | | |
112 | 132 | | |
| 133 | + | |
| 134 | + | |
113 | 135 | | |
114 | 136 | | |
115 | 137 | | |
116 | 138 | | |
117 | 139 | | |
118 | | - | |
| 140 | + | |
119 | 141 | | |
120 | 142 | | |
121 | 143 | | |
| |||
124 | 146 | | |
125 | 147 | | |
126 | 148 | | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
127 | 161 | | |
128 | 162 | | |
129 | 163 | | |
| |||
167 | 201 | | |
168 | 202 | | |
169 | 203 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | 204 | | |
182 | 205 | | |
183 | 206 | | |
| |||
222 | 245 | | |
223 | 246 | | |
224 | 247 | | |
225 | | - | |
226 | 248 | | |
227 | 249 | | |
228 | 250 | | |
| |||
244 | 266 | | |
245 | 267 | | |
246 | 268 | | |
| 269 | + | |
247 | 270 | | |
248 | 271 | | |
249 | 272 | | |
250 | 273 | | |
251 | 274 | | |
| 275 | + | |
252 | 276 | | |
253 | 277 | | |
254 | 278 | | |
0 commit comments