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

fix(react-tree): stablilize handleActionsRef created by TreeItem #28896

Merged
merged 3 commits into from
Aug 17, 2023

Conversation

YuanboXue-Amber
Copy link
Contributor

fix #28879

@YuanboXue-Amber YuanboXue-Amber requested a review from a team as a code owner August 17, 2023 09:30
@YuanboXue-Amber YuanboXue-Amber enabled auto-merge (squash) August 17, 2023 09:32
@fabricteam
Copy link
Collaborator

fabricteam commented Aug 17, 2023

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
InfoButton mount 16 14 5000 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 632 624 5000
Button mount 322 316 5000
Field mount 1157 1108 5000
FluentProvider mount 684 685 5000
FluentProviderWithTheme mount 70 77 10
FluentProviderWithTheme virtual-rerender 66 67 10
FluentProviderWithTheme virtual-rerender-with-unmount 70 74 10
InfoButton mount 16 14 5000 Possible regression
MakeStyles mount 836 856 50000
Persona mount 1747 1692 5000
SpinButton mount 1339 1328 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 5a70a1e:

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

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 17, 2023

📊 Bundle size report

Unchanged fixtures
Package & Exports Size (minified/GZIP)
react-components
react-components: Button, FluentProvider & webLightTheme
66.614 kB
18.512 kB
react-components
react-components: Accordion, Button, FluentProvider, Image, Menu, Popover
203.017 kB
57.615 kB
react-components
react-components: FluentProvider & webLightTheme
37.787 kB
12.387 kB
react-portal-compat
PortalCompatProvider
6.48 kB
2.203 kB
🤖 This report was generated against c1cd6eba9a2658fc04437ac26fcbb437ea7efb08

@size-auditor
Copy link

size-auditor bot commented Aug 17, 2023

Asset size changes

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

Baseline commit: c1cd6eba9a2658fc04437ac26fcbb437ea7efb08 (build)

@fabricteam
Copy link
Collaborator

fabricteam commented Aug 17, 2023

🕵 fluentuiv9 No visual regressions between this PR and main

@YuanboXue-Amber
Copy link
Contributor Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 4 pipeline(s).

@YuanboXue-Amber YuanboXue-Amber merged commit 3d6b8e8 into microsoft:master Aug 17, 2023
21 checks passed
@YuanboXue-Amber YuanboXue-Amber deleted the small-fix branch August 17, 2023 14:18
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.

[Bug]: Tree - TreeItem creates new handleActionsRef and cause children re-render
3 participants