Create react-migration-v8-v9 with shims and stories#25121
Merged
GeoffCoxMSFT merged 22 commits intomicrosoft:masterfrom Oct 7, 2022
Merged
Create react-migration-v8-v9 with shims and stories#25121GeoffCoxMSFT merged 22 commits intomicrosoft:masterfrom
GeoffCoxMSFT merged 22 commits intomicrosoft:masterfrom
Conversation
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: c78ae4c551ef8dd8109fc339047cfdfd1c1b9948 (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 4b39910:
|
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1663 | 1696 | 5000 | |
| Button | mount | 1167 | 1180 | 5000 | |
| FluentProvider | mount | 1977 | 1987 | 5000 | |
| FluentProviderWithTheme | mount | 753 | 744 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 684 | 679 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 737 | 745 | 10 | |
| MakeStyles | mount | 2321 | 2326 | 50000 | |
| SpinButton | mount | 3319 | 3306 | 5000 |
micahgodbolt
approved these changes
Oct 6, 2022
Collaborator
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| ButtonMinimalPerf.default | 195 | 173 | 1.13:1 |
| RefMinimalPerf.default | 234 | 207 | 1.13:1 |
| PortalMinimalPerf.default | 183 | 163 | 1.12:1 |
| IconMinimalPerf.default | 776 | 704 | 1.1:1 |
| ButtonSlotsPerf.default | 603 | 571 | 1.06:1 |
| TextMinimalPerf.default | 394 | 373 | 1.06:1 |
| AlertMinimalPerf.default | 314 | 300 | 1.05:1 |
| StatusMinimalPerf.default | 797 | 762 | 1.05:1 |
| TableMinimalPerf.default | 466 | 442 | 1.05:1 |
| TreeMinimalPerf.default | 911 | 866 | 1.05:1 |
| AnimationMinimalPerf.default | 590 | 565 | 1.04:1 |
| LayoutMinimalPerf.default | 412 | 398 | 1.04:1 |
| ReactionMinimalPerf.default | 439 | 422 | 1.04:1 |
| CarouselMinimalPerf.default | 511 | 496 | 1.03:1 |
| CheckboxMinimalPerf.default | 2324 | 2264 | 1.03:1 |
| DividerMinimalPerf.default | 411 | 400 | 1.03:1 |
| FormMinimalPerf.default | 439 | 428 | 1.03:1 |
| HeaderMinimalPerf.default | 408 | 397 | 1.03:1 |
| ListNestedPerf.default | 659 | 638 | 1.03:1 |
| ProviderMinimalPerf.default | 431 | 420 | 1.03:1 |
| TooltipMinimalPerf.default | 2584 | 2519 | 1.03:1 |
| BoxMinimalPerf.default | 380 | 371 | 1.02:1 |
| ButtonOverridesMissPerf.default | 1478 | 1450 | 1.02:1 |
| ChatWithPopoverPerf.default | 411 | 404 | 1.02:1 |
| FlexMinimalPerf.default | 310 | 305 | 1.02:1 |
| RosterPerf.default | 2362 | 2321 | 1.02:1 |
| RadioGroupMinimalPerf.default | 504 | 492 | 1.02:1 |
| SliderMinimalPerf.default | 1755 | 1729 | 1.02:1 |
| ToolbarMinimalPerf.default | 1048 | 1031 | 1.02:1 |
| AttachmentMinimalPerf.default | 165 | 164 | 1.01:1 |
| AttachmentSlotsPerf.default | 1232 | 1215 | 1.01:1 |
| AvatarMinimalPerf.default | 210 | 208 | 1.01:1 |
| CardMinimalPerf.default | 611 | 602 | 1.01:1 |
| DropdownManyItemsPerf.default | 750 | 739 | 1.01:1 |
| ItemLayoutMinimalPerf.default | 1310 | 1303 | 1.01:1 |
| SplitButtonMinimalPerf.default | 4856 | 4816 | 1.01:1 |
| DatepickerMinimalPerf.default | 6217 | 6225 | 1:1 |
| DropdownMinimalPerf.default | 2825 | 2834 | 1:1 |
| EmbedMinimalPerf.default | 4026 | 4020 | 1:1 |
| ImageMinimalPerf.default | 456 | 455 | 1:1 |
| ListCommonPerf.default | 739 | 742 | 1:1 |
| CustomToolbarPrototype.default | 2808 | 2818 | 1:1 |
| ChatDuplicateMessagesPerf.default | 295 | 298 | 0.99:1 |
| HeaderSlotsPerf.default | 869 | 875 | 0.99:1 |
| ListMinimalPerf.default | 590 | 594 | 0.99:1 |
| LoaderMinimalPerf.default | 704 | 711 | 0.99:1 |
| MenuMinimalPerf.default | 930 | 936 | 0.99:1 |
| PopupMinimalPerf.default | 661 | 665 | 0.99:1 |
| ProviderMergeThemesPerf.default | 1290 | 1302 | 0.99:1 |
| SkeletonMinimalPerf.default | 381 | 384 | 0.99:1 |
| TableManyItemsPerf.default | 2165 | 2192 | 0.99:1 |
| TreeWith60ListItems.default | 174 | 176 | 0.99:1 |
| ChatMinimalPerf.default | 777 | 791 | 0.98:1 |
| DialogMinimalPerf.default | 825 | 838 | 0.98:1 |
| InputMinimalPerf.default | 1221 | 1245 | 0.98:1 |
| MenuButtonMinimalPerf.default | 1843 | 1877 | 0.98:1 |
| VideoMinimalPerf.default | 781 | 799 | 0.98:1 |
| SegmentMinimalPerf.default | 374 | 385 | 0.97:1 |
| TextAreaMinimalPerf.default | 561 | 576 | 0.97:1 |
| LabelMinimalPerf.default | 410 | 428 | 0.96:1 |
| ListWith60ListItems.default | 687 | 712 | 0.96:1 |
| GridMinimalPerf.default | 351 | 376 | 0.93:1 |
| AccordionMinimalPerf.default | 159 | 175 | 0.91:1 |
khmakoto
reviewed
Oct 6, 2022
packages/react-migration-v8-v9/src/components/Button/ActionButtonShim.tsx
Outdated
Show resolved
Hide resolved
packages/react-migration-v8-v9/src/components/Button/ButtonShim.tsx
Outdated
Show resolved
Hide resolved
packages/react-migration-v8-v9/src/components/Button/CompoundButtonShim.tsx
Outdated
Show resolved
Hide resolved
packages/react-migration-v8-v9/src/stories/ActionButtonShim/index.stories.tsx
Outdated
Show resolved
Hide resolved
packages/react-migration-v8-v9/src/stories/CommandButtonShim/index.stories.tsx
Outdated
Show resolved
Hide resolved
packages/react-migration-v8-v9/src/stories/MenuButtonShim/index.stories.tsx
Outdated
Show resolved
Hide resolved
packages/react-migration-v8-v9/src/stories/Stack/index.stories.tsx
Outdated
Show resolved
Hide resolved
packages/react-migration-v8-v9/src/stories/ToggleButtonShim/index.stories.tsx
Outdated
Show resolved
Hide resolved
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1498 | 1547 | 5000 | |
| Breadcrumb | mount | 3719 | 3624 | 1000 | |
| Checkbox | mount | 3359 | 3426 | 5000 | |
| CheckboxBase | mount | 3011 | 2953 | 5000 | |
| ChoiceGroup | mount | 5713 | 5722 | 5000 | |
| ComboBox | mount | 1561 | 1565 | 1000 | |
| CommandBar | mount | 11757 | 11693 | 1000 | |
| ContextualMenu | mount | 13314 | 13255 | 1000 | |
| DefaultButton | mount | 1733 | 1875 | 5000 | |
| DetailsRow | mount | 4643 | 4548 | 5000 | |
| DetailsRowFast | mount | 4592 | 4608 | 5000 | |
| DetailsRowNoStyles | mount | 4442 | 4449 | 5000 | |
| Dialog | mount | 3894 | 3804 | 1000 | |
| DocumentCardTitle | mount | 706 | 715 | 1000 | |
| Dropdown | mount | 4127 | 4127 | 5000 | |
| FocusTrapZone | mount | 2472 | 2500 | 5000 | |
| FocusZone | mount | 2454 | 2396 | 5000 | |
| GroupedList | mount | 68945 | 79054 | 2 | |
| GroupedList | virtual-rerender | 32623 | 33265 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 108600 | 110005 | 2 | |
| GroupedListV2 | mount | 675 | 704 | 2 | |
| GroupedListV2 | virtual-rerender | 651 | 663 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 705 | 706 | 2 | |
| IconButton | mount | 2477 | 2447 | 5000 | |
| Label | mount | 897 | 902 | 5000 | |
| Layer | mount | 5339 | 5393 | 5000 | |
| Link | mount | 1057 | 1051 | 5000 | |
| MenuButton | mount | 2174 | 2153 | 5000 | |
| MessageBar | mount | 2870 | 2816 | 5000 | |
| Nav | mount | 4210 | 4267 | 1000 | |
| OverflowSet | mount | 1713 | 1698 | 5000 | |
| Panel | mount | 3045 | 3093 | 1000 | |
| Persona | mount | 1588 | 1613 | 1000 | |
| Pivot | mount | 2052 | 2088 | 1000 | |
| PrimaryButton | mount | 1935 | 1933 | 5000 | |
| Rating | mount | 9194 | 9292 | 5000 | |
| SearchBox | mount | 1941 | 1967 | 5000 | |
| Shimmer | mount | 3728 | 3745 | 5000 | |
| Slider | mount | 2682 | 2670 | 5000 | |
| SpinButton | mount | 6348 | 6326 | 5000 | |
| Spinner | mount | 975 | 986 | 5000 | |
| SplitButton | mount | 3943 | 3969 | 5000 | |
| Stack | mount | 1092 | 1082 | 5000 | |
| StackWithIntrinsicChildren | mount | 3164 | 3195 | 5000 | |
| StackWithTextChildren | mount | 6456 | 6444 | 5000 | |
| SwatchColorPicker | mount | 13412 | 13478 | 5000 | |
| TagPicker | mount | 3311 | 3483 | 5000 | |
| TeachingBubble | mount | 105577 | 106607 | 5000 | |
| Text | mount | 1000 | 1000 | 5000 | |
| TextField | mount | 2028 | 2124 | 5000 | |
| ThemeProvider | mount | 1853 | 1888 | 5000 | |
| ThemeProvider | virtual-rerender | 1342 | 1311 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 2656 | 2672 | 5000 | |
| Toggle | mount | 1395 | 1394 | 5000 | |
| buttonNative | mount | 671 | 654 | 5000 |
JustSlone
approved these changes
Oct 6, 2022
…tonShim.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
…m.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
…uttonShim.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
…ttonShim.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
…dex.stories.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
…ndex.stories.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
…x.stories.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
…dex.stories.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
….tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
…nShim.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
…cates.ts Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
khmakoto
approved these changes
Oct 6, 2022
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Oct 10, 2022
* master: (23 commits) Revert "chore: screener-run workflow should report to PR (microsoft#25144)" (microsoft#25145) chore: screener-run workflow should report to PR (microsoft#25144) applying package updates fix: The Tooltip should not hide if it gets keyboard focus (microsoft#25138) fix: Tooltip should not hide if an element inside it gets focused (microsoft#25140) Create react-migration-v8-v9 with shims and stories (microsoft#25121) fix: CheckboxField to set a generated ID on the input, to match the label's htmlFor (microsoft#25079) feat: Overflow menu should be registered in overflowManager (microsoft#25091) fix: version-bump generator removes beachball disallowedChangeType config (microsoft#25130) fix: new overflow items should only be enqueued while observing (microsoft#25122) fix(script): allow runPublished call from CLI (microsoft#25127) feat: add vertical variation for toolbar (microsoft#24940) ProgressField implementation and stories (microsoft#25103) fix: Dropdown icon layout with no placeholder/value (microsoft#25049) chore: add a bundle size fixture (Button, Provider & theme) (microsoft#25113) feat: Adding subtle transition between states on Button components (microsoft#25106) Revert "chore: screener-run workflow should report to PR (microsoft#25096)" (microsoft#25115) chore: screener-run workflow should report to PR (microsoft#25096) fix(react-dialog): aria-* properties should be reassignable (microsoft#25092) fix(scripts): don't run publish if web-components are affected (microsoft#25095) ...
NotWoods
pushed a commit
to NotWoods/fluentui
that referenced
this pull request
Nov 18, 2022
* Move button and stack stories into migration shim component * Update packages/react-migration-v8-v9/src/components/Button/ActionButtonShim.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Update packages/react-migration-v8-v9/src/components/Button/ButtonShim.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Update packages/react-migration-v8-v9/src/components/Button/CompoundButtonShim.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Update packages/react-migration-v8-v9/src/components/Button/DefaultButtonShim.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Update packages/react-migration-v8-v9/src/stories/ActionButtonShim/index.stories.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Update packages/react-migration-v8-v9/src/stories/CommandButtonShim/index.stories.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Update packages/react-migration-v8-v9/src/stories/MenuButtonShim/index.stories.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Update packages/react-migration-v8-v9/src/stories/ToggleButtonShim/index.stories.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Update packages/react-migration-v8-v9/src/stories/Stack/index.stories.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Improved readme * Update packages/react-migration-v8-v9/src/components/Button/MenuButtonShim.tsx Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Apply suggestions from code review Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Apply suggestions from code review Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Apply suggestions from code review Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Update packages/react-migration-v8-v9/src/components/Theme/themeDuplicates.ts Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com> * Fix typo from committed suggestion * PR build fixes * trying to fix in ci build * Fixing types path for api extraction * Fixed lint issues with imports * More lint fixes Co-authored-by: Makoto Morimoto <Humberto.Morimoto@microsoft.com>
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.
Changes
Note: Theme shim documentation and stories to move in future PR.
Issues
Updates #25120