Skip to content

bugfix(react-tree): headless flat tree itemType manual definition#28898

Merged
bsunderhus merged 1 commit intomicrosoft:masterfrom
bsunderhus:react-tree/bugfix--headless-flat-tree-itemType-manual-definition
Aug 17, 2023
Merged

bugfix(react-tree): headless flat tree itemType manual definition#28898
bsunderhus merged 1 commit intomicrosoft:masterfrom
bsunderhus:react-tree/bugfix--headless-flat-tree-itemType-manual-definition

Conversation

@bsunderhus
Copy link
Contributor

@bsunderhus bsunderhus commented Aug 17, 2023

Previous Behavior

New Behavior

  1. bugfix: headless flat tree should allow the user to define the itemType value of a tree item instead of just assuming it's a leaf

Related Issue(s)

  • Fixes #

@bsunderhus bsunderhus requested a review from a team as a code owner August 17, 2023 12:00
@github-actions github-actions bot added this to the August Project Cycle Q4 2023 milestone Aug 17, 2023
@bsunderhus bsunderhus self-assigned this Aug 17, 2023
@fabricteam
Copy link
Collaborator

Perf Analysis (@fluentui/react-components)

Scenario Render type Master Ticks PR Ticks Iterations Status
InfoButton mount 13 12 5000 Possible regression
All results

Scenario Render type Master Ticks PR Ticks Iterations Status
Avatar mount 617 594 5000
Button mount 324 318 5000
Field mount 1149 1113 5000
FluentProvider mount 665 684 5000
FluentProviderWithTheme mount 68 82 10
FluentProviderWithTheme virtual-rerender 62 64 10
FluentProviderWithTheme virtual-rerender-with-unmount 74 80 10
InfoButton mount 13 12 5000 Possible regression
MakeStyles mount 852 874 50000
Persona mount 1690 1671 5000
SpinButton mount 1332 1363 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 9edfe37:

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.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 fc1172b6160e7d3bad0449286512b7c85ba31f84

@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: fc1172b6160e7d3bad0449286512b7c85ba31f84 (build)

@fabricteam
Copy link
Collaborator

🕵 fluentuiv9 No visual regressions between this PR and main

@bsunderhus bsunderhus merged commit ccd513e into microsoft:master Aug 17, 2023
@bsunderhus bsunderhus deleted the react-tree/bugfix--headless-flat-tree-itemType-manual-definition branch August 17, 2023 13:10
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.

3 participants