feat(editor): show users in active yjs session - #3345
Merged
Conversation
JammingBen
added this pull request to stack #3346
September 10, 2026 11:51
JammingBen
marked this pull request as ready for review
September 10, 2026 12:53
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
force-pushed
the
feat/show-yjs-session-users
branch
from
September 11, 2026 06:07
7fce30d to
5d2fbd5
Compare
kulmann
approved these changes
Sep 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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