fix(admin-ui): stale-data notice, request timeout and dedupe, hash and format edge cases

Show a persistent notice when a refresh fails while old data is on screen.
Add retry to the Targets and Access Matrix error states.
Give tables names, skeletons a status role and CSV export a live region.
Abort admin requests after 15 seconds and share concurrent identical GETs.
Show a reload prompt when a lazy page chunk fails to load.
Ignore prototype keys in the location hash.
Stop formatContextWindow emitting 1000k, round latency before the 1s cutoff,
and treat NaN as not enough data in the month projection.
Regenerate admin_assets_gen.go.
This commit is contained in:
2026-11-08 01:59:34 +00:00
parent 5f5efa5a8d
commit fcfb298077
31 changed files with 421 additions and 180 deletions
+1 -1
View File
@@ -70,7 +70,7 @@ export function monthProgress(now: Date): number {
* infinite figure for the first sliver of a month.
*/
export function projectMonthEnd(mtdMicros: number, elapsedFraction: number): number | null {
if (elapsedFraction < MIN_PROJECTION_FRACTION) return null
if (!(elapsedFraction >= MIN_PROJECTION_FRACTION)) return null
return Math.round(mtdMicros / elapsedFraction)
}