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

fix(react-progress): Stories should import from react-components #27497

Merged
merged 1 commit into from
Apr 10, 2023

Conversation

behowell
Copy link
Contributor

@behowell behowell commented Apr 10, 2023

Previous Behavior

ProgressBar stories import directly from individual packages: react-progress and react-field. This causes lint errors in unrelated PRs, such as #27492.

New Behavior

Change ProgressBar stories to import from react-components instead of individual packages.

Related Issue(s)

Similar fix in react-skeleton: #27498

@codesandbox-ci
Copy link

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 5061f40:

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

@size-auditor
Copy link

size-auditor bot commented Apr 10, 2023

Asset size changes

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

Baseline commit: 763202a8995b7ca3e9e552828e07f015ffbdc6d7 (build)

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
67.994 kB
18.395 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
207.512 kB
57.555 kB
react-components
react-components: FluentProvider & webLightTheme
38.819 kB
12.351 kB
react-portal-compat
PortalCompatProvider
6.446 kB
2.185 kB
react-progress
ProgressBar
16.322 kB
5.822 kB
🤖 This report was generated against 763202a8995b7ca3e9e552828e07f015ffbdc6d7

@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
InfoButton mount 16 25 5000 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 690 696 5000
Button mount 379 367 5000
Field mount 1284 1253 5000
FluentProvider mount 891 887 5000
FluentProviderWithTheme mount 115 121 10
FluentProviderWithTheme virtual-rerender 98 104 10
FluentProviderWithTheme virtual-rerender-with-unmount 114 97 10
InfoButton mount 16 25 5000 Possible regression
MakeStyles mount 1119 1107 50000
Persona mount 2009 1929 5000
SpinButton mount 1553 1568 5000

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@behowell behowell marked this pull request as ready for review April 10, 2023 08:33
@behowell behowell requested review from a team and tomi-msft as code owners April 10, 2023 08:33
@behowell behowell merged commit b0084da into microsoft:master Apr 10, 2023
@behowell behowell deleted the progress/fix-story-imports branch April 10, 2023 16:47
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