Skip to content

[Rooms] Fix overflow gallery to use all available space when you are a consumer#3825

Merged
mgamis-msft merged 5 commits intomainfrom
mgamis/fix-overflow-gallery-use-all-available-space
Nov 23, 2023
Merged

[Rooms] Fix overflow gallery to use all available space when you are a consumer#3825
mgamis-msft merged 5 commits intomainfrom
mgamis/fix-overflow-gallery-use-all-available-space

Conversation

@mgamis-msft
Copy link
Copy Markdown
Contributor

What

Fix logic in FloatingLocalVideoLayout and SpeakerLayout to adjust OverflowGallery to use all available space when there is no local video . Fix ScrollableHorizonalGallery to use the entire width when there is no local video.

Why

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

How Tested

Local test app testing:
https://github.com/Azure/communication-ui-library/assets/79475487/553d1791-91d3-4707-bf32-8eef39cabfd9

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 Nov 23, 2023

CallWithChat bundle size is decreased✅.

  • Current size: 6408249
  • Base size: 6408286
  • Diff size: -37

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 23, 2023

Calling bundle size is decreased✅.

  • Current size: 5598643
  • Base size: 5598680
  • Diff size: -37

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 23, 2023

Chat bundle size is not changed.

  • Current size: 1522273
  • Base size: 1522273
  • Diff size: 0

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 23, 2023

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

Lines Statements Functions Branches
Base 44077 / 68207
64.62%
44077 / 68207
64.62%
901 / 1930
46.68%
2688 / 4220
63.69%
Current 44074 / 68203
64.62%
44074 / 68203
64.62%
901 / 1930
46.68%
2688 / 4220
63.69%
Diff -3 / -4
0%
-3 / -4
0%
0 / 0
0%
0 / 0
0%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Nov 23, 2023

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

Lines Statements Functions Branches
Base 21180 / 32952
64.27%
21180 / 32952
64.27%
576 / 995
57.88%
1714 / 2683
63.88%
Current 21176 / 32948
64.27%
21176 / 32948
64.27%
576 / 995
57.88%
1714 / 2683
63.88%
Diff -4 / -4
0%
-4 / -4
0%
0 / 0
0%
0 / 0
0%

onFetchTilesToRender={setIndexesToRender}
isNarrow={isNarrow}
shouldFloatLocalVideo={true}
shouldFloatLocalVideo={!!localVideoComponent}
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is localVideoComponent valid when the video is turned off but the local video avatar shows in the floating form?

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.

Yup. It is valid when the local video stream is turned off.

@github-actions
Copy link
Copy Markdown
Contributor

@mgamis-msft mgamis-msft enabled auto-merge (squash) November 23, 2023 21:41
@github-actions
Copy link
Copy Markdown
Contributor

@mgamis-msft mgamis-msft merged commit 3dfaa65 into main Nov 23, 2023
@mgamis-msft mgamis-msft deleted the mgamis/fix-overflow-gallery-use-all-available-space branch November 23, 2023 22:02
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