Skip to content

Add selector changes for unnamed participants that left call#5812

Merged
prabhjot-msft merged 5 commits intomainfrom
prabhjot/add-stateful-client-participants-ended
May 1, 2025
Merged

Add selector changes for unnamed participants that left call#5812
prabhjot-msft merged 5 commits intomainfrom
prabhjot/add-stateful-client-participants-ended

Conversation

@prabhjot-msft
Copy link
Copy Markdown
Contributor

What

Add selector changes for unnamed participants that left call
Before:

Screen.Recording.2025-04-30.at.3.00.28.PM.mov

After:

Screen.Recording.2025-04-30.at.2.57.39.PM.mov

Why

https://skype.visualstudio.com/SPOOL/_workitems/edit/4115057

How Tested

Process & policy checklist

  • I have updated the project documentation to reflect my changes if necessary.
  • I have read the CONTRIBUTING documentation.

Is this a breaking change?

  • This change causes current functionality to break.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2025

@azure/communication-react jest test coverage for stable.

Lines Statements Functions Branches
Base 28321 / 45691
61.98%
28321 / 45691
61.98%
794 / 1451
54.72%
2372 / 3751
63.23%
Current 28273 / 45724
61.83%
28273 / 45724
61.83%
794 / 1452
54.68%
2361 / 3739
63.14%
Diff -48 / 33
-0.15%
-48 / 33
-0.15%
0 / 1
-0.04%
-11 / -12
-0.09%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 30, 2025

@azure/communication-react jest test coverage for beta.

Lines Statements Functions Branches
Base 58509 / 94904
61.65%
58509 / 94904
61.65%
1184 / 2710
43.69%
3408 / 5775
59.01%
Current 58594 / 94970
61.69%
58594 / 94970
61.69%
1184 / 2711
43.67%
3434 / 5793
59.27%
Diff 85 / 66
0.04%
85 / 66
0.04%
0 / 1
-0.02%
26 / 18
0.26%

* @internal
*
*/
export const getRemoteParticipantDisplayName = (
Copy link
Copy Markdown
Member

@JamesBurnside JamesBurnside May 1, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other properties beyond display name in future may want all remote participants ended.
A different way to structure this PR, would be to create a new selector getAllRemoteParticipants that returns active and previous participants. Then where getRemoteParticipants, getRemoteParticipantsEnded is used as arguments into the reselect, you can just use getAllRemoteParticipants knowing it will retrieve both active and previous participants.
Just a recommendation, I won't block on this, otherwise PR looks great! Nice find on this property

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be implementing this in separate PR.

@prabhjot-msft prabhjot-msft enabled auto-merge (squash) May 1, 2025 19:45
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2025

CallWithChat bundle size is not changed.

  • Current size: 12413574
  • Base size: 12413574
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2025

Chat bundle size is not changed.

  • Current size: 1781062
  • Base size: 1781062
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2025

Calling bundle size is not changed.

  • Current size: 12413561
  • Base size: 12413561
  • Diff size: 0

@prabhjot-msft prabhjot-msft merged commit c7633da into main May 1, 2025
40 checks passed
@prabhjot-msft prabhjot-msft deleted the prabhjot/add-stateful-client-participants-ended branch May 1, 2025 19:55
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