AugmentOS
AugmentOS copied to clipboard
fix: debounce connection status to prevent flicker
Issue #1419
Changes made to only show "Disconnected" or "Connecting..." states if connection has been out of CONNECTED state for more than 5 seconds. This prevents UI flicker from brief WebSocket disconnections.
- Track timestamp when leaving CONNECTED state
- Delay showing non-CONNECTED states until 5 seconds elapsed
- Clear timestamp and hide badge immediately on reconnect
- Prevents glitchy "Disconnected" → "Connecting..." flicker
@AltuisticIsopod Can you please base this on dev? There are substantial changes between main and dev.
@AltuisticIsopod Can you please base this on
dev? There are substantial changes betweenmainanddev.
Sure.I will do that.