-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
refactor(react-popover): apply controls setup based on SB authoring RFC #18513
refactor(react-popover): apply controls setup based on SB authoring RFC #18513
Conversation
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 67cb7ffb83c92b3cd98768c16d6baaacef02e95b (build) |
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 791 | 781 | 5000 | |
BaseButton | mount | 878 | 878 | 5000 | |
Breadcrumb | mount | 2603 | 2623 | 1000 | |
ButtonNext | mount | 516 | 522 | 5000 | |
Checkbox | mount | 1458 | 1550 | 5000 | |
CheckboxBase | mount | 1259 | 1266 | 5000 | |
ChoiceGroup | mount | 4627 | 4582 | 5000 | |
ComboBox | mount | 1008 | 969 | 1000 | |
CommandBar | mount | 10036 | 10057 | 1000 | |
ContextualMenu | mount | 6151 | 6193 | 1000 | |
DefaultButton | mount | 1087 | 1096 | 5000 | |
DetailsRow | mount | 3674 | 3691 | 5000 | |
DetailsRowFast | mount | 3647 | 3715 | 5000 | |
DetailsRowNoStyles | mount | 3464 | 3517 | 5000 | |
Dialog | mount | 2099 | 2103 | 1000 | |
DocumentCardTitle | mount | 154 | 146 | 1000 | |
Dropdown | mount | 3237 | 3172 | 5000 | |
FluentProviderNext | mount | 7221 | 7273 | 5000 | |
FocusTrapZone | mount | 1776 | 1772 | 5000 | |
FocusZone | mount | 1833 | 1800 | 5000 | |
IconButton | mount | 1719 | 1721 | 5000 | |
Label | mount | 330 | 327 | 5000 | |
Layer | mount | 1749 | 1781 | 5000 | |
Link | mount | 467 | 453 | 5000 | |
MakeStyles | mount | 1806 | 1806 | 50000 | |
MenuButton | mount | 1416 | 1449 | 5000 | |
MessageBar | mount | 1941 | 1980 | 5000 | |
Nav | mount | 3184 | 3221 | 1000 | |
OverflowSet | mount | 1027 | 1028 | 5000 | |
Panel | mount | 2041 | 2027 | 1000 | |
Persona | mount | 808 | 798 | 1000 | |
Pivot | mount | 1515 | 1417 | 1000 | |
PrimaryButton | mount | 1253 | 1284 | 5000 | |
Rating | mount | 7495 | 7396 | 5000 | |
SearchBox | mount | 1286 | 1280 | 5000 | |
Shimmer | mount | 2587 | 2587 | 5000 | |
Slider | mount | 1924 | 1935 | 5000 | |
SpinButton | mount | 4909 | 4902 | 5000 | |
Spinner | mount | 409 | 410 | 5000 | |
SplitButton | mount | 3086 | 3107 | 5000 | |
Stack | mount | 491 | 490 | 5000 | |
StackWithIntrinsicChildren | mount | 1473 | 1471 | 5000 | |
StackWithTextChildren | mount | 4392 | 4367 | 5000 | |
SwatchColorPicker | mount | 10075 | 9986 | 5000 | |
Tabs | mount | 1404 | 1391 | 1000 | |
TagPicker | mount | 2468 | 2342 | 5000 | |
TeachingBubble | mount | 11728 | 11817 | 5000 | |
Text | mount | 415 | 415 | 5000 | |
TextField | mount | 1332 | 1354 | 5000 | |
ThemeProvider | mount | 1165 | 1165 | 5000 | |
ThemeProvider | virtual-rerender | 599 | 588 | 5000 | |
Toggle | mount | 799 | 786 | 5000 | |
buttonNative | mount | 105 | 123 | 5000 |
Perf Analysis (@fluentui/react-northstar
)
Perf tests with no regressions
Scenario | Current PR Ticks | Baseline Ticks | Ratio |
---|---|---|---|
AvatarMinimalPerf.default | 195 | 182 | 1.07:1 |
ButtonMinimalPerf.default | 164 | 153 | 1.07:1 |
ChatMinimalPerf.default | 657 | 627 | 1.05:1 |
AnimationMinimalPerf.default | 406 | 390 | 1.04:1 |
TableMinimalPerf.default | 405 | 390 | 1.04:1 |
TooltipMinimalPerf.default | 1004 | 969 | 1.04:1 |
VideoMinimalPerf.default | 628 | 605 | 1.04:1 |
AccordionMinimalPerf.default | 150 | 145 | 1.03:1 |
AttachmentMinimalPerf.default | 153 | 148 | 1.03:1 |
CarouselMinimalPerf.default | 443 | 432 | 1.03:1 |
ChatDuplicateMessagesPerf.default | 285 | 278 | 1.03:1 |
FlexMinimalPerf.default | 279 | 272 | 1.03:1 |
GridMinimalPerf.default | 328 | 318 | 1.03:1 |
RefMinimalPerf.default | 233 | 227 | 1.03:1 |
ToolbarMinimalPerf.default | 936 | 905 | 1.03:1 |
AttachmentSlotsPerf.default | 1053 | 1030 | 1.02:1 |
EmbedMinimalPerf.default | 4054 | 3974 | 1.02:1 |
ItemLayoutMinimalPerf.default | 1191 | 1162 | 1.02:1 |
ListMinimalPerf.default | 497 | 489 | 1.02:1 |
ListWith60ListItems.default | 635 | 622 | 1.02:1 |
ProviderMergeThemesPerf.default | 1659 | 1632 | 1.02:1 |
TextAreaMinimalPerf.default | 485 | 476 | 1.02:1 |
ButtonSlotsPerf.default | 537 | 534 | 1.01:1 |
ChatWithPopoverPerf.default | 355 | 352 | 1.01:1 |
FormMinimalPerf.default | 385 | 382 | 1.01:1 |
InputMinimalPerf.default | 1238 | 1221 | 1.01:1 |
LabelMinimalPerf.default | 379 | 375 | 1.01:1 |
MenuMinimalPerf.default | 841 | 831 | 1.01:1 |
PortalMinimalPerf.default | 173 | 171 | 1.01:1 |
RadioGroupMinimalPerf.default | 440 | 434 | 1.01:1 |
SplitButtonMinimalPerf.default | 3706 | 3664 | 1.01:1 |
TreeWith60ListItems.default | 163 | 162 | 1.01:1 |
BoxMinimalPerf.default | 337 | 336 | 1:1 |
ButtonOverridesMissPerf.default | 1655 | 1650 | 1:1 |
CardMinimalPerf.default | 526 | 525 | 1:1 |
CheckboxMinimalPerf.default | 2685 | 2693 | 1:1 |
DropdownManyItemsPerf.default | 662 | 662 | 1:1 |
DropdownMinimalPerf.default | 3028 | 3021 | 1:1 |
HeaderSlotsPerf.default | 739 | 738 | 1:1 |
ProviderMinimalPerf.default | 961 | 958 | 1:1 |
SegmentMinimalPerf.default | 340 | 340 | 1:1 |
SliderMinimalPerf.default | 1527 | 1522 | 1:1 |
CustomToolbarPrototype.default | 3786 | 3799 | 1:1 |
DialogMinimalPerf.default | 734 | 739 | 0.99:1 |
DividerMinimalPerf.default | 339 | 342 | 0.99:1 |
ListNestedPerf.default | 534 | 540 | 0.99:1 |
MenuButtonMinimalPerf.default | 1602 | 1613 | 0.99:1 |
SkeletonMinimalPerf.default | 342 | 347 | 0.99:1 |
TableManyItemsPerf.default | 1872 | 1882 | 0.99:1 |
TreeMinimalPerf.default | 770 | 781 | 0.99:1 |
LayoutMinimalPerf.default | 347 | 355 | 0.98:1 |
LoaderMinimalPerf.default | 664 | 680 | 0.98:1 |
ReactionMinimalPerf.default | 368 | 377 | 0.98:1 |
StatusMinimalPerf.default | 664 | 676 | 0.98:1 |
TextMinimalPerf.default | 332 | 340 | 0.98:1 |
DatepickerMinimalPerf.default | 5197 | 5371 | 0.97:1 |
HeaderMinimalPerf.default | 342 | 353 | 0.97:1 |
ListCommonPerf.default | 599 | 619 | 0.97:1 |
PopupMinimalPerf.default | 562 | 580 | 0.97:1 |
ImageMinimalPerf.default | 351 | 364 | 0.96:1 |
RosterPerf.default | 1114 | 1167 | 0.95:1 |
AlertMinimalPerf.default | 248 | 264 | 0.94:1 |
IconMinimalPerf.default | 567 | 617 | 0.92:1 |
@@ -11,7 +11,7 @@ | |||
"importHelpers": true, | |||
"noUnusedLocals": true, | |||
"preserveConstEnums": true, | |||
"types": ["jest", "custom-global", "inline-style-expand-shorthand"] | |||
"types": ["jest", "custom-global", "inline-style-expand-shorthand", "storybook__addons"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
properly consume sb addons type definitions from our overrides
controls?: ControlsParameters & DisableControl; | ||
} | ||
|
||
interface ControlsParameters { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
while this exists in SB github repo it is not being exposed for consumers (also most of these are completely missing in 6.0.x so probably might not work - sort doesn't work (tried that out), rest seems to be working )
ab74146
to
c8391cd
Compare
c8391cd
to
d1be2e3
Compare
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 d1be2e3:
|
📊 Bundle size reportUnchanged fixtures
|
…FC (microsoft#18513) * feat(tools): apply new local SB template * Change files * chore: add react-popover to codeowners
Pull request checklist
$ yarn change
Description of changes
TODO Martin:
Focus areas to test
(optional)