Repository navigation
fix(dashboard): surface analytics overview timeouts instead of empty stats - #421
Conversation
5b393ad to
170c306
Compare
|
MonitoringTab blanks the whole tab (should-fix) geo map + top paths → useAnalyticsGeo (separate cache) |
…itoringView Address maintainer review on oblien#421: an /analytics/overview timeout was replacing the entire MonitoringTab via an early return, hiding the independent geo, usage, and history blocks. Move the error card into MonitoringView and scope it to the stats strip / traffic chart block (mirroring OverviewTab), so the rest of the tab still renders.
|
Pushed a follow-up commit to address the feedback. The early return in What changed:
Local verification:
Please take another look when you have a moment. |
…itoringView Address maintainer review on oblien#421: an /analytics/overview timeout was replacing the entire MonitoringTab via an early return, hiding the independent geo, usage, and history blocks. Move the error card into MonitoringView and scope it to the stats strip / traffic chart block (mirroring OverviewTab), so the rest of the tab still renders.
e099c69 to
5d5d0bb
Compare
Two documents for the machine that opens the pull requests: OPEN_PRS_INSTRUCTIONS.md carries the exact gh commands, titles, bodies and wave order for all eight branches plus the two issue comments; OPEN_PRS_UPDATE.md supersedes parts of it after the freshness re-check (the oblien#396 PR is replaced by a comment because of the competing oblien#421, and all branches were rebased onto v0.6.5 with the migration renumbered to 0106). Read the update first. These files stay on this working branch only and are never part of any upstream PR.
…stats - Problem: /analytics/overview can exceed the 15s client default for high-traffic projects; the abort left Overview/Monitoring tabs showing 0/N/A with no error. - Fix: request a 60s timeout for the overview fetch and render a retryable error state when analytics.error is set. - Verification: bun run test src/i18n/i18n-parity.test.ts (pass); preflight_ship.py clear for oblien#396.
…itoringView Address maintainer review on oblien#421: an /analytics/overview timeout was replacing the entire MonitoringTab via an early return, hiding the independent geo, usage, and history blocks. Move the error card into MonitoringView and scope it to the stats strip / traffic chart block (mirroring OverviewTab), so the rest of the tab still renders.
5d5d0bb to
e217c17
Compare
0834b84
into
oblien:feat/bugfix-batch-2026-09-16
Fixes #396. Analytics failures now show a retry action instead of zero traffic. The error is confined to overview statistics and traffic, so Monitoring keeps independent resource and geography data visible. Both tabs use the same error component.
Overview derives the selected domain during rendering and waits for the current project/domain before fetching. This avoids an unnecessary all-domain request on initial load or navigation. The shared cache rejects responses from invalidated requests, including polling; the overview request allows 60 seconds for aggregation.
Validated with 99 relevant dashboard cases across request lifecycle, rendered Monitoring panels, and connection discovery (98-case suite plus the added polling regression). Ten new cases fail against main. Dashboard TypeScript check passes. Targeting the bug integration branch for PR #892.