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

feat: adds disableButtonEnhancement property on triggers #25112

Conversation

bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Oct 6, 2022

Follow up on #24960

Implementing the disableButtonEnhancement property that will ensure triggers can opt out of the current behavior where child is enhanced with button-like handlers and properties

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 6, 2022

📊 Bundle size report

Package & Exports Baseline (minified/GZIP) PR Change
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
188.815 kB
52.287 kB
188.891 kB
52.338 kB
76 B
51 B
react-dialog
Dialog (including children components)
82.465 kB
24.447 kB
82.535 kB
24.469 kB
70 B
22 B
react-menu
Menu (including children components)
116.558 kB
35.725 kB
116.596 kB
35.757 kB
38 B
32 B
react-menu
Menu (including selectable components)
119.627 kB
36.246 kB
119.665 kB
36.277 kB
38 B
31 B
react-popover
Popover
102.756 kB
31.5 kB
102.794 kB
31.513 kB
38 B
13 B
Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-alert
Alert
84.117 kB
21.07 kB
react-avatar
Avatar
48.828 kB
13.842 kB
react-avatar
AvatarGroup
14.95 kB
5.989 kB
react-avatar
AvatarGroupItem
68.796 kB
19.182 kB
react-components
react-components: FluentProvider & webLightTheme
33.4 kB
11.008 kB
react-persona
Persona
53.946 kB
15.225 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
🤖 This report was generated against 2484ba157b11028249ebd3b091ed4808ff7497e3

@size-auditor
Copy link

size-auditor bot commented Oct 6, 2022

Asset size changes

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

Baseline commit: b48083b3009bc75f28c328de0024eb400b989145 (build)

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 6, 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 5ac8e8e:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 6, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1268 1267 5000
Button mount 923 905 5000
FluentProvider mount 1463 1486 5000
FluentProviderWithTheme mount 568 584 10
FluentProviderWithTheme virtual-rerender 539 542 10
FluentProviderWithTheme virtual-rerender-with-unmount 574 571 10
MakeStyles mount 1980 1935 50000
SpinButton mount 2369 2292 5000

@bsunderhus bsunderhus force-pushed the react-utilities/feat--disableButtonEnchancement branch from b4fc9f7 to 5ac8e8e Compare October 6, 2022 09:53
@bsunderhus
Copy link
Contributor Author

This will be blocked while RFC #24960 is resolved

@bsunderhus bsunderhus added the Status: Blocked Resolution blocked by another issue label Oct 6, 2022
@bsunderhus bsunderhus marked this pull request as ready for review October 12, 2022 12:15
@bsunderhus bsunderhus requested a review from a team as a code owner October 12, 2022 12:15
@bsunderhus bsunderhus removed the Status: Blocked Resolution blocked by another issue label Oct 12, 2022
@bsunderhus bsunderhus merged commit e563f3d into microsoft:master Oct 13, 2022
@bsunderhus bsunderhus deleted the react-utilities/feat--disableButtonEnchancement branch October 13, 2022 11:03
NotWoods pushed a commit to NotWoods/fluentui that referenced this pull request Nov 18, 2022
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