chore (tools): cleanup TODO items in migrate-converged-pkg generator#26112
Conversation
| const storiesGlob = '**/@(index.stories.@(ts|tsx)|*.stories.mdx)'; | ||
| const pkgMetadata = getProjectMetadata({ name: pkgName }); | ||
|
|
||
| //TODO: simplify once v9 migration [https://github.com/microsoft/fluentui/issues/24129] is complete. |
There was a problem hiding this comment.
Starting storybook will error out since certain v9 packages don't have stories and thus don't have a stories/ subfolder. This means that this will now require a default fallback if a stories subfolder doesn't exist so will be keeping the conditions and removing the TODO comment
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 20221afa1c8dde9afe17a278ddcc0a8a9a4817e2 (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 8b2ee23:
|
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| Avatar | mount | 1330 | 1295 | 5000 | |
| Button | mount | 940 | 935 | 5000 | |
| FluentProvider | mount | 1582 | 1573 | 5000 | |
| FluentProviderWithTheme | mount | 629 | 623 | 10 | |
| FluentProviderWithTheme | virtual-rerender | 600 | 589 | 10 | |
| FluentProviderWithTheme | virtual-rerender-with-unmount | 623 | 626 | 10 | |
| MakeStyles | mount | 1895 | 1910 | 50000 | |
| Persona | mount | 3010 | 2942 | 5000 | |
| SpinButton | mount | 2456 | 2490 | 5000 |
📊 Bundle size reportUnchanged fixtures
|
🕵 fluentuiv8 Open the Visual Regressions report to inspect the 2 screenshots✅ There was 0 screenshots added, 2 screenshots removed, 1043 screenshots unchanged, 0 screenshots with different dimensions and 0 screenshots with visible difference. unknown 2 screenshots
|
Perf Analysis (
|
🕵 fluentuiv9 No visual regressions between this PR and main |
Perf Analysis (
|
| Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
|---|---|---|---|---|---|
| BaseButton | mount | 1185 | 1209 | 5000 | |
| Breadcrumb | mount | 2857 | 2865 | 1000 | |
| Checkbox | mount | 2635 | 2648 | 5000 | |
| CheckboxBase | mount | 2377 | 2389 | 5000 | |
| ChoiceGroup | mount | 4330 | 4326 | 5000 | |
| ComboBox | mount | 1182 | 1170 | 1000 | |
| CommandBar | mount | 9364 | 9419 | 1000 | |
| ContextualMenu | mount | 10388 | 10306 | 1000 | |
| DefaultButton | mount | 1356 | 1372 | 5000 | |
| DetailsRow | mount | 3413 | 3384 | 5000 | |
| DetailsRowFast | mount | 3384 | 3401 | 5000 | |
| DetailsRowNoStyles | mount | 3232 | 3262 | 5000 | |
| Dialog | mount | 2958 | 2967 | 1000 | |
| DocumentCardTitle | mount | 572 | 576 | 1000 | |
| Dropdown | mount | 3163 | 3156 | 5000 | |
| FocusTrapZone | mount | 1963 | 1980 | 5000 | |
| FocusZone | mount | 1935 | 1937 | 5000 | |
| GroupedList | mount | 1840 | 2053 | 2 | |
| GroupedList | virtual-rerender | 1104 | 1117 | 2 | |
| GroupedList | virtual-rerender-with-unmount | 1594 | 1616 | 2 | |
| GroupedListV2 | mount | 568 | 583 | 2 | |
| GroupedListV2 | virtual-rerender | 548 | 544 | 2 | |
| GroupedListV2 | virtual-rerender-with-unmount | 558 | 568 | 2 | |
| IconButton | mount | 1788 | 1912 | 5000 | |
| Label | mount | 742 | 745 | 5000 | |
| Layer | mount | 4160 | 4172 | 5000 | |
| Link | mount | 859 | 869 | 5000 | |
| MenuButton | mount | 1611 | 1616 | 5000 | |
| MessageBar | mount | 2349 | 2401 | 5000 | |
| Nav | mount | 3102 | 3093 | 1000 | |
| OverflowSet | mount | 1412 | 1424 | 5000 | |
| Panel | mount | 2501 | 2528 | 1000 | |
| Persona | mount | 1286 | 1281 | 1000 | |
| Pivot | mount | 1499 | 1518 | 1000 | |
| PrimaryButton | mount | 1487 | 1499 | 5000 | |
| Rating | mount | 7008 | 7015 | 5000 | |
| SearchBox | mount | 1512 | 1502 | 5000 | |
| Shimmer | mount | 2935 | 2935 | 5000 | |
| Slider | mount | 2120 | 2122 | 5000 | |
| SpinButton | mount | 4328 | 4263 | 5000 | |
| Spinner | mount | 827 | 836 | 5000 | |
| SplitButton | mount | 2839 | 2821 | 5000 | |
| Stack | mount | 864 | 859 | 5000 | |
| StackWithIntrinsicChildren | mount | 2274 | 2260 | 5000 | |
| StackWithTextChildren | mount | 4986 | 4979 | 5000 | |
| SwatchColorPicker | mount | 9445 | 9550 | 5000 | |
| TagPicker | mount | 2332 | 2322 | 5000 | |
| TeachingBubble | mount | 76930 | 79331 | 5000 | |
| Text | mount | 839 | 820 | 5000 | |
| TextField | mount | 1553 | 1539 | 5000 | |
| ThemeProvider | mount | 1454 | 1456 | 5000 | |
| ThemeProvider | virtual-rerender | 1144 | 1153 | 5000 | |
| ThemeProvider | virtual-rerender-with-unmount | 1991 | 2002 | 5000 | |
| Toggle | mount | 1135 | 1153 | 5000 | |
| buttonNative | mount | 538 | 534 | 5000 |
🕵 FluentUI-v0 No visual regressions between this PR and main |
Changes:
migrate-converged-pkgworkspace generator and removes functions no longer needed with v9 package migrations complete.Related Issue(s)