AugmentOS icon indicating copy to clipboard operation
AugmentOS copied to clipboard

fix: debounce connection status to prevent flicker

Open AltuisticIsopod opened this issue 2 months ago • 2 comments

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 avatar Nov 16 '25 04:11 AltuisticIsopod

@AltuisticIsopod Can you please base this on dev? There are substantial changes between main and dev.

aisraelov avatar Nov 17 '25 17:11 aisraelov

@AltuisticIsopod Can you please base this on dev? There are substantial changes between main and dev.

Sure.I will do that.

AltuisticIsopod avatar Nov 17 '25 19:11 AltuisticIsopod