codeburn/app/renderer/components/SwitchingBanner.tsx
Aditya Vikram Singh 6406296cb1
perf(desktop): show exact totals while details refresh (#1157)
* perf(desktop): warm time horizons before providers

* perf(desktop): avoid idle provider parse storm

* perf(desktop): show last exact headline during refresh

* perf(desktop): paint cached headline without animation

* fix(desktop): keep timeout recovery single-flight

* fix(desktop): keep cached headline stable on handoff

* fix(desktop): keep overview timelines legible

* fix(desktop): keep period switches truthful

* fix(desktop): open heatmap at newest dates

* fix(desktop): label cached data during refresh

* fix(desktop): invalidate progressive cache safely

* fix(desktop): keep progressive views exact across boundaries

* fix(desktop): preserve filter responsiveness

* fix(desktop): bound instant-switch memo
2026-08-28 13:20:33 -07:00

12 lines
403 B
TypeScript

/**
* Keeps a memo-served payload honest while a newly selected period/provider
* settles. The values remain useful, but they are not presented as the fresh
* answer for the selection until the request completes.
*/
export function SwitchingBanner() {
return (
<div role="status" aria-live="polite" className="stale-banner switching-banner">
Refreshing selected view…
</div>
)
}