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

[Storybook v8] Add file for Participant List #4818

Merged
merged 7 commits into from
Jul 5, 2024
Merged

Conversation

AmyL219
Copy link
Contributor

@AmyL219 AmyL219 commented Jul 4, 2024

What

Screenshot 2024-07-04 at 3 51 13 PM
Screenshot 2024-07-04 at 3 51 22 PM

Why

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.

Copy link
Contributor

github-actions bot commented Jul 4, 2024

CallWithChat bundle size is increased❗.

  • Current size: 6446150
  • Base size: 6446149
  • Diff size: 1

Copy link
Contributor

github-actions bot commented Jul 4, 2024

Calling bundle size is increased❗.

  • Current size: 5072319
  • Base size: 5072318
  • Diff size: 1

Copy link
Contributor

github-actions bot commented Jul 4, 2024

Chat bundle size is increased❗.

  • Current size: 2113463
  • Base size: 2113462
  • Diff size: 1

Copy link
Contributor

github-actions bot commented Jul 4, 2024

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

Lines Statements Functions Branches
Base 26501 / 41517
63.83%
26501 / 41517
63.83%
720 / 1296
55.55%
2098 / 3337
62.87%
Current 26557 / 41517
63.96%
26557 / 41517
63.96%
720 / 1296
55.55%
2131 / 3362
63.38%
Diff 56 / 0
0.13%
56 / 0
0.13%
0 / 0
0%
33 / 25
0.51%

Copy link
Contributor

github-actions bot commented Jul 4, 2024

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

Lines Statements Functions Branches
Base 51625 / 83862
61.55%
51625 / 83862
61.55%
1039 / 2347
44.26%
3046 / 4974
61.23%
Current 51667 / 83862
61.6%
51667 / 83862
61.6%
1039 / 2347
44.26%
3031 / 4973
60.94%
Diff 42 / 0
0.05%
42 / 0
0.05%
0 / 0
0%
-15 / -1
-0.29%

@@ -0,0 +1,46 @@
import { ParticipantList } from '@azure/communication-react';
import { Title, Heading, Description, Canvas, Props, Meta } from '@storybook/addon-docs';
Copy link
Member

Choose a reason for hiding this comment

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

There are a couple imports here that aren't used: Title, Heading, Description, Props

Copy link
Contributor

Choose a reason for hiding this comment

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

aren't we using @storybook/blocks for these imports and not @storybook/addon-docs

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Both blocks and addon-docs work


// eslint-disable-next-line @typescript-eslint/no-unused-vars
const onParticipantRemove = (_userId: string): void => {
// Do something when remove a participant from list
Copy link
Member

Choose a reason for hiding this comment

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

Suggestion: In the image overlay we display an alert pop up, maybe we can do something like that so no need to force the eslint disable

Copy link
Member

@JoshuaLai JoshuaLai left a comment

Choose a reason for hiding this comment

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

Just a few nitpick suggestions

@@ -0,0 +1,46 @@
import { ParticipantList } from '@azure/communication-react';
import { Title, Heading, Description, Canvas, Props, Meta } from '@storybook/addon-docs';
Copy link
Contributor

Choose a reason for hiding this comment

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

aren't we using @storybook/blocks for these imports and not @storybook/addon-docs

Copy link
Contributor

Choose a reason for hiding this comment

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

storyshots are deprecated, we should be removing this file

@AmyL219 AmyL219 enabled auto-merge (squash) July 5, 2024 19:57
auto-merge was automatically disabled July 5, 2024 19:59

Pull Request is not mergeable

Copy link
Contributor

github-actions bot commented Jul 5, 2024

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.

@AmyL219 AmyL219 enabled auto-merge (squash) July 5, 2024 23:12
@AmyL219 AmyL219 merged commit 574a59f into main Jul 5, 2024
41 checks passed
@AmyL219 AmyL219 deleted the amyl/sb8/participantList branch July 5, 2024 23: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