Skip to content

feat: show call member presence in pre-join lobby view#3803

Open
alex-vg wants to merge 1 commit intoelement-hq:livekitfrom
alex-vg:feat/call-member-lobby-presence
Open

feat: show call member presence in pre-join lobby view#3803
alex-vg wants to merge 1 commit intoelement-hq:livekitfrom
alex-vg:feat/call-member-lobby-presence

Conversation

@alex-vg
Copy link

@alex-vg alex-vg commented Mar 13, 2026

Summary

Display participant avatars with display names in the lobby when a call is already active, so users can see who's in the call before joining.

Changes

  • useCallParticipants hook — derives a deduplicated participant list with resolved display names and avatar URLs from MatrixRTCSession.memberships + Room
  • CallParticipantRow component — renders up to 8 participant avatars in a horizontal row. Overflow participants are shown as a +N indicator with a Compound <Tooltip> listing the remaining names. Uses Radix <VisuallyHidden> for screen reader accessibility.
  • LobbyView integration — the participant row appears above the VideoPreview when callParticipants.length > 0
  • GroupCallView — calls the hook and passes participants to LobbyView
  • RoomPage — passes callParticipants={[]} in the knock/waitForInvite state (user can't see room members)
  • i18n — 7 new translation keys for participant count and overflow labels

Testing

  • 5 unit tests for useCallParticipants
  • 9 unit tests for CallParticipantRow
  • All 452 existing tests still pass
  • Manually tested with 2 users on local dev backend

Screenshots

The participant row appears above the video preview in the lobby when another user is already in the call.
image

Display participant avatars with display names in the lobby when a call
is already active. Shows up to 8 avatars with an overflow indicator
and tooltip for additional participants.

- Add useCallParticipants hook to derive participants from memberships
- Add CallParticipantRow component using Compound Tooltip and Radix
  VisuallyHidden for accessibility
- Integrate into LobbyView above VideoPreview
- Include unit tests for hook and component
- Add i18n strings for participant count and overflow
@alex-vg alex-vg requested a review from a team as a code owner March 13, 2026 21:26
@alex-vg alex-vg requested a review from toger5 March 13, 2026 21:26
@CLAassistant
Copy link

CLAassistant commented Mar 13, 2026

CLA assistant check
All committers have signed the CLA.

@bblacher
Copy link

fixes: #2385

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants