-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
chore(react-tree): adds test to ensure action visibility on click #32042
Open
bsunderhus
wants to merge
2
commits into
microsoft:master
Choose a base branch
from
bsunderhus:react-tree/chore--adds-test-to-ensure-action-visibility-on-click
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
chore(react-tree): adds test to ensure action visibility on click #32042
bsunderhus
wants to merge
2
commits into
microsoft:master
from
bsunderhus:react-tree/chore--adds-test-to-ensure-action-visibility-on-click
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
📊 Bundle size report
Unchanged fixtures
|
Perf Analysis (
|
Scenario | Render type | Master Ticks | PR Ticks | Iterations | Status |
---|---|---|---|---|---|
Avatar | mount | 651 | 652 | 5000 | |
Button | mount | 303 | 316 | 5000 | |
Field | mount | 1140 | 1144 | 5000 | |
FluentProvider | mount | 731 | 717 | 5000 | |
FluentProviderWithTheme | mount | 97 | 108 | 10 | |
FluentProviderWithTheme | virtual-rerender | 40 | 42 | 10 | |
FluentProviderWithTheme | virtual-rerender-with-unmount | 87 | 96 | 10 | |
MakeStyles | mount | 875 | 885 | 50000 | |
Persona | mount | 1784 | 1736 | 5000 | |
SpinButton | mount | 1446 | 1440 | 5000 | |
SwatchPicker | mount | 1687 | 1683 | 5000 |
bsunderhus
force-pushed
the
react-tree/chore--adds-test-to-ensure-action-visibility-on-click
branch
from
July 18, 2024 08:48
39e29dd
to
c0ade1d
Compare
bsunderhus
force-pushed
the
react-tree/chore--adds-test-to-ensure-action-visibility-on-click
branch
from
July 18, 2024 10:21
c0ade1d
to
69bc973
Compare
🕵 fluentuiv9 No visual regressions between this PR and main |
ling1726
reviewed
Jul 18, 2024
@@ -20,6 +20,13 @@ export type TreeNavigationData_unstable = { | |||
value: TreeItemValue; | |||
parentValue: TreeItemValue | undefined; | |||
} & ( | |||
| { event: React.FocusEvent<HTMLElement>; type: 'Focus' } |
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.
isn't this a breaking change?
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.
Yes, it is. Any suggestions to avoid it?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Previous Behavior
We are assuming navigation on
click
events (to ensure propertabIndex
on the clicked treeitem), as described here #32034 (comment), this assumption is not correct, we should be doing that onfocus
events!New Behavior
click
eventsfocus
eventsactions
slot are visible on a real clickTreeNavigationData
union with theClick
event typeFocus
event type for theTreeNavigationData
unionRelated Issue(s)