mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 11:55:05 +03:00
* fix(ui library): fix presence room to clear stack on subscription error * fix(ui library): fix realtime chat on subscription error * feat(ui library): improve realtime cursors joining, leaving and disconnecting Presence is used now to react to cursors joining and leaving. * When a cursor joins all the other cursors broadcast their last position (if available). This avoids an empty page when joining if cursors are not moving * When a cursor leaves the room their respective cursor is removed And finally the cursor position is broadcasted only the channel is successfully subscribed. Otherwise it might try to send POST requests to broadcast outside the websocket * chore(ui library): update registry & llms * chore: prettier * fix(ui-library): fix missing username on cursor * chore(ui-library): npm run build