Skip to content
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

chore: deletes react-trigger package #25042

Merged

Conversation

bsunderhus
Copy link
Contributor

As discussed on #24923, moving trigger API to its own package will not be required.

@bsunderhus bsunderhus self-assigned this Oct 3, 2022
@github-actions github-actions bot added this to the October Project Cycle Q4 2022 milestone Oct 3, 2022
@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 3, 2022

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 bb64abd:

Sandbox Source
@fluentui/react 8 starter Configuration
@fluentui/react-components 9 starter Configuration

@size-auditor
Copy link

size-auditor bot commented Oct 3, 2022

Asset size changes

Size Auditor did not detect a change in bundle size for any component!

Baseline commit: 79174e4d44832bed28251cde2fa1217509b2a3c2 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 3, 2022

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
global-context
createContext
533 B
341 B
global-context
createContextSelector
554 B
348 B
priority-overflow
createOverflowManager
2.936 kB
1.212 kB
react-accordion
Accordion (including children components)
79.037 kB
24.059 kB
react-alert
Alert
84.117 kB
21.07 kB
react-avatar
Avatar
48.828 kB
13.842 kB
react-avatar
AvatarGroup
14.95 kB
5.989 kB
react-avatar
AvatarGroupItem
68.796 kB
19.182 kB
react-badge
Badge
22.6 kB
7.205 kB
react-badge
CounterBadge
23.49 kB
7.489 kB
react-badge
PresenceBadge
24.05 kB
7.067 kB
react-button
Button
36.278 kB
9.636 kB
react-button
CompoundButton
43.303 kB
10.852 kB
react-button
MenuButton
38.972 kB
10.536 kB
react-button
SplitButton
46.418 kB
11.916 kB
react-button
ToggleButton
52.145 kB
11.108 kB
react-card
Card - All
67.17 kB
19.281 kB
react-card
Card
62.852 kB
18.198 kB
react-card
CardFooter
8.561 kB
3.601 kB
react-card
CardHeader
9.604 kB
3.94 kB
react-card
CardPreview
8.662 kB
3.656 kB
react-combobox
Combobox (including child components)
74.642 kB
24.19 kB
react-combobox
Dropdown (including child components)
74.242 kB
24.089 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
189.156 kB
52.385 kB
react-components
react-components: FluentProvider & webLightTheme
33.4 kB
11.008 kB
react-dialog
Dialog (including children components)
82.438 kB
24.444 kB
react-divider
Divider
16.459 kB
5.902 kB
react-image
Image
10.78 kB
4.264 kB
react-input
Input
23.762 kB
7.706 kB
react-label
Label
9.338 kB
3.86 kB
react-link
Link
11.806 kB
4.868 kB
react-menu
Menu (including children components)
116.718 kB
35.78 kB
react-menu
Menu (including selectable components)
119.787 kB
36.289 kB
react-overflow
hooks only
10.685 kB
4.104 kB
react-popover
Popover
102.929 kB
31.542 kB
react-portal
Portal
10.582 kB
3.875 kB
react-portal-compat
PortalCompatProvider
5.857 kB
1.978 kB
react-positioning
usePositioning
19.7 kB
7.404 kB
react-progress
Progress
13.44 kB
5.247 kB
react-provider
FluentProvider
15.761 kB
5.885 kB
react-radio
Radio
36.39 kB
12.103 kB
react-radio
RadioGroup
14.248 kB
5.7 kB
react-select
Select
20.846 kB
7.346 kB
react-slider
Slider
31.759 kB
10.064 kB
react-spinbutton
SpinButton
44.102 kB
12.425 kB
react-spinner
Spinner
19.977 kB
6.438 kB
react-switch
Switch
33.342 kB
10.557 kB
react-text
Text - Default
11.782 kB
4.605 kB
react-text
Text - Wrappers
15.092 kB
5.044 kB
react-textarea
Textarea
25.018 kB
8.133 kB
react-theme
Single theme token import
69 B
89 B
react-theme
Teams: all themes
29.65 kB
6.444 kB
react-theme
Teams: Light theme
17.486 kB
5.057 kB
react-tooltip
Tooltip
41.541 kB
14.646 kB
react-utilities
SSRProvider
180 B
159 B
🤖 This report was generated against 79174e4d44832bed28251cde2fa1217509b2a3c2

@bsunderhus bsunderhus marked this pull request as ready for review October 3, 2022 10:17
@bsunderhus bsunderhus requested a review from a team as a code owner October 3, 2022 10:17
@bsunderhus bsunderhus force-pushed the chore--deletes-react-trigger-package branch from bbeb2c4 to 07c14a8 Compare October 3, 2022 10:19
@bsunderhus bsunderhus requested review from a team, JustSlone and jurokapsiar as code owners October 3, 2022 10:19
@fabricteam
Copy link
Collaborator

fabricteam commented Oct 3, 2022

Perf Analysis (@fluentui/react-components)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 1270 1302 5000
Button mount 929 922 5000
FluentProvider mount 1475 1488 5000
FluentProviderWithTheme mount 568 583 10
FluentProviderWithTheme virtual-rerender 541 542 10
FluentProviderWithTheme virtual-rerender-with-unmount 585 581 10
MakeStyles mount 1935 1987 50000
SpinButton mount 2382 2328 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 3, 2022

Perf Analysis (@fluentui/react)

No significant results to display.

All results

Scenario Render type Master Ticks PR Ticks Iterations Status
BaseButton mount 1595 1591 5000
Breadcrumb mount 3649 3603 1000
Checkbox mount 3416 3469 5000
CheckboxBase mount 3071 3097 5000
ChoiceGroup mount 5798 5767 5000
ComboBox mount 1579 1614 1000
CommandBar mount 12110 12180 1000
ContextualMenu mount 13811 13807 1000
DefaultButton mount 1846 1855 5000
DetailsRow mount 4774 4893 5000
DetailsRowFast mount 4721 4758 5000
DetailsRowNoStyles mount 4592 4675 5000
Dialog mount 3966 3898 1000
DocumentCardTitle mount 749 724 1000
Dropdown mount 4228 4305 5000
FocusTrapZone mount 2561 2592 5000
FocusZone mount 2477 2449 5000
GroupedList mount 70492 67930 2
GroupedList virtual-rerender 32978 33784 2
GroupedList virtual-rerender-with-unmount 111076 111401 2
GroupedListV2 mount 708 709 2
GroupedListV2 virtual-rerender 665 657 2
GroupedListV2 virtual-rerender-with-unmount 728 697 2
IconButton mount 2544 2554 5000
Label mount 921 926 5000
Layer mount 5371 5446 5000
Link mount 1049 1085 5000
MenuButton mount 2191 2251 5000
MessageBar mount 2868 2869 5000
Nav mount 4306 4270 1000
OverflowSet mount 1677 1754 5000
Panel mount 3143 3162 1000
Persona mount 1645 1669 1000
Pivot mount 2073 2111 1000
PrimaryButton mount 1975 1980 5000
Rating mount 9536 9419 5000
SearchBox mount 2019 2034 5000
Shimmer mount 3720 3757 5000
Slider mount 2677 2675 5000
SpinButton mount 6080 6126 5000
Spinner mount 1005 999 5000
SplitButton mount 4011 4057 5000
Stack mount 1126 1144 5000
StackWithIntrinsicChildren mount 3228 3278 5000
StackWithTextChildren mount 6605 6636 5000
SwatchColorPicker mount 13520 13597 5000
TagPicker mount 3448 3461 5000
TeachingBubble mount 106402 106397 5000
Text mount 1001 1003 5000
TextField mount 2061 2131 5000
ThemeProvider mount 1920 1919 5000
ThemeProvider virtual-rerender 1322 1352 5000
ThemeProvider virtual-rerender-with-unmount 2668 2677 5000
Toggle mount 1476 1478 5000
buttonNative mount 678 663 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 3, 2022

Perf Analysis (@fluentui/react-northstar)

Perf tests with no regressions
Scenario Current PR Ticks Baseline Ticks Ratio
PortalMinimalPerf.default 147 135 1.09:1
AvatarMinimalPerf.default 171 158 1.08:1
ButtonSlotsPerf.default 441 422 1.05:1
SkeletonMinimalPerf.default 310 295 1.05:1
AlertMinimalPerf.default 230 222 1.04:1
GridMinimalPerf.default 307 296 1.04:1
AttachmentMinimalPerf.default 129 125 1.03:1
FlexMinimalPerf.default 257 250 1.03:1
ReactionMinimalPerf.default 335 326 1.03:1
ButtonMinimalPerf.default 138 135 1.02:1
CardMinimalPerf.default 461 453 1.02:1
DividerMinimalPerf.default 317 311 1.02:1
DropdownMinimalPerf.default 2173 2137 1.02:1
HeaderMinimalPerf.default 323 316 1.02:1
RosterPerf.default 1713 1684 1.02:1
SegmentMinimalPerf.default 309 302 1.02:1
TextAreaMinimalPerf.default 415 405 1.02:1
BoxMinimalPerf.default 296 294 1.01:1
ChatDuplicateMessagesPerf.default 213 211 1.01:1
DialogMinimalPerf.default 687 680 1.01:1
FormMinimalPerf.default 331 328 1.01:1
ItemLayoutMinimalPerf.default 974 969 1.01:1
LabelMinimalPerf.default 337 334 1.01:1
LoaderMinimalPerf.default 510 507 1.01:1
RadioGroupMinimalPerf.default 387 383 1.01:1
RefMinimalPerf.default 182 180 1.01:1
SplitButtonMinimalPerf.default 3274 3257 1.01:1
StatusMinimalPerf.default 612 605 1.01:1
TableMinimalPerf.default 360 356 1.01:1
TextMinimalPerf.default 301 299 1.01:1
CustomToolbarPrototype.default 2167 2150 1.01:1
ToolbarMinimalPerf.default 787 779 1.01:1
TooltipMinimalPerf.default 1881 1856 1.01:1
AnimationMinimalPerf.default 467 466 1:1
ButtonOverridesMissPerf.default 1011 1014 1:1
ChatMinimalPerf.default 633 630 1:1
CheckboxMinimalPerf.default 1500 1505 1:1
DatepickerMinimalPerf.default 4646 4657 1:1
EmbedMinimalPerf.default 2617 2613 1:1
InputMinimalPerf.default 851 852 1:1
ListNestedPerf.default 463 465 1:1
MenuMinimalPerf.default 717 719 1:1
ProviderMinimalPerf.default 321 321 1:1
TableManyItemsPerf.default 1570 1572 1:1
TreeWith60ListItems.default 128 128 1:1
CarouselMinimalPerf.default 350 352 0.99:1
ChatWithPopoverPerf.default 287 289 0.99:1
HeaderSlotsPerf.default 669 675 0.99:1
ImageMinimalPerf.default 339 341 0.99:1
MenuButtonMinimalPerf.default 1358 1369 0.99:1
PopupMinimalPerf.default 552 555 0.99:1
ProviderMergeThemesPerf.default 984 992 0.99:1
SliderMinimalPerf.default 1223 1240 0.99:1
IconMinimalPerf.default 564 568 0.99:1
TreeMinimalPerf.default 687 692 0.99:1
AccordionMinimalPerf.default 117 120 0.98:1
AttachmentSlotsPerf.default 848 863 0.98:1
LayoutMinimalPerf.default 310 316 0.98:1
ListMinimalPerf.default 448 455 0.98:1
ListWith60ListItems.default 484 496 0.98:1
DropdownManyItemsPerf.default 523 539 0.97:1
VideoMinimalPerf.default 617 635 0.97:1
ListCommonPerf.default 492 533 0.92:1

@bsunderhus bsunderhus force-pushed the chore--deletes-react-trigger-package branch from 07c14a8 to 0211a46 Compare October 3, 2022 11:00
@bsunderhus bsunderhus force-pushed the chore--deletes-react-trigger-package branch from 0211a46 to bb64abd Compare October 3, 2022 14:01
@bsunderhus bsunderhus merged commit 7308dce into microsoft:master Oct 3, 2022
@bsunderhus bsunderhus deleted the chore--deletes-react-trigger-package branch October 3, 2022 17:45
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 5, 2022
* master: (62 commits)
  chore(migrate-converged): add functionality to execute various v9 package file restructuring tasks (microsoft#24458)
  chore(react-dialog): updates stories (microsoft#25070)
  refactor Progress to remove label and description slots (microsoft#25067)
  fix(SplitButton): Remove borders from hover and pressed state in primary split buttons (microsoft#25059)
  chore(react-persona): Add vr, conformance, and unit tests (microsoft#25007)
  (docs): update Icon docs with examples (microsoft#24768)
  Split button/primary hc fix (microsoft#25066)
  chore(react-utilities): restricts trigger API types (microsoft#25044)
  Add utilities export @fluentui/style-utilities v8 (microsoft#25065)
  chore: migrate whole repo to webpack 5 (microsoft#24542)
  applying package updates
  BREAKING: refactor `useTable` to be composable (microsoft#24947)
  Added shims to shim packages (microsoft#25048)
  Add Progress SPEC (microsoft#24418)
  applying package updates
  chore(react-persona): Add bundle-size command for bundle-size fixtures (microsoft#25055)
  fix(Button): Remove margin added to buttons by Safari (microsoft#25052)
  fix: Menu triggers no longer take focus when they are mounted (microsoft#25016)
  chore: deletes react-trigger package (microsoft#25042)
  Fixed a minor typo: immmediately => immediately (microsoft#25036)
  ...
NotWoods pushed a commit to NotWoods/fluentui that referenced this pull request Nov 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants