-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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
FilterBox,BigNumber,WorldMap: Handle empty results - second attempt #9789
FilterBox,BigNumber,WorldMap: Handle empty results - second attempt #9789
Conversation
This change was originally attempted in apache#9671 but reverted since it broke FilterBox charts with only a time selector. After some tests I reworked the patch to avoid returning None, but instead returning an empty list for each col/selector with an empty dataframe associated. This allows to see all the selectors without any breakage.
Codecov Report
@@ Coverage Diff @@
## master #9789 +/- ##
===========================================
- Coverage 70.82% 53.72% -17.11%
===========================================
Files 587 352 -235
Lines 30435 11243 -19192
Branches 3121 2785 -336
===========================================
- Hits 21555 6040 -15515
+ Misses 8766 5023 -3743
- Partials 114 180 +66
Continue to review full report at Codecov.
|
The test that fails is test_copy_dash but I am not super sure if my pull request is related to it.. Adding @villebro @graceguo-supercat @etr2460 since this is a follow up on a reverted change. Let me know your thoughts, thanks for the patience! |
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.
this lgtm now, although you might need to update viz_sip38.py
too? @villebro can you comment on that and what the relationship is between viz.py
and viz_sip38.py
?
sounds good, thanks for checking Ville! I'll merge this now |
CATEGORY
Choose one
SUMMARY
This pull request is a follow up of #9671, reverted in #9755 due to a regression introduced to the FilterBox. I broke down the commit into three, and improved the code for the FilterBox.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
See screenshots in #9671.
TEST PLAN
Trying various combination of FilterBox, WorldMap and BigNumber charts with empty results.
ADDITIONAL INFORMATION
REVIEWERS