feat(webui): diagnostics panel — system health overview with alerts (Issue #340) #343

Merged
sl-jetson merged 1 commits from sl-webui/issue-340-diagnostics into main 2026-03-03 12:41:48 -05:00
Collaborator

Diagnostics.jsx subscribing to /diagnostics. Hardware status cards, error counts, warning history, timeline, color-coded health. Added to MONITORING tab.

Diagnostics.jsx subscribing to /diagnostics. Hardware status cards, error counts, warning history, timeline, color-coded health. Added to MONITORING tab.
sl-jetson added 1 commit 2026-03-03 12:41:44 -05:00
Features:
- Subscribes to /diagnostics (diagnostic_msgs/DiagnosticArray)
- Hardware status cards per subsystem with color-coded health
- Real-time error and warning counts
- Expandable diagnostic cards with detailed key-value pairs
- Diagnostic status timeline with timestamps
- Aggregated system health summary
- Status indicators: OK (green), WARNING (yellow), ERROR (red), STALE (gray)

- Hardware Status Display
  * Per-subsystem diagnostic cards
  * Status level with color coding
  * Expandable details with key values
  * Hardware ID tracking
  * Name and message display

- Health Summary Card
  * Total diagnostic count
  * OK/WARNING/ERROR/STALE breakdowns
  * Overall system health status
  * Visual status indicator

- Timeline and History
  * Recent status timeline (10 latest events)
  * Timestamp tracking
  * Status transitions
  * Scrollable history

- Status Legend
  * Color-coded reference guide
  * Status descriptions
  * Quick status lookup

Integration:
- Added to MONITORING tab group as first tab (highest priority)
- Uses subscribe hook for real-time updates
- Dark theme with comprehensive status visualization
- Max 100 diagnostic events in history

Build: 124 modules, no errors
Main bundle: 264.31 KB

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
sl-jetson merged commit 5156100197 into main 2026-03-03 12:41:48 -05:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: seb/saltylab-firmware#343
No description provided.