-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
ref(lint): enable oxlint react/hooks #124845
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
Changes from all commits
6555da0
06aea35
a30750d
f72b6b2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -643,7 +643,6 @@ export function StreamGroup({ | |
|
|
||
| const groupUsersCount = ( | ||
| <Tooltip | ||
| disabled={!usePageFilters} | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. So, this was looking at the function called |
||
| title={ | ||
| <CountTooltipContent> | ||
| <h4>{t('Affected Users')}</h4> | ||
|
|
||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. variable rename to make the compiler happy |
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.
Bug: The
TooltipforgroupUsersCountis missing thedisabled={!useFilteredStats}prop, so it is always enabled. The original bug this PR intended to fix remains.Severity: LOW
Suggested Fix
Add the
disabled={!useFilteredStats}prop to theTooltipcomponent wrappinggroupUsersCount, similar to how it is used for thegroupCounttooltip. This will ensure the tooltip is only enabled when filtered stats are being shown.Prompt for AI Agent
Did we get this right? 👍 / 👎 to inform future reviews.
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.
that's not the original bug this PR is aiming at