-
Notifications
You must be signed in to change notification settings - Fork 349
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: use Hew dropdown on FilterGroup [WEB-1938] #8715
Conversation
✅ Deploy Preview for determined-ui ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #8715 +/- ##
==========================================
- Coverage 51.32% 47.09% -4.24%
==========================================
Files 894 577 -317
Lines 156699 118170 -38529
Branches 2088 2088
==========================================
- Hits 80425 55647 -24778
+ Misses 74779 61028 -13751
Partials 1495 1495
Flags with carried forward coverage won't be shown. Click here to find out more.
|
const onItemClick = useMemo( | ||
() => (key: string) => { |
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.
please import useCallback
instead
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.
oops, yeah that would be the right way to do it. I was splitting up a useMemo
and got carried away
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.
LGTM
Description
This fixes the dropdown in WEB-1938.
I saw an unrelated bug in FilterForm, where tooltips from the table below appear over the form elements. We can (mostly) avoid this with
e.stopPropagation
inonMouseMove
.Test Plan
In the experiment filters, click "Add condition group", then in that row, click the "+" to see these two options. Confirm you can add conditions to filter experiments.
Checklist
docs/release-notes/
.See Release Note for details.