Closed ds300 closed 2 weeks ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
examples | ✅ Ready (Inspect) | Visit Preview | May 2, 2024 9:52am |
hm when testing this in preview deploys it didn't show the 'offline' indicator and it didn't clear the canvas so it looked like all was fine and could very easily lead to data loss, so I'm gonna investigate replacing the editor's content with a 'please refresh the page' notice of some kind.
This PR fixes the issue where sync clients would get into a reconnect loop after being rejected by the sync server.
Close the socket when in the error state (see useRemoteSyncClient)
Show a 'plx refresh the page' screen that doesn't have a sad face on it.
If older clients who can't handle rejection well need to be rejected (e.g. due to a store migration being added) then we send them to a special purgatory where the canvas goes blank and it shows the offline indicator but the websocket connection stays open and it won't try to reconnect.
Change Type
dotcom
— Changes the tldraw.com web appbugfix
— Bug fixTest Plan