Skip to content

Conversation

@sopranopillow
Copy link
Contributor

PR Details

This PR does the following:

  • Adds implementation of AvatarGroupItem.
  • Adds AvatarGroup context to be consumed by AvatarGroupItem.

NOTE: There are some changes, such as removing string from AvatarGroup, that will be made in a separate PR #22736. This PR modifies AvatarGroup only to add the context since AvatarGroupItem requires it for its functionality, and to pass build/tests.

Related Issue(s)

#22240, #22736

@codesandbox-ci
Copy link

codesandbox-ci bot commented May 27, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 525bd0e:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@fabricteam
Copy link
Collaborator

fabricteam commented May 27, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-avatar
Avatar
45.538 kB
13.298 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
183.617 kB
50.924 kB
react-components
react-components: FluentProvider & webLightTheme
33.988 kB
11.108 kB
🤖 This report was generated against 143f4ac9fb4eef165e4975bcf3b113bc00680e03

@fabricteam
Copy link
Collaborator

fabricteam commented May 27, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1050 1115 5000
Button mount 676 679 5000
FluentProvider mount 2267 2282 5000
FluentProviderWithTheme mount 352 333 10
FluentProviderWithTheme virtual-rerender 296 300 10
FluentProviderWithTheme virtual-rerender-with-unmount 388 350 10
MakeStyles mount 1925 1888 50000

@size-auditor
Copy link

size-auditor bot commented May 27, 2022

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 143f4ac9fb4eef165e4975bcf3b113bc00680e03 (build)

Copy link
Contributor

@behowell behowell left a comment

Choose a reason for hiding this comment

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

Looks good, thanks for making the changes! Just a few more comments :)

@sopranopillow sopranopillow reopened this Jun 2, 2022
@sopranopillow sopranopillow merged commit 0551395 into microsoft:master Jun 2, 2022
@sopranopillow sopranopillow deleted the avatargroupitem-implementation branch June 2, 2022 16:39
marwan38 pushed a commit to marwan38/fluentui that referenced this pull request Jun 13, 2022
…ontext (microsoft#23310)

* Adding AvatarGroupItem implementation and AvatarGroup context.

* change files

* fixing lint errors

* adding requested changes

* updating types for root slot

* updating name of overflowlabel styles

* Adding requested changes
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