Pulse and persist vehicle disconnection indicators (border and widget)#2621
Pulse and persist vehicle disconnection indicators (border and widget)#2621rafaellehmkuhl wants to merge 3 commits intobluerobotics:masterfrom
Conversation
Previously the red border around the main view faded out a few seconds after a vehicle disconnection, making it unclear whether the disconnection was still ongoing. Now the border stays solid red and pulses for as long as the vehicle remains offline, only being cleared when the connection is reestablished.
The disconnected state previously rendered the indicator in a dim gray that was easy to miss. It now turns red with a glowing drop shadow and a pulsing opacity animation, making the disconnection state clearly visible at a glance.
Moves the connection-status border from the main view container to a top-level fixed overlay using inset box-shadow. This keeps the red ring continuous on every edge, sits above all widgets, and ignores pointer events so it never interferes with clicks or layout.
Automated PR Review (Claude)0. SummaryVerdict: MINOR SUGGESTIONS Minor items to consider: 1.1, 4.1, 6.1, 9.1, 9.2. This PR improves the vehicle disconnection visual feedback in two ways: (1) replaces the old static-border inline-style approach in 1. Correctness & Implementation Bugs1.1 (minor) — No other correctness issues found. The 2. AGENTS.md AdherenceNo findings. No new dependencies are added, no new local-storage keys are introduced, no JSDoc-requiring public functions are added (the 3. Security3.1 (no issue) No obfuscated or intentionally unreadable code. 4. Performance4.1 (nit) — The No memory leaks, unclosed subscriptions, or redundant network requests. 5. UI / UXNo findings. The overlay correctly uses 6. Code Quality & Style6.1 (minor) — The No dead code, no 7. TestsNo findings. This is a visual/CSS-focused change with no new logic branches that would meaningfully benefit from unit tests. The core behavior (watching 8. DocumentationNo findings. No feature-parity differences between Lite and Standalone are introduced. No user-facing documentation changes are needed. 9. Nitpicks / Optional9.1 (nit) — In 9.2 (nit) — The Generated by Claude. This is advisory; a human reviewer must still approve. |
Also fixes the problem of the border pushing elements and squeezing the screen space.
Cap.2026-04-23.at.00.24.20.mp4
Closes #2616
Closes #1817