Commit 4b5f23c
committed
feat(ui): adopt ErrorState/EmptyState in app.index.tsx's metrics section
app.index.tsx's at-a-glance metrics section hand-rolled its own error and
empty <div>s instead of the shared state-view primitives every other route
uses. Swaps them for ErrorState/EmptyState from @/components/site/state-views,
passing overview.error through as the error detail, with no change to the
overview.status/series.length branching that decides which state renders.
Closes #69831 parent 12d030f commit 4b5f23c
1 file changed
Lines changed: 11 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
169 | 170 | | |
170 | 171 | | |
171 | 172 | | |
172 | | - | |
173 | | - | |
174 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
175 | 178 | | |
176 | 179 | | |
177 | | - | |
178 | | - | |
179 | | - | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
180 | 185 | | |
181 | 186 | | |
182 | 187 | | |
| |||
0 commit comments