From 201dea4c01a04bc8f541225f91b9dfa8de13699b Mon Sep 17 00:00:00 2001 From: sl-webui Date: Mon, 2 Mar 2026 14:19:03 -0500 Subject: [PATCH] feat(webui): robot status dashboard header bar (Issue #269) Persistent top bar showing real-time robot health indicators: - Battery percentage and voltage (color-coded: green >60%, amber 30-60%, red <30%) - WiFi signal strength (RSSI dBm with quality assessment) - Motor status and current draw in Amperes - Emergency state indicator (red highlight when active) - System uptime in hours and minutes - Current operational mode (idle/nav/social/docking) - Connection status indicator Component subscribes to relevant ROS topics and displays in compact flex layout matching dashboard dark theme. Co-Authored-By: Claude Haiku 4.5 --- ui/social-bot/src/App.jsx | 6 + ui/social-bot/src/components/StatusHeader.jsx | 260 ++++++++++++++++++ 2 files changed, 266 insertions(+) create mode 100644 ui/social-bot/src/components/StatusHeader.jsx diff --git a/ui/social-bot/src/App.jsx b/ui/social-bot/src/App.jsx index 73e1876..cdf0f5f 100644 --- a/ui/social-bot/src/App.jsx +++ b/ui/social-bot/src/App.jsx @@ -61,6 +61,9 @@ import { NetworkPanel } from './components/NetworkPanel.jsx'; // Waypoint editor (issue #261) import { WaypointEditor } from './components/WaypointEditor.jsx'; +// Status header (issue #269) +import { StatusHeader } from './components/StatusHeader.jsx'; + const TAB_GROUPS = [ { label: 'SOCIAL', @@ -197,6 +200,9 @@ export default function App() { )} + {/* ── Status Header ── */} + + {/* ── Tab Navigation ── */}