Skip to content

docs(react-infobutton): Remove InfoButton stories in favor of having only InfoLabel stories#28856

Merged
sopranopillow merged 1 commit intomicrosoft:masterfrom
sopranopillow:infobutton-hide-stories
Aug 15, 2023
Merged

docs(react-infobutton): Remove InfoButton stories in favor of having only InfoLabel stories#28856
sopranopillow merged 1 commit intomicrosoft:masterfrom
sopranopillow:infobutton-hide-stories

Conversation

@sopranopillow
Copy link
Contributor

Changes

This PR removes the InfoButton stories in favor of showing only InfoLabel. This will allow for users to be able to have a more accessible component out of the box, instead of having to wire everything by themselves.

Related Issue(s)

@sopranopillow sopranopillow requested a review from a team as a code owner August 14, 2023 22:32
@sopranopillow sopranopillow self-assigned this Aug 14, 2023
@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

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

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 612 651 5000
Button mount 321 312 5000
Field mount 1123 1079 5000
FluentProvider mount 670 681 5000
FluentProviderWithTheme mount 81 80 10
FluentProviderWithTheme virtual-rerender 63 61 10 Possible regression
FluentProviderWithTheme virtual-rerender-with-unmount 65 69 10
InfoButton mount 13 13 5000
MakeStyles mount 889 860 50000
Persona mount 1739 1656 5000
SpinButton mount 1318 1349 5000

@codesandbox-ci
Copy link

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 1a4836d:

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

@fabricteam
Copy link
Collaborator

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
66.478 kB
18.477 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
202.881 kB
57.576 kB
react-components
react-components: FluentProvider & webLightTheme
37.651 kB
12.343 kB
react-infobutton
InfoButton
125.088 kB
39.205 kB
react-infobutton
InfoLabel
128.758 kB
40.384 kB
react-portal-compat
PortalCompatProvider
6.48 kB
2.203 kB
🤖 This report was generated against 4d79002ac61cda6a17af61bb1a5aa8569dd2977f

@size-auditor
Copy link

size-auditor bot commented Aug 14, 2023

Asset size changes

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

Baseline commit: 4d79002ac61cda6a17af61bb1a5aa8569dd2977f (build)

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@sopranopillow sopranopillow merged commit 50f6ccc into microsoft:master Aug 15, 2023
@sopranopillow sopranopillow deleted the infobutton-hide-stories branch August 15, 2023 20:20
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 17, 2023
* master: (66 commits)
  fix(react-infobutton): Cursor should be pointer when hovering the button to show it's a button (microsoft#28893)
  chore(react-tags-preview): add docs  (microsoft#28899)
  applying package updates
  fix(react-tree): stablilize `handleActionsRef` created by TreeItem (microsoft#28896)
  bugfix: headless flat tree itemType manual definition (microsoft#28898)
  doc(react-tree): adds a11y edge cases to the docs (microsoft#28897)
  Update DatePickerDescription.md with note about compat components (microsoft#28882)
  chore(react-tree): removes preview warning from the docs (microsoft#28886)
  applying package updates
  fix(public-docsite): Remove image clipping and move top banner under top nav to avoid header issues (microsoft#28885)
  feat(react-tree): stable release (microsoft#28845)
  Virtualizer: Merge scrollref prop with container ref (microsoft#28829)
  chore(react-jsx-runtime): release stable version (microsoft#28880)
  applying package updates
  fix(react-tags-preview): style update - tag hover style should only be on dismiss icon (microsoft#28791)
  applying package updates
  feat(public-docsite): Add topbanner component and use it in the public docsite (microsoft#28870)
  feat: Add VivaEngageIcon to @fluentui/react-icons-mdl2 package (microsoft#28804)
  docs: Remove InfoButton stories in favor of having only InfoLabel stories. (microsoft#28856)
  Added more CY and VR tests to the Breadcrumb  (microsoft#28790)
  ...
marcosmoura added a commit to marcosmoura/fluentui that referenced this pull request Aug 17, 2023
* master: (66 commits)
  fix(react-infobutton): Cursor should be pointer when hovering the button to show it's a button (microsoft#28893)
  chore(react-tags-preview): add docs  (microsoft#28899)
  applying package updates
  fix(react-tree): stablilize `handleActionsRef` created by TreeItem (microsoft#28896)
  bugfix: headless flat tree itemType manual definition (microsoft#28898)
  doc(react-tree): adds a11y edge cases to the docs (microsoft#28897)
  Update DatePickerDescription.md with note about compat components (microsoft#28882)
  chore(react-tree): removes preview warning from the docs (microsoft#28886)
  applying package updates
  fix(public-docsite): Remove image clipping and move top banner under top nav to avoid header issues (microsoft#28885)
  feat(react-tree): stable release (microsoft#28845)
  Virtualizer: Merge scrollref prop with container ref (microsoft#28829)
  chore(react-jsx-runtime): release stable version (microsoft#28880)
  applying package updates
  fix(react-tags-preview): style update - tag hover style should only be on dismiss icon (microsoft#28791)
  applying package updates
  feat(public-docsite): Add topbanner component and use it in the public docsite (microsoft#28870)
  feat: Add VivaEngageIcon to @fluentui/react-icons-mdl2 package (microsoft#28804)
  docs: Remove InfoButton stories in favor of having only InfoLabel stories. (microsoft#28856)
  Added more CY and VR tests to the Breadcrumb  (microsoft#28790)
  ...
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.

InfoButton: Remove InfoButton stories and only show InfoLabel stories

3 participants