-
Notifications
You must be signed in to change notification settings - Fork 2.9k
feat(react-storybook-addon-export-to-sandbox): make addon generic so it can be published and used outside this repo #29674
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
Conversation
9587e24 to
d213a0f
Compare
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| FluentProviderWithTheme | virtual-rerender-with-unmount | 71 | 79 | 10 | Possible regression |
All results
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 621 | 647 | 5000 | |
| Button | mount | 323 | 303 | 5000 | |
| Field | mount | 1155 | 1119 | 5000 | |
| FluentProvider | mount | 700 | 710 | 5000 | |
| FluentProviderWithTheme | mount | 79 | 89 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 68 | 63 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 71 | 79 | 10 | Possible regression |
| MakeStyles | mount | 844 | 842 | 50000 | |
| Persona | mount | 1825 | 1718 | 5000 | |
| SpinButton | mount | 1389 | 1396 | 5000 |
|
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 44f52b4:
|
d213a0f to
01a24ba
Compare
🕵 fluentuiv8 No visual regressions between this PR and main |
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
| Scenario | Current PR Ticks | Baseline Ticks | Ratio | Regression Analysis |
|---|---|---|---|---|
| AccordionMinimalPerf.default | 81 | 81 | 1:1 | analysis |
Perf tests with no regressions
| Scenario | Current PR Ticks | Baseline Ticks | Ratio |
|---|---|---|---|
| TextMinimalPerf.default | 202 | 185 | 1.09:1 |
| CardMinimalPerf.default | 331 | 307 | 1.08:1 |
| DividerMinimalPerf.default | 213 | 197 | 1.08:1 |
| VideoMinimalPerf.default | 444 | 411 | 1.08:1 |
| AvatarMinimalPerf.default | 115 | 107 | 1.07:1 |
| ChatMinimalPerf.default | 444 | 416 | 1.07:1 |
| AttachmentMinimalPerf.default | 88 | 83 | 1.06:1 |
| ListWith60ListItems.default | 394 | 371 | 1.06:1 |
| RefMinimalPerf.default | 111 | 105 | 1.06:1 |
| SegmentMinimalPerf.default | 209 | 197 | 1.06:1 |
| ChatWithPopoverPerf.default | 201 | 191 | 1.05:1 |
| CarouselMinimalPerf.default | 275 | 264 | 1.04:1 |
| FormMinimalPerf.default | 233 | 223 | 1.04:1 |
| ImageMinimalPerf.default | 226 | 218 | 1.04:1 |
| LayoutMinimalPerf.default | 206 | 199 | 1.04:1 |
| MenuButtonMinimalPerf.default | 1006 | 963 | 1.04:1 |
| TextAreaMinimalPerf.default | 299 | 287 | 1.04:1 |
| AlertMinimalPerf.default | 157 | 153 | 1.03:1 |
| ButtonMinimalPerf.default | 95 | 92 | 1.03:1 |
| DatepickerMinimalPerf.default | 3889 | 3790 | 1.03:1 |
| FlexMinimalPerf.default | 155 | 151 | 1.03:1 |
| ListNestedPerf.default | 325 | 315 | 1.03:1 |
| RadioGroupMinimalPerf.default | 266 | 259 | 1.03:1 |
| SliderMinimalPerf.default | 771 | 750 | 1.03:1 |
| TreeMinimalPerf.default | 499 | 483 | 1.03:1 |
| ChatDuplicateMessagesPerf.default | 157 | 154 | 1.02:1 |
| CheckboxMinimalPerf.default | 1165 | 1141 | 1.02:1 |
| DialogMinimalPerf.default | 452 | 445 | 1.02:1 |
| DropdownManyItemsPerf.default | 391 | 383 | 1.02:1 |
| GridMinimalPerf.default | 192 | 188 | 1.02:1 |
| ItemLayoutMinimalPerf.default | 722 | 706 | 1.02:1 |
| TableManyItemsPerf.default | 1161 | 1139 | 1.02:1 |
| CustomToolbarPrototype.default | 1536 | 1499 | 1.02:1 |
| AttachmentSlotsPerf.default | 645 | 637 | 1.01:1 |
| ButtonOverridesMissPerf.default | 669 | 664 | 1.01:1 |
| PopupMinimalPerf.default | 350 | 347 | 1.01:1 |
| ReactionMinimalPerf.default | 213 | 211 | 1.01:1 |
| TableMinimalPerf.default | 243 | 240 | 1.01:1 |
| TreeWith60ListItems.default | 94 | 93 | 1.01:1 |
| DropdownMinimalPerf.default | 1454 | 1459 | 1:1 |
| EmbedMinimalPerf.default | 1907 | 1900 | 1:1 |
| HeaderSlotsPerf.default | 463 | 463 | 1:1 |
| LoaderMinimalPerf.default | 192 | 192 | 1:1 |
| PortalMinimalPerf.default | 85 | 85 | 1:1 |
| ProviderMergeThemesPerf.default | 652 | 651 | 1:1 |
| StatusMinimalPerf.default | 401 | 401 | 1:1 |
| TooltipMinimalPerf.default | 1274 | 1272 | 1:1 |
| BoxMinimalPerf.default | 190 | 192 | 0.99:1 |
| SkeletonMinimalPerf.default | 208 | 210 | 0.99:1 |
| ButtonSlotsPerf.default | 316 | 322 | 0.98:1 |
| InputMinimalPerf.default | 540 | 551 | 0.98:1 |
| LabelMinimalPerf.default | 217 | 222 | 0.98:1 |
| MenuMinimalPerf.default | 499 | 507 | 0.98:1 |
| ProviderMinimalPerf.default | 211 | 216 | 0.98:1 |
| SplitButtonMinimalPerf.default | 2258 | 2298 | 0.98:1 |
| AnimationMinimalPerf.default | 294 | 303 | 0.97:1 |
| ListMinimalPerf.default | 306 | 315 | 0.97:1 |
| ToolbarMinimalPerf.default | 539 | 553 | 0.97:1 |
| RosterPerf.default | 1563 | 1633 | 0.96:1 |
| IconMinimalPerf.default | 373 | 390 | 0.96:1 |
| HeaderMinimalPerf.default | 195 | 206 | 0.95:1 |
| ListCommonPerf.default | 376 | 399 | 0.94:1 |
🕵 FluentUIV0 No visual regressions between this PR and main |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 608 | 646 | 5000 | |
| Breadcrumb | mount | 1694 | 1699 | 1000 | |
| Checkbox | mount | 1692 | 1695 | 5000 | |
| CheckboxBase | mount | 1459 | 1463 | 5000 | |
| ChoiceGroup | mount | 2926 | 2922 | 5000 | |
| ComboBox | mount | 661 | 657 | 1000 | |
| CommandBar | mount | 6331 | 6282 | 1000 | |
| ContextualMenu | mount | 16603 | 16134 | 1000 | |
| DefaultButton | mount | 761 | 754 | 5000 | |
| DetailsRow | mount | 2186 | 2156 | 5000 | |
| DetailsRowFast | mount | 2201 | 2221 | 5000 | |
| DetailsRowNoStyles | mount | 2012 | 1943 | 5000 | |
| Dialog | mount | 2625 | 2674 | 1000 | |
| DocumentCardTitle | mount | 236 | 229 | 1000 | |
| Dropdown | mount | 1950 | 2018 | 5000 | |
| FocusTrapZone | mount | 1114 | 1142 | 5000 | |
| FocusZone | mount | 1058 | 1030 | 5000 | |
| GroupedList | mount | 41416 | 41449 | 2 | |
| GroupedList | virtual-rerender | 19851 | 19737 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 50106 | 50382 | 2 | |
| GroupedListV2 | mount | 233 | 229 | 2 | |
| GroupedListV2 | virtual-rerender | 216 | 201 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 227 | 225 | 2 | |
| IconButton | mount | 1063 | 1045 | 5000 | |
| Label | mount | 334 | 341 | 5000 | |
| Layer | mount | 2658 | 2709 | 5000 | |
| Link | mount | 378 | 390 | 5000 | |
| MenuButton | mount | 943 | 923 | 5000 | |
| MessageBar | mount | 21334 | 21293 | 5000 | |
| Nav | mount | 1946 | 1895 | 1000 | |
| OverflowSet | mount | 774 | 758 | 5000 | |
| Panel | mount | 1776 | 1762 | 1000 | |
| Persona | mount | 734 | 746 | 1000 | |
| Pivot | mount | 856 | 858 | 1000 | |
| PrimaryButton | mount | 836 | 833 | 5000 | |
| Rating | mount | 4475 | 4524 | 5000 | |
| SearchBox | mount | 900 | 906 | 5000 | |
| Shimmer | mount | 1852 | 1818 | 5000 | |
| Slider | mount | 1302 | 1294 | 5000 | |
| SpinButton | mount | 2888 | 2801 | 5000 | |
| Spinner | mount | 379 | 380 | 5000 | |
| SplitButton | mount | 1779 | 1800 | 5000 | |
| Stack | mount | 396 | 414 | 5000 | |
| StackWithIntrinsicChildren | mount | 856 | 865 | 5000 | |
| StackWithTextChildren | mount | 2574 | 2613 | 5000 | |
| SwatchColorPicker | mount | 6044 | 6123 | 5000 | |
| TagPicker | mount | 1391 | 1414 | 5000 | |
| Text | mount | 368 | 375 | 5000 | |
| TextField | mount | 925 | 884 | 5000 | |
| ThemeProvider | mount | 830 | 822 | 5000 | |
| ThemeProvider | virtual-rerender | 581 | 577 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1233 | 1227 | 5000 | |
| Toggle | mount | 609 | 621 | 5000 | |
| buttonNative | mount | 188 | 182 | 5000 |
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: b137c8c4c52ef7a73a48a36bc93fbb4863ef67dc (build) |
🕵 fluentuiv9 No visual regressions between this PR and main |
packages/react-components/babel-preset-storybook-full-source/package.json
Show resolved
Hide resolved
…it can be published and use by others
da29319 to
44f52b4
Compare
* master: breaking(react-drawer): open now only accepts a boolean instead of MotionShorthand (microsoft#29736) fix (breadcrumb): Overflow examples refactoring (microsoft#29723) refactor(tools): replace deprecated apis (microsoft#29624) [Part 3] Update documentation content for all charts (microsoft#29727) chore: throws if FlatTree is used as a subtree (microsoft#29729) feat(react-storybook-addon-export-to-sandbox): make addon generic so it can be published and use by others (microsoft#29674) chore(TimePicker-compat): add bundle size fixture (microsoft#29717) applying package updates Move CredScanSuppression file to root so 1ESPT output task picks it up (microsoft#29722) fix(CI): increase pipeline agent timeout threshold to 90 minutes (microsoft#29710) fix(breadcrumb): examples and styles (microsoft#29679) chore(react-tree): stop unnecessary re-rendering when no actions are available (microsoft#29694) applying package updates
Pre-requirements
Previous Behavior
New Behavior
export-to-sandbox addonis now generic package that can be published to npm and consumed by othersexample of usage in other repo:
how ?:
.babelrc.jsonuser definded presets/pluginspreset.ts🔥Related Issue(s)