Skip to content

[JS loaders package] add base composite props#5811

Merged
dmceachernmsft merged 6 commits intomainfrom
dmceachernmsft/loaders-composite-props
May 12, 2025
Merged

[JS loaders package] add base composite props#5811
dmceachernmsft merged 6 commits intomainfrom
dmceachernmsft/loaders-composite-props

Conversation

@dmceachernmsft
Copy link
Copy Markdown
Member

@dmceachernmsft dmceachernmsft commented Apr 30, 2025

What

Add props for base composite to loaders
image
image
image

Proposing the above because it would look like the following if we flatten it for each composite
image
Issue: in the signature of the function if they want to use theme but not locale locale would need to be set as undefined
Solution: Props bag is cleaner in this situation for each composite.

Why

#5809

How Tested

Testing with local angular app and bundle

@github-actions
Copy link
Copy Markdown
Contributor

@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 29497 / 47065
62.67%
29497 / 47065
62.67%
815 / 1491
54.66%
2417 / 3847
62.82%
Current 29448 / 47065
62.56%
29448 / 47065
62.56%
815 / 1491
54.66%
2440 / 3852
63.34%
Diff -49 / 0
-0.11%
-49 / 0
-0.11%
0 / 0
0%
23 / 5
0.52%

@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 58497 / 94835
61.68%
58497 / 94835
61.68%
1186 / 2714
43.69%
3430 / 5792
59.21%
Current 58492 / 94835
61.67%
58492 / 94835
61.67%
1186 / 2714
43.69%
3387 / 5768
58.72%
Diff -5 / 0
-0.01%
-5 / 0
-0.01%
0 / 0
0%
-43 / -24
-0.49%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2025

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions
Copy link
Copy Markdown
Contributor

Chat bundle size is increased❗.

  • Current size: 1785621
  • Base size: 1785620
  • Diff size: 1

@github-actions
Copy link
Copy Markdown
Contributor

Calling bundle size is not changed.

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

@github-actions
Copy link
Copy Markdown
Contributor

CallWithChat bundle size is not changed.

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

@github-actions
Copy link
Copy Markdown
Contributor

@dmceachernmsft dmceachernmsft merged commit dc31993 into main May 12, 2025
41 checks passed
@dmceachernmsft dmceachernmsft deleted the dmceachernmsft/loaders-composite-props branch May 12, 2025 21:45
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.

4 participants