-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
feat(sankey-viz): allow sort by metric and bump superset-ui packages #11626
Conversation
Codecov Report
@@ Coverage Diff @@
## master #11626 +/- ##
===========================================
- Coverage 65.29% 54.64% -10.66%
===========================================
Files 873 406 -467
Lines 42289 14320 -27969
Branches 3964 3683 -281
===========================================
- Hits 27613 7825 -19788
+ Misses 14550 6327 -8223
- Partials 126 168 +42
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
7ad850e
to
4685da7
Compare
4685da7
to
bfbef1d
Compare
@ktmud very strange. Well, let's get this merged and see what happens when I rebase the boxplot PR. |
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.
one comment, otherwise lgtm
@@ -1854,6 +1854,8 @@ def query_obj(self) -> QueryObjectDict: | |||
_("Pick exactly 2 columns as [Source / Target]") | |||
) | |||
qry["metrics"] = [self.form_data["metric"]] | |||
if self.form_data.get("sort_by_metric", False): |
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.
you don't need the False here, it'll default to None which is falsey
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 thought supplying a default helps indicating this parameter is a boolean.
Since CI is green, I think I'll leave it.
SUMMARY
Allow sankey chart to sort by metric and bump superset-ui packages to bring in multiple changes by @etr2460 and @villebro :
Diff: apache-superset/superset-ui@v0.15.10...v0.15.13
TEST PLAN
Manual and CI
ADDITIONAL INFORMATION