-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Fix bug where we can't see counts in Insight Table #4706
Conversation
Think it's worth considering already changes from #4700 |
That PR is so nice, love the UI changes. I think my fix in this PR would still apply because I'm not editing the InsightsTable component itself, rather just passing the filter into the I'm also going to generalize the cypress tests in my PR so that we don't have to touch them again once we move from V1 to V2. |
<InsightsTable /> | ||
<InsightsTable | ||
showTotalCount={ | ||
featureFlags[FEATURE_FLAGS.NEW_TOOLTIPS] && |
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 this bugfix something we want to feature flag? 🤔
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.
We're not feature flagging the bug fix, showTotalCount
is used to determine if we should display the new total count column in the table view, so I think it's fine.
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.
Yeah, but we just show it to those who are using the new experimental UI, even though the bug is there for everyone
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'm probably doing something dumb here, but with this query
a) if I have no feature flags enabled, I see just a broken table
b) if I have the new tooltips flag enabled, I see this:
even if there is actually some data:
a. The bug exists in both the old and new ui, so hiding this behind a feature flag doesn't make sense. I'll remove that check. |
Changes
Fixes #2983
Checklist