-
Notifications
You must be signed in to change notification settings - Fork 8
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
added numerics and conditions to call numerics component to search #1013
Conversation
Codecov Report
@@ Coverage Diff @@
## 1.7.0-M3 #1013 +/- ##
===========================================
Coverage ? 65.95%
===========================================
Files ? 21
Lines ? 611
Branches ? 126
===========================================
Hits ? 403
Misses ? 208
Partials ? 0 Continue to review full report at Codecov.
|
…en the trgger is execited fro the es query
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.
- Show missing values doesn't appear to be working for me, seems to have no effect and doesn't disable other controls (related to next point)
- Clicking on column dropdown arrow results in filter being applied immediately and missing values being removed from results
- between filter looks a little strange and seems to be repeated (see screenshot below)
- Couple of styling comments: when numbers is over a certain size it doesn't fit in text box, right side of slider is a bit close to max text box, would be nice to format number of missing values to include comma separator
- Crashes for me when opening the filter for Bouton Density when pointing to dev - not sure if this is a data thing or not
…en the trgger is execited fro the es query
…to 2938-nums * '2938-nums' of https://github.com/BlueBrain/nexus-web: 2986 fix styles (#1015) Add redirect params to login call back (#1014) 2644 allow user to select search config (#1011) Rewrite useLocalStorage hook and make use of (#1012)
* refactor login, date, num , filter
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.
Looks good :) Just the console.log to remove
…1013) * added numeric and conditions to call numeric component to search Co-authored-by: Dhanesh Neela Mana <dhanesh.neelamana@epfl.ch> Co-authored-by: Dhanesh Neela Mana <dhanesh.n.m19@gmail.com>
Fixes #
Description
Added the numerics filter logic but since all the fields with numerics are actually returning strings it is not convenient to test. I have added some preliminary logic to convert the data to actual integers.
The logic for the min, max for the slider range is there too. As well as the show missing checkbox condition but the logic connecting it to the missing query is not added.
How has this been tested?
Types of changes
Checklist: