Skip to content
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

together mode component #5517

Merged
merged 14 commits into from
Jan 13, 2025
Merged

together mode component #5517

merged 14 commits into from
Jan 13, 2025

Conversation

cn0151
Copy link
Member

@cn0151 cn0151 commented Dec 20, 2024

What

This PR contains together mode component layout and styling

Why

Needed as part of together mode implementation

How Tested

locally

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.

Copy link
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.

1 similar comment
Copy link
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.

Copy link
Contributor

Copy link
Contributor

github-actions bot commented Dec 20, 2024

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

Lines Statements Functions Branches
Base 27899 / 44282
63%
27899 / 44282
63%
782 / 1418
55.14%
2339 / 3700
63.21%
Current 27892 / 44291
62.97%
27892 / 44291
62.97%
782 / 1422
54.99%
2316 / 3693
62.71%
Diff -7 / 9
-0.03%
-7 / 9
-0.03%
0 / 4
-0.15%
-23 / -7
-0.5%

Copy link
Contributor

github-actions bot commented Dec 20, 2024

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

Lines Statements Functions Branches
Base 56307 / 92366
60.96%
56307 / 92366
60.96%
1156 / 2656
43.52%
3422 / 5679
60.25%
Current 56734 / 93264
60.83%
56734 / 93264
60.83%
1156 / 2667
43.34%
3430 / 5690
60.28%
Diff 427 / 898
-0.13%
427 / 898
-0.13%
0 / 11
-0.18%
8 / 11
0.03%

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

parentWidth
]);

return screenShareComponent ? (
Copy link
Member

Choose a reason for hiding this comment

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

To cut down on duplicated code maybe the thing to do here when screenshare is active is to have the VideoGallery use another layout. at lease until we are wanting to support a different view for together mode?

Copy link
Member Author

Choose a reason for hiding this comment

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

I can address this in my next PR where I am looking into this.

Copy link
Contributor

Copy link
Contributor

Copy link
Contributor

}) => {
const locale = useLocale();
const theme = useTheme();
const callingPalette = (theme as unknown as CallingTheme).callingPalette;
Copy link
Member

Choose a reason for hiding this comment

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

We shouldn't need to cast this as unknown, this is similar to saying the type is any. lets make sure that this is defined as a CallingTheme where expected.

Copy link
Contributor

Choose a reason for hiding this comment

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

good catch, yup we shouldn't have to do this.

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually we need to. Theme interface from fluent ui does not overlap with CallingTheme

Copy link
Contributor

Copy link
Contributor

CallWithChat bundle size is not changed.

  • Current size: 11767078
  • Base size: 11767078
  • Diff size: 0

Copy link
Contributor

Chat bundle size is not changed.

  • Current size: 1768952
  • Base size: 1768952
  • Diff size: 0

Copy link
Contributor

Calling bundle size is not changed.

  • Current size: 11767065
  • Base size: 11767065
  • Diff size: 0

Copy link
Contributor

@cn0151 cn0151 merged commit 2b3201a into main Jan 13, 2025
41 checks passed
@cn0151 cn0151 deleted the cnwankwo/togethermode-component branch January 13, 2025 18:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants