-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
feat(react-tree): creates TreeItemAside
component
#27701
feat(react-tree): creates TreeItemAside
component
#27701
Conversation
ef7f8fe
to
200cfab
Compare
📊 Bundle size reportUnchanged fixtures
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 689 | 714 | 5000 | |
Button | mount | 367 | 377 | 5000 | |
Field | mount | 1258 | 1283 | 5000 | |
FluentProvider | mount | 912 | 911 | 5000 | |
FluentProviderWithTheme | mount | 119 | 116 | 10 | |
FluentProviderWithTheme | virtual-rerender | 99 | 103 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 108 | 121 | 10 | |
InfoButton | mount | 19 | 21 | 5000 | |
MakeStyles | mount | 1148 | 1124 | 50000 | |
Persona | mount | 1994 | 2012 | 5000 | |
SpinButton | mount | 1557 | 1554 | 5000 |
200cfab
to
fa982b7
Compare
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 1267096:
|
Asset size changesSize Auditor did not detect a change in bundle size for any component! Baseline commit: 0ffdc48b94a76bfd209015b1a9c49eb62aca1ba0 (build) |
bc255c3
to
2804ffa
Compare
08eb844
to
e35f835
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Few notes:
- Navigation in actions is a bit non-intuitive to me, may be something to check
- Hover behavior with actions is also a bit strange, once I hover a tree item ➡️ actions will close
packages/react-components/react-tree/src/components/TreeItemActions/renderTreeItemActions.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItemActions/TreeItemActions.types.ts
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItemActions/TreeItemActions.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItem/useTreeItemContextValues.ts
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItem/useTreeItem.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItem/useTreeItem.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItem/useTreeItem.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItem/useTreeItem.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItem/TreeItem.test.tsx
Outdated
Show resolved
Hide resolved
The whole navigation is still an ongoing discussion, Milan has already raised some good points against current model. I'll see to have your perceptions included. |
packages/react-components/react-tree/src/components/TreeItem/useTreeItem.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItem/useTreeItem.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItem/useTreeItemStyles.styles.ts
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItemActions/TreeItemActions.tsx
Outdated
Show resolved
Hide resolved
...eact-components/react-tree/src/components/TreeItemActions/useTreeItemActionsStyles.styles.ts
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/stories/C_Layouts/LayoutsDefault.stories.tsx
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/Tree/useSubtree.ts
Outdated
Show resolved
Hide resolved
6f84da4
to
5f01600
Compare
packages/react-components/react-tree/src/components/TreeItem/useTreeItem.ts
Outdated
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItemAside/renderTreeItemAside.tsx
Show resolved
Hide resolved
packages/react-components/react-tree/src/components/TreeItemAside/renderTreeItemAside.tsx
Show resolved
Hide resolved
...es/react-components/react-tree/src/components/TreeItemAside/useTreeItemAsideStyles.styles.ts
Show resolved
Hide resolved
8734b5e
to
1b5bce3
Compare
TreeItemAside
component
1b5bce3
to
2f03acd
Compare
c082a8e
to
0a53d10
Compare
packages/react-components/react-tree/src/components/TreeItemAside/useTreeItemAside.ts
Outdated
Show resolved
Hide resolved
0a53d10
to
1267096
Compare
* feat/drawer-header: feat: Update existing toasts (microsoft#27827) bugfix: fix horizontal overflow on tree (microsoft#27825) feat: Allow toast options to be configured from the toaster (microsoft#27820) feat: creates TreeItemAside component (microsoft#27701) fix: generate API fix: use composition to build DrawerHeaderTitle Virtualizer: Dynamic scroll view and optimizations (microsoft#27298) bugfix(react-dialog): change DialogTitle default action icon size (microsoft#27815) feat: Implement Toast pause (microsoft#27811) fix: ToolbarToggleButton should not follow Toolbar size (microsoft#27797) feat: defers useControllableState state to initializer method (microsoft#27717) feat: Implement toast dismiss (microsoft#27810)
🎉 Handy links: |
🎉 Handy links: |
New Behavior
TreeItemAside
component withvisible
property that allows the control of the visibility of actionsactions
andaside
slots from layout componentsRelated Issue(s)