mirror of
https://github.com/AgentSeal/codeburn.git
synced 2026-11-29 10:43:47 +00:00
A failed fetch put an eight-second toast over an empty window and then took the toast away, leaving a blank popover and no way to try again. The mac replaces the loading overlay with a retry card whenever the fetch failed and there is nothing cached to fall back on, and keeps a toast for the case where numbers are already on screen and the failure is an aside. Do the same, and clear the error whenever the selection changes or a fetch succeeds, since an error describes one selection. Stuck-load recovery is the mac's ladder: while the popover has nothing to show, retry at 8 s doubling to 60 s, six times, then say "Could not load X. Check that the codeburn CLI is installed and working." A fetch torn down across sleep can leave its in-flight mark behind, which would make every retry bail on the guard, so a mark older than the CLI's own 60 s timeout is cleared first. A younger one is left alone, so recovery never races a fetch that is still going to answer. The toast is anchored to the popover card rather than to the window: the card now sits inside a transparent gutter, so an absolute offset from the window is 12 px out. |
||
|---|---|---|
| .. | ||
| ActivitySection.tsx | ||
| AgentTabStrip.tsx | ||
| CalendarInsight.tsx | ||
| CollapsibleSection.tsx | ||
| DropMenu.tsx | ||
| EmptyProviderState.tsx | ||
| ErrorToast.tsx | ||
| FetchErrorOverlay.tsx | ||
| FindingsSection.tsx | ||
| FooterBar.tsx | ||
| ForecastInsight.tsx | ||
| Header.tsx | ||
| HeroSection.tsx | ||
| Icons.tsx | ||
| InsightPills.tsx | ||
| LoadingOverlay.tsx | ||
| ModelsSection.tsx | ||
| NoDataState.tsx | ||
| OptimizeInsight.tsx | ||
| PeriodTabs.tsx | ||
| PlanInsight.tsx | ||
| PullRequestsSection.tsx | ||
| PulseInsight.tsx | ||
| QuotaPopover.tsx | ||
| QuotaWarningRow.tsx | ||
| ScopeControl.tsx | ||
| SettingsPanel.tsx | ||
| SetupState.tsx | ||
| StarBanner.tsx | ||
| StatsInsight.tsx | ||
| ToolingSection.tsx | ||
| TrendInsight.tsx | ||