Skip to content

Fix telemetry error UI#374

Merged
Mosas2000 merged 22 commits into
mainfrom
fix-telemetry-error-ui
Apr 28, 2026
Merged

Fix telemetry error UI#374
Mosas2000 merged 22 commits into
mainfrom
fix-telemetry-error-ui

Conversation

@Mosas2000

Copy link
Copy Markdown
Owner

Changes Made:
Component Updates:

Added error state tracking to TelemetryDashboard component
Implemented visible error UI with clear messaging
Enhanced error message display with monospace font and styled container
Added ARIA attributes for accessibility (role="alert", aria-live="assertive", aria-labels)
Kept refresh and export actions available during error states
Extracted error message handling into a reusable function
Added comprehensive JSDoc documentation
Test Coverage (21 tests):

Basic error display tests
Button availability tests during errors
Retry functionality tests
Error message handling tests (Error objects, strings, null)
Export functionality tests during error state
Accessibility tests for ARIA attributes
Loading state clearing tests
Styling verification tests
Success case tests
Acceptance Criteria Met:
✅ Render a visible error state when analytics data cannot load
✅ Keep refresh and export actions available when appropriate
✅ Add tests for failed dashboard loads (21 comprehensive tests)

Closes #339

@Mosas2000 Mosas2000 merged commit ffd41b7 into main Apr 28, 2026
5 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TelemetryDashboard should surface data-loading failures in the UI

1 participant