Skip to content

Add enableListenerMode functionality to device lifecycle and error handling - #63

Merged
MohamedRamadanSaudi merged 1 commit into
MohamedRamadanSaudi:mainfrom
Amr3011:refactor/improve-ListenerMode
Mar 9, 2026
Merged

Add enableListenerMode functionality to device lifecycle and error handling#63
MohamedRamadanSaudi merged 1 commit into
MohamedRamadanSaudi:mainfrom
Amr3011:refactor/improve-ListenerMode

Conversation

@Amr3011

@Amr3011 Amr3011 commented Mar 9, 2026

Copy link
Copy Markdown
Collaborator

Resolves #62

This pull request introduces a new "listener mode" feature to the lobby device management flow, allowing users to switch to a mode where device enumeration occurs without requiring full device access. The changes add support for enabling listener mode in the device lifecycle, propagate this capability through the relevant hooks and UI components, and update error handling logic to trigger listener mode when dismissing device errors.

Enhancements to device lifecycle and lobby flow:

  • Added enableListenerMode method to the DeviceLifecycleReturn interface and implemented its logic in useDeviceLifecycle, which sets listener mode and enumerates devices. [1] [2]
  • Propagated enableListenerMode through the LobbyDeviceState interface and useLobbyDevices hook, making it available for UI components. [1] [2]

UI and error handling improvements:

  • Updated ErrorDisplayProps and ErrorDisplay component to accept and use onEnableListenerMode, ensuring listener mode is enabled when dismissing device errors. [1] [2] [3]
  • Passed onEnableListenerMode from MeetingLobby to ErrorDisplay, connecting the new listener mode logic to the main lobby UI.

@vercel

vercel Bot commented Mar 9, 2026

Copy link
Copy Markdown

@Amr3011 is attempting to deploy a commit to the Mohamed Ramadan's projects Team on Vercel.

A member of the Team first needs to authorize it.

@MohamedRamadanSaudi
MohamedRamadanSaudi merged commit 011053c into MohamedRamadanSaudi:main Mar 9, 2026
1 of 2 checks passed
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.

Bug: Dismiss button not responding

2 participants