Skip to content

Conversation

@AltuisticIsopod
Copy link

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

@aisraelov
Copy link
Member

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

@AltuisticIsopod
Copy link
Author

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

Sure.I will do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants