Skip to content

Conversation

@sopranopillow
Copy link
Contributor

@sopranopillow sopranopillow commented Oct 19, 2023

This PR deprecates InfoLabel and InfoButton from react-infobutton.

Related Issue(s)

@sopranopillow sopranopillow self-assigned this Oct 19, 2023
@sopranopillow sopranopillow requested review from a team as code owners October 19, 2023 23:28
@sopranopillow
Copy link
Contributor Author

#29603 needs to be merged before this PR

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 19, 2023

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
FluentProviderWithTheme virtual-rerender 60 67 10 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 632 641 5000
Button mount 306 329 5000
Field mount 1146 1191 5000
FluentProvider mount 707 687 5000
FluentProviderWithTheme mount 71 83 10
FluentProviderWithTheme virtual-rerender 60 67 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 71 71 10
MakeStyles mount 844 853 50000
Persona mount 1731 1739 5000
SpinButton mount 1334 1396 5000

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 19, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-checkbox
Checkbox
37.505 kB
12.327 kB
react-combobox
Combobox (including child components)
91.781 kB
29.935 kB
react-combobox
Dropdown (including child components)
90.223 kB
29.601 kB
react-components
react-components: Button, FluentProvider & webLightTheme
70.002 kB
20.161 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
207.417 kB
59.289 kB
react-components
react-components: FluentProvider & webLightTheme
42.286 kB
14 kB
react-datepicker-compat
DatePicker Compat
212.494 kB
59.326 kB
react-field
Field
22.788 kB
8.639 kB
react-infobutton
InfoButton
130.729 kB
41.194 kB
react-infobutton
InfoLabel
134.413 kB
42.351 kB
react-input
Input
27.247 kB
9.194 kB
react-portal-compat
PortalCompatProvider
6.651 kB
2.252 kB
react-progress
ProgressBar
17.788 kB
6.986 kB
react-radio
Radio
31.266 kB
10.267 kB
react-radio
RadioGroup
15.704 kB
6.35 kB
react-select
Select
28.968 kB
10.269 kB
react-slider
Slider
38.349 kB
12.595 kB
react-spinbutton
SpinButton
37.133 kB
11.856 kB
react-switch
Switch
33.731 kB
10.899 kB
react-table
DataGrid
157.084 kB
43.906 kB
react-table
Table (Primitives only)
43.941 kB
13.76 kB
react-table
Table as DataGrid
130.165 kB
35.174 kB
react-table
Table (Selection only)
75.777 kB
20.477 kB
react-table
Table (Sort only)
74.384 kB
20.075 kB
react-textarea
Textarea
31.306 kB
10.549 kB
🤖 This report was generated against 601e93272fe2b51515c9706d1d1ed03b4f9fc765

@fabricteam
Copy link
Collaborator

fabricteam commented Oct 20, 2023

🕵 fluentuiv9 No visual regressions between this PR and main

@codesandbox-ci
Copy link

codesandbox-ci bot commented Oct 23, 2023

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 15171aa:

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

@size-auditor
Copy link

size-auditor bot commented Oct 23, 2023

Asset size changes

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

Baseline commit: 601e93272fe2b51515c9706d1d1ed03b4f9fc765 (build)

@sopranopillow sopranopillow marked this pull request as ready for review October 23, 2023 23:29
@sopranopillow sopranopillow merged commit 61d4a29 into microsoft:master Oct 24, 2023
@sopranopillow sopranopillow deleted the infobutton/deprecate branch October 24, 2023 18:27
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Oct 26, 2023
* master:
  chore: migrate to nx 16.10 (microsoft#29617)
  fix(react-drawer): accessibility tweaks (microsoft#29627)
  Fixing few legend colors not visible in dark mode (microsoft#29652)
  applying package updates
  Fixing dark mode bug for xAxis for Vertical Stacked bar chart (microsoft#29427)
  chore: Refactor RadioGroup stories to use Field, and remove individual storybook page for Radio (microsoft#29268)
  docs: fix description of SelectInitialValue story (microsoft#26493)
  chore: fix specs location (microsoft#29642)
  feat(scripts-task): implement initial verify-packaging task (microsoft#29595)
  feat(tools): replace npmignore with package.json#files for robust control over what we ship to npm (microsoft#29616)
  fix(workspace-plugin): fix storybook and vr-test issues wihtin prepare-initial-release generator (microsoft#29577)
  feat(react-breadcrumb): removed non-interactive item  (microsoft#29623)
  fix(react-motion): prevent from breaking the rule of hooks (microsoft#29628)
  fix(react-toast): invoke useCustomStyleHook_unstable() (microsoft#29632)
  feat: Deprecate Alert component (microsoft#29615)
  chore(react-infobutton, react-components): Deprecate InfoButton and InfoLabel from react-infobutton (microsoft#29605)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deprecate InfoLabel and InfoButton from react-infobutton InfoLabel: Move to stable

4 participants