Skip to content

feat(editor): show users in active yjs session - #3345

Merged
kulmann merged 1 commit into
mainfrom
feat/show-yjs-session-users
Sep 11, 2026
Merged

feat(editor): show users in active yjs session#3345
kulmann merged 1 commit into
mainfrom
feat/show-yjs-session-users

Conversation

@JammingBen

Copy link
Copy Markdown
Member

Show all the users of a yjs room in the editor toolbar on the right.

For this to work, the yjs server now reports back the awareness (user id, name, color) of the current user back to it via a stateless message. Without this, a user would never get its own awareness from the server.

Known limitations for now: the users list is not visible for read-only peers and editors not in the room (e.g. public link).

closes #3110

image

@JammingBen
JammingBen added this pull request to stack #3346 September 10, 2026 11:51
@JammingBen JammingBen self-assigned this Sep 10, 2026
@JammingBen
JammingBen marked this pull request as ready for review September 10, 2026 12:53
Base automatically changed from fix/yjs-hydration-race-errors to main September 11, 2026 06:07
Show all the users of a yjs room in the editor toolbar on the right.

For this to work, the yjs server now reports back the awareness (user id,
name, color) of the current user back to it via a stateless message.
Without this, a user would never get its own awareness from the server.

Known limitations for now: the users list is not visible for read-only
peers and editors not in the room (e.g. public link).
@kulmann
kulmann force-pushed the feat/show-yjs-session-users branch from 7fce30d to 5d2fbd5 Compare September 11, 2026 06:07
@kulmann
kulmann merged commit 8cdd0e4 into main Sep 11, 2026
31 checks passed
@kulmann
kulmann deleted the feat/show-yjs-session-users branch September 11, 2026 07:27
@openclouders openclouders mentioned this pull request Sep 11, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Show avatars of users in the current y.js editing session

2 participants