Skip to content

Fix rerender of VideoGallery when first participant is pinned#2650

Merged
mgamis-msft merged 8 commits intomainfrom
mgamis/cleanup-layout-code
Jan 17, 2023
Merged

Fix rerender of VideoGallery when first participant is pinned#2650
mgamis-msft merged 8 commits intomainfrom
mgamis/cleanup-layout-code

Conversation

@mgamis-msft
Copy link
Copy Markdown
Contributor

@mgamis-msft mgamis-msft commented Jan 13, 2023

What

Problem:
The rerender occurs because the VideoGallery is switching between PinnedParticipantLayout and FloatingLocalVideoLayout causing all the remote video tiles to be rerendered.
Solution:
Do pinned participant logic in FloatingLocalVideoLayout and DefaultLayout. Remove PinnedParticipantLayout

Why

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

How Tested

Local sample testing
https://user-images.githubusercontent.com/79475487/212332894-85fa0706-54d8-40ef-b863-0fd0b6a80945.mp4

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
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 13, 2023

CallWithChat bundle size is decreased✅.

  • Current size: 5885016
  • Base size: 5886548
  • Diff size: -1532

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 13, 2023

Calling bundle size is decreased✅.

  • Current size: 5500521
  • Base size: 5502056
  • Diff size: -1535

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 13, 2023

Chat bundle size is not changed.

  • Current size: 5586372
  • Base size: 5586372
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown
Member

@JamesBurnside JamesBurnside left a comment

Choose a reason for hiding this comment

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

Love this refactor!

@github-actions
Copy link
Copy Markdown
Contributor

@mgamis-msft mgamis-msft enabled auto-merge (squash) January 17, 2023 08:42
@github-actions
Copy link
Copy Markdown
Contributor

Failed to pass the composite UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot.

@github-actions
Copy link
Copy Markdown
Contributor

Failed to pass the UI Test. If this PR is for UI change and the error is snapshot mismatch, please add "update_snapshots" label to the PR for updating the snapshot.

@github-actions
Copy link
Copy Markdown
Contributor

@mgamis-msft mgamis-msft force-pushed the mgamis/cleanup-layout-code branch from 2751854 to b131801 Compare January 17, 2023 09:09
@github-actions
Copy link
Copy Markdown
Contributor

@mgamis-msft mgamis-msft merged commit 1f562bb into main Jan 17, 2023
@mgamis-msft mgamis-msft deleted the mgamis/cleanup-layout-code branch January 17, 2023 09:25
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