-
Notifications
You must be signed in to change notification settings - Fork 13k
feat: Show peer's muted and held state on Media call widget #37469
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: 9a052b8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 41 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
WalkthroughThis PR adds UI visualization of the peer's muted and held state in the Media Call widget by introducing Changes
Sequence Diagram(s)sequenceDiagram
participant Session as Session State
participant Ctx as MediaCallContext
participant OC as OngoingCall
participant PI as PeerInfo
participant IU as InternalUser
Session->>Ctx: Expose remoteMuted, remoteHeld
OC->>Ctx: Extract remoteMuted, remoteHeld
OC->>OC: Compute remoteSlots via useInfoSlots
OC->>PI: Pass remoteSlots, remoteMuted
PI->>IU: Pass slots, remoteMuted
IU->>IU: Derive remoteStatusText from slots
IU->>IU: Render mic-off icon if remoteMuted
IU->>IU: Display remote status alongside caller ID
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
⛔ Files ignored due to path filters (1)
📒 Files selected for processing (11)
🧰 Additional context used🧬 Code graph analysis (7)packages/ui-voip/src/v2/useMediaSession.ts (1)
packages/ui-voip/src/v2/views/OngoingCall.stories.tsx (1)
packages/ui-voip/src/v2/useInfoSlots.ts (1)
packages/ui-voip/src/v2/components/PeerInfo/InternalUser.tsx (1)
packages/ui-voip/src/v2/components/PeerInfo/PeerInfo.stories.tsx (1)
packages/ui-voip/src/v2/views/OngoingCall.tsx (3)
packages/ui-voip/src/v2/MockedMediaCallProvider.tsx (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (22)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #37469 +/- ##
===========================================
+ Coverage 68.97% 68.99% +0.01%
===========================================
Files 3358 3358
Lines 114226 114215 -11
Branches 20535 20534 -1
===========================================
+ Hits 78792 78798 +6
+ Misses 33342 33324 -18
- Partials 2092 2093 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
Proposed changes (including videos or screenshots)
Issue(s)
Steps to test or reproduce
Further comments
Summary by CodeRabbit
Release Notes