chore(react-portal, portal-compat, portal-compat-context): migrate to new package structure#25481
Merged
TristanWatanabe merged 6 commits intomicrosoft:masterfrom Nov 2, 2022
Conversation
59 tasks
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: cd78876740a3e4093470068bf3c8611ceca733c5 (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 5449490:
|
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1282 | 1273 | 5000 | |
| Button | mount | 921 | 937 | 5000 | |
| FluentProvider | mount | 1502 | 1473 | 5000 | |
| FluentProviderWithTheme | mount | 589 | 590 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 538 | 548 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 587 | 575 | 10 | |
| MakeStyles | mount | 1980 | 2012 | 50000 | |
| SpinButton | mount | 2309 | 2349 | 5000 |
Collaborator
📊 Bundle size reportUnchanged fixtures
|
Collaborator
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| AttachmentMinimalPerf.default | 130 | 122 | 1.07:1 |
| BoxMinimalPerf.default | 304 | 289 | 1.05:1 |
| FlexMinimalPerf.default | 254 | 242 | 1.05:1 |
| ProviderMinimalPerf.default | 329 | 314 | 1.05:1 |
| SkeletonMinimalPerf.default | 311 | 296 | 1.05:1 |
| AvatarMinimalPerf.default | 165 | 159 | 1.04:1 |
| CarouselMinimalPerf.default | 362 | 349 | 1.04:1 |
| AccordionMinimalPerf.default | 126 | 122 | 1.03:1 |
| ButtonMinimalPerf.default | 137 | 133 | 1.03:1 |
| GridMinimalPerf.default | 298 | 289 | 1.03:1 |
| LoaderMinimalPerf.default | 273 | 264 | 1.03:1 |
| RefMinimalPerf.default | 193 | 187 | 1.03:1 |
| TreeMinimalPerf.default | 702 | 679 | 1.03:1 |
| VideoMinimalPerf.default | 636 | 618 | 1.03:1 |
| AlertMinimalPerf.default | 222 | 218 | 1.02:1 |
| AnimationMinimalPerf.default | 476 | 468 | 1.02:1 |
| AttachmentSlotsPerf.default | 874 | 855 | 1.02:1 |
| CardMinimalPerf.default | 468 | 459 | 1.02:1 |
| FormMinimalPerf.default | 329 | 322 | 1.02:1 |
| ListNestedPerf.default | 467 | 458 | 1.02:1 |
| MenuButtonMinimalPerf.default | 1373 | 1340 | 1.02:1 |
| PopupMinimalPerf.default | 560 | 550 | 1.02:1 |
| ReactionMinimalPerf.default | 331 | 326 | 1.02:1 |
| SegmentMinimalPerf.default | 302 | 297 | 1.02:1 |
| CustomToolbarPrototype.default | 2182 | 2138 | 1.02:1 |
| ButtonSlotsPerf.default | 430 | 424 | 1.01:1 |
| DividerMinimalPerf.default | 316 | 314 | 1.01:1 |
| DropdownMinimalPerf.default | 2176 | 2162 | 1.01:1 |
| HeaderSlotsPerf.default | 676 | 672 | 1.01:1 |
| LayoutMinimalPerf.default | 311 | 307 | 1.01:1 |
| ListCommonPerf.default | 515 | 509 | 1.01:1 |
| ListMinimalPerf.default | 455 | 452 | 1.01:1 |
| MenuMinimalPerf.default | 730 | 725 | 1.01:1 |
| PortalMinimalPerf.default | 135 | 134 | 1.01:1 |
| IconMinimalPerf.default | 567 | 563 | 1.01:1 |
| TextMinimalPerf.default | 301 | 298 | 1.01:1 |
| TooltipMinimalPerf.default | 1884 | 1872 | 1.01:1 |
| ButtonOverridesMissPerf.default | 1020 | 1015 | 1:1 |
| ChatMinimalPerf.default | 622 | 619 | 1:1 |
| ChatWithPopoverPerf.default | 285 | 286 | 1:1 |
| CheckboxMinimalPerf.default | 1524 | 1531 | 1:1 |
| DatepickerMinimalPerf.default | 4633 | 4626 | 1:1 |
| DialogMinimalPerf.default | 686 | 685 | 1:1 |
| DropdownManyItemsPerf.default | 527 | 526 | 1:1 |
| ItemLayoutMinimalPerf.default | 964 | 963 | 1:1 |
| RosterPerf.default | 1711 | 1705 | 1:1 |
| ProviderMergeThemesPerf.default | 991 | 991 | 1:1 |
| SliderMinimalPerf.default | 1239 | 1233 | 1:1 |
| SplitButtonMinimalPerf.default | 3274 | 3270 | 1:1 |
| TableManyItemsPerf.default | 1570 | 1577 | 1:1 |
| ToolbarMinimalPerf.default | 794 | 795 | 1:1 |
| ChatDuplicateMessagesPerf.default | 216 | 218 | 0.99:1 |
| EmbedMinimalPerf.default | 2622 | 2636 | 0.99:1 |
| HeaderMinimalPerf.default | 311 | 315 | 0.99:1 |
| InputMinimalPerf.default | 845 | 853 | 0.99:1 |
| LabelMinimalPerf.default | 330 | 333 | 0.99:1 |
| ListWith60ListItems.default | 496 | 501 | 0.99:1 |
| StatusMinimalPerf.default | 602 | 608 | 0.99:1 |
| TableMinimalPerf.default | 354 | 356 | 0.99:1 |
| TextAreaMinimalPerf.default | 403 | 409 | 0.99:1 |
| ImageMinimalPerf.default | 334 | 341 | 0.98:1 |
| RadioGroupMinimalPerf.default | 385 | 395 | 0.97:1 |
| TreeWith60ListItems.default | 120 | 132 | 0.91:1 |
Collaborator
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| GroupedList | mount | 2547 | 2928 | 2 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1575 | 1546 | 5000 | |
| Breadcrumb | mount | 3754 | 3653 | 1000 | |
| Checkbox | mount | 3454 | 3410 | 5000 | |
| CheckboxBase | mount | 3040 | 3167 | 5000 | |
| ChoiceGroup | mount | 5868 | 5859 | 5000 | |
| ComboBox | mount | 1618 | 1568 | 1000 | |
| CommandBar | mount | 12091 | 12072 | 1000 | |
| ContextualMenu | mount | 13791 | 13548 | 1000 | |
| DefaultButton | mount | 1802 | 1807 | 5000 | |
| DetailsRow | mount | 4785 | 4678 | 5000 | |
| DetailsRowFast | mount | 4801 | 4805 | 5000 | |
| DetailsRowNoStyles | mount | 4545 | 4510 | 5000 | |
| Dialog | mount | 3897 | 3946 | 1000 | |
| DocumentCardTitle | mount | 743 | 736 | 1000 | |
| Dropdown | mount | 4255 | 4251 | 5000 | |
| FocusTrapZone | mount | 2550 | 2570 | 5000 | |
| FocusZone | mount | 2420 | 2530 | 5000 | |
| GroupedList | mount | 2547 | 2928 | 2 | Possible regression |
| GroupedList | virtual-rerender | 1463 | 1482 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 2186 | 2203 | 2 | |
| GroupedListV2 | mount | 685 | 702 | 2 | |
| GroupedListV2 | virtual-rerender | 665 | 660 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 699 | 703 | 2 | |
| IconButton | mount | 2565 | 2588 | 5000 | |
| Label | mount | 922 | 906 | 5000 | |
| Layer | mount | 5414 | 5449 | 5000 | |
| Link | mount | 1029 | 1044 | 5000 | |
| MenuButton | mount | 2207 | 2211 | 5000 | |
| MessageBar | mount | 2981 | 2986 | 5000 | |
| Nav | mount | 4317 | 4428 | 1000 | |
| OverflowSet | mount | 1715 | 1728 | 5000 | |
| Panel | mount | 3204 | 3175 | 1000 | |
| Persona | mount | 1643 | 1652 | 1000 | |
| Pivot | mount | 2138 | 2119 | 1000 | |
| PrimaryButton | mount | 2002 | 1975 | 5000 | |
| Rating | mount | 9600 | 9666 | 5000 | |
| SearchBox | mount | 2032 | 2053 | 5000 | |
| Shimmer | mount | 3797 | 3744 | 5000 | |
| Slider | mount | 2655 | 2710 | 5000 | |
| SpinButton | mount | 6073 | 6090 | 5000 | |
| Spinner | mount | 984 | 974 | 5000 | |
| SplitButton | mount | 4050 | 4054 | 5000 | |
| Stack | mount | 1056 | 1071 | 5000 | |
| StackWithIntrinsicChildren | mount | 3389 | 3386 | 5000 | |
| StackWithTextChildren | mount | 6802 | 6738 | 5000 | |
| SwatchColorPicker | mount | 13751 | 13636 | 5000 | |
| TagPicker | mount | 3483 | 3425 | 5000 | |
| TeachingBubble | mount | 110106 | 108751 | 5000 | |
| Text | mount | 1016 | 1011 | 5000 | |
| TextField | mount | 2097 | 2116 | 5000 | |
| ThemeProvider | mount | 1916 | 1921 | 5000 | |
| ThemeProvider | virtual-rerender | 1345 | 1344 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 2715 | 2722 | 5000 | |
| Toggle | mount | 1400 | 1394 | 5000 | |
| buttonNative | mount | 640 | 662 | 5000 |
TristanWatanabe
commented
Nov 2, 2022
| return registerPortal(ref.current); | ||
| } | ||
| }, []); | ||
| }, [registerPortal]); |
Member
Author
There was a problem hiding this comment.
Fixes lint error:
React Hook React.useEffect has a missing dependency: 'registerPortal'. Either include it or remove the dependency array react-hooks/exhaustive-deps
bsunderhus
approved these changes
Nov 2, 2022
marcosmoura
added a commit
to marcosmoura/fluentui
that referenced
this pull request
Nov 3, 2022
* master: feat(scripts): improve API violation reporting (microsoft#25356) applying package updates fix: Preventing blanket selectors from Fabric component from being applied via new preventBlanketFontInheritance prop (microsoft#25453) feat(react-infobutton): Add initial implementation (microsoft#25247) chore(react-avatar, avatar-context): migrate to new package structure (microsoft#25473) chore(react-portal, portal-compat, portal-compat-context): migrate to new package structure (microsoft#25481) docs(react-infobutton): Adding component's spec (microsoft#25251) fix(screener-build workflow): scope package to build for v9 VR tests to speed up perf (microsoft#25494) chore(vr-tests-v9): Convert Button VR tests to CSF (microsoft#25108)
NotWoods
pushed a commit
to NotWoods/fluentui
that referenced
this pull request
Nov 18, 2022
… new package structure (microsoft#25481)
Hotell
pushed a commit
to Hotell/fluentui
that referenced
this pull request
Feb 9, 2023
… new package structure (microsoft#25481)
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:
migrate-converged-pkgwhich reflects updates made in chore(migrate-converged): add functionality to execute various v9 package file restructuring tasks #24458.stories/folder in the root of the package.common/folder and moves contents to newtesting/folderdocs/folder to package root.Issue: