fix(admin-ui): page-level loading, stale and form fixes

Fetch the consumers list on the user detail page so admin and grant data show on a deep link.
Gate Recent errors, the Spend total and the forecast card on load state instead of showing zeros.
Show a stale notice on top lists when a refresh fails.
Clear the target name when the target kind changes.
Ignore out-of-order config responses.
Wrap long group names and event messages, and announce projected budget overruns to screen readers.
Regenerate admin_assets_gen.go.
This commit is contained in:
2026-11-08 02:04:23 +00:00
parent fcfb298077
commit 05a7c114f5
10 changed files with 158 additions and 78 deletions
+2 -2
View File
@@ -219,7 +219,7 @@ function retryPricingHealthTable(): Promise<void> {
</div>
<div class="text-right">
<p class="text-xs font-medium text-muted-foreground">{{ SPEND_METRIC_LABEL[metric] }} in range</p>
<p class="text-2xl font-semibold tabular-nums">{{ valueFormatter(totalInRange) }}</p>
<p class="text-2xl font-semibold tabular-nums">{{ breakdownState === 'ready' ? valueFormatter(totalInRange) : '—' }}</p>
</div>
</div>
<p v-if="byDisabled" class="text-sm text-muted-foreground">
@@ -285,7 +285,7 @@ function retryPricingHealthTable(): Promise<void> {
:error="spend.burndownError"
:on-retry="spend.refresh"
/>
<CostForecastCard v-if="forecastAvailable" :mtd-micros="scopeMtdMicros" :limits="scopeLimits" :now="now" />
<CostForecastCard v-if="forecastAvailable && dashboard.usage" :mtd-micros="scopeMtdMicros" :limits="scopeLimits" :now="now" />
</div>
<CostAvoidedCard