-
Notifications
You must be signed in to change notification settings - Fork 85
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
ACM-13648 - distribution version comparison (AcmTable advanced search iteration 2) #3902
ACM-13648 - distribution version comparison (AcmTable advanced search iteration 2) #3902
Conversation
bf93571
to
1b02179
Compare
428b955
to
e938a3a
Compare
onMouseEnter={() => { | ||
const newIsHoveredArray = { ...isHovered } | ||
newIsHoveredArray[index] = true | ||
setIsHovered(newIsHoveredArray) | ||
}} | ||
onMouseLeave={() => { | ||
const newIsHoveredArray = { ...isHovered } | ||
newIsHoveredArray[index] = false | ||
setIsHovered(newIsHoveredArray) | ||
}} |
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.
Is the best way to handle this (they are helping me render the tooltip onMouseHover) to use a window listener?
Sonar is describes my method here as using a non-native interactive element.
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.
I think there's a simpler solution. Will this accomplish what you need?
<Tooltip
content={t('Select a column name to choose an operator')}
trigger={!constraint.columnId ? 'mouseenter' : 'manual'}
position="bottom"
>
/hold Still need to refactor this bit |
c9a53ad
to
49a5f95
Compare
Signed-off-by: Randy Bruno Piverger <rbrunopi@redhat.com>
49a5f95
to
218b077
Compare
Update: added change for nullish coalescing operator code smell. |
Quality Gate passedIssues Measures |
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: KevinFCormier, Randy424 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold |
Regarding: https://issues.redhat.com/browse/ACM-13648
Now supports distribution version.
Before:
After: