chore: migrate to prettier 2.8#26959
Merged
Hotell merged 13 commits intomicrosoft:masterfrom Mar 2, 2023
Merged
Conversation
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1699 | 1682 | 5000 | |
| Button | mount | 1145 | 1177 | 5000 | |
| Field | mount | 2636 | 2621 | 5000 | |
| FluentProvider | mount | 2038 | 1982 | 5000 | |
| FluentProviderWithTheme | mount | 718 | 745 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 669 | 688 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 750 | 711 | 10 | |
| InfoButton | mount | 650 | 647 | 5000 | |
| MakeStyles | mount | 2326 | 2345 | 50000 | |
| Persona | mount | 4000 | 3970 | 5000 | |
| SpinButton | mount | 3253 | 3203 | 5000 |
Collaborator
Perf Analysis (
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: cb0acaa586d84b70a9d2c3a9f4a14d5cdd3022cb (build) |
|
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 148da27:
|
Collaborator
🕵 fluentuiv9 No visual regressions between this PR and main |
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1529 | 1534 | 5000 | |
| Breadcrumb | mount | 3649 | 3629 | 1000 | |
| Checkbox | mount | 3322 | 3371 | 5000 | |
| CheckboxBase | mount | 3029 | 2974 | 5000 | |
| ChoiceGroup | mount | 5836 | 5755 | 5000 | |
| ComboBox | mount | 1571 | 1598 | 1000 | |
| CommandBar | mount | 11839 | 11799 | 1000 | |
| ContextualMenu | mount | 17705 | 17887 | 1000 | |
| DefaultButton | mount | 1774 | 1757 | 5000 | |
| DetailsRow | mount | 4514 | 4472 | 5000 | |
| DetailsRowFast | mount | 4483 | 4451 | 5000 | |
| DetailsRowNoStyles | mount | 4347 | 4285 | 5000 | |
| Dialog | mount | 3856 | 3943 | 1000 | |
| DocumentCardTitle | mount | 707 | 750 | 1000 | |
| Dropdown | mount | 4180 | 4238 | 5000 | |
| FocusTrapZone | mount | 2543 | 2581 | 5000 | |
| FocusZone | mount | 2509 | 2482 | 5000 | |
| GroupedList | mount | 67205 | 76166 | 2 | |
| GroupedList | virtual-rerender | 31320 | 31334 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 107348 | 107076 | 2 | |
| GroupedListV2 | mount | 676 | 671 | 2 | |
| GroupedListV2 | virtual-rerender | 666 | 660 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 686 | 706 | 2 | |
| IconButton | mount | 2546 | 2502 | 5000 | |
| Label | mount | 883 | 890 | 5000 | |
| Layer | mount | 5384 | 5445 | 5000 | |
| Link | mount | 1032 | 1029 | 5000 | |
| MenuButton | mount | 2151 | 2221 | 5000 | |
| MessageBar | mount | 2928 | 2946 | 5000 | |
| Nav | mount | 4143 | 4208 | 1000 | |
| OverflowSet | mount | 1719 | 1689 | 5000 | |
| Panel | mount | 3152 | 3125 | 1000 | |
| Persona | mount | 1700 | 1693 | 1000 | |
| Pivot | mount | 2075 | 2070 | 1000 | |
| PrimaryButton | mount | 1944 | 1934 | 5000 | |
| Rating | mount | 9362 | 9344 | 5000 | |
| SearchBox | mount | 1978 | 1992 | 5000 | |
| Shimmer | mount | 3739 | 3822 | 5000 | |
| Slider | mount | 2625 | 2648 | 5000 | |
| SpinButton | mount | 6012 | 6064 | 5000 | |
| Spinner | mount | 996 | 998 | 5000 | |
| SplitButton | mount | 3938 | 4045 | 5000 | |
| Stack | mount | 1029 | 1019 | 5000 | |
| StackWithIntrinsicChildren | mount | 3155 | 3176 | 5000 | |
| StackWithTextChildren | mount | 6435 | 6538 | 5000 | |
| SwatchColorPicker | mount | 13214 | 14469 | 5000 | |
| TagPicker | mount | 3396 | 3445 | 5000 | |
| TeachingBubble | mount | 104495 | 104784 | 5000 | |
| Text | mount | 963 | 1007 | 5000 | |
| TextField | mount | 2052 | 2068 | 5000 | |
| ThemeProvider | mount | 1880 | 1910 | 5000 | |
| ThemeProvider | virtual-rerender | 1321 | 1294 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 2674 | 2672 | 5000 | |
| Toggle | mount | 1418 | 1407 | 5000 | |
| buttonNative | mount | 664 | 662 | 5000 |
Collaborator
🕵 FluentUI-v0 No visual regressions between this PR and main |
fabricteam
reviewed
Feb 24, 2023
146acb3 to
48ff2c5
Compare
ling1726
approved these changes
Mar 1, 2023
chrisdholt
approved these changes
Mar 1, 2023
2414ae0 to
148da27
Compare
AtishayMsft
approved these changes
Mar 1, 2023
behowell
approved these changes
Mar 1, 2023
spmonahan
approved these changes
Mar 1, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Notes 💡
Which migration causes most regressions ?:
🔥 2.3
Cant we enable options to mitigate so many diffs?:
These formatting regression cannot be "undone" - there is no prettier config for those diffs to mitigate so many code changes.
All available options -> https://prettier.io/docs/en/options.html
Can't we apply formatting gradually?:
No -- why? --> We run format checks on whole codebase after every merge to master. While this will change in future, that's the current state.
New Behavior
2.3
2.4
2.5
2.6
2.7
2.8
Related Issue(s)