0
feat: Show connection status in the UI if the websocket connection fails
Source: excalidraw/excalidraw#5489 · opened by @annyanich
I have noticed that there are no status indicators in the GUI to indicate when the websocket connection to the collab server has an error. This is confusing sometimes. Steps to reproduce: 1. Open excalidraw.com 2. Start collaboration 3. Open the link in another tab/browser 4. Disconnect your wifi Expectation: I would expect to see some indication somewhere in the UI that the websocket connection has been dropped and that the client is attempting to reconnect. Current behavior: The green 'collaboration' indicator still stays lit, and the number of connected peers remains the same, while errors get printed in the console each time socket.io tries to reconnect: Consequence: It looks like you are still connected to the server, even when you aren't. Possible fix: Here is how we could track the connection status. In Collab.tsx, the socket.io client is registered. See We could add listeners there for connect_error, connect and disconnect, accordin…
No pledges yet. Be the first to back this.
Comments
Similar requests
[new feature] connection flow animation
3 votes · 0 comments
Feature Request: Spaced node-style connections on shapes
0 votes · 0 comments
export dialog: show relative size increase when embedding scene
0 votes · 0 comments
Export Image should always show "Only selected" (disable if n/a) with a help hint on how to use it
1 vote · 0 comments
In the library section library should show list wise or say images should appear with respect to the library name
0 votes · 0 comments
No comments yet.