Skip to content
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

[bugfix] making secondary_metric optional #5682

Merged
merged 1 commit into from
Aug 21, 2018

Conversation

mistercrunch
Copy link
Member

I noticed that secondary_metric was required in the chart that uses
it, namely sunburst, parallel coordinates, and world_map.

I set the control as allowing null, and found related bugs in the
process:

  • parallel coordinates did not have support for the new MetricControl
  • added color scheme support for parallel coordinates
  • added option to set row_limit on these viz types
  • sunburst to support numeric columns (number would show as blank)

I noticed that `secondary_metric` was required in the chart that users
it, namely sunburst, parallel coordinates, and world_map.

I set the control as allowing null, and found related bugs in the
process:
* parallel coordinates did not have support for the new MetricControl
* added color scheme support for parallel coordinates
* added option to set row_limit on these viz types
* sunburst to support numeric columns (number would show as blank)
@codecov-io
Copy link

codecov-io commented Aug 20, 2018

Codecov Report

Merging #5682 into master will decrease coverage by <.01%.
The diff coverage is 6.66%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #5682      +/-   ##
=========================================
- Coverage   63.51%   63.5%   -0.01%     
=========================================
  Files         360     360              
  Lines       22904   22904              
  Branches     2551    2555       +4     
=========================================
- Hits        14548   14546       -2     
- Misses       8341    8343       +2     
  Partials       15      15
Impacted Files Coverage Δ
superset/assets/src/explore/controls.jsx 45.92% <ø> (ø) ⬆️
superset/assets/src/explore/visTypes.jsx 57.14% <ø> (ø) ⬆️
.../assets/src/visualizations/parallel_coordinates.js 0% <0%> (ø) ⬆️
superset/assets/src/visualizations/sunburst.js 0% <0%> (ø) ⬆️
superset/viz.py 81.28% <33.33%> (-0.08%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cdd348a...c8a52e1. Read the comment docs.

Copy link

@graceguo-supercat graceguo-supercat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mistercrunch mistercrunch merged commit 71e0c07 into apache:master Aug 21, 2018
@mistercrunch mistercrunch deleted the fix_sunbusrt branch August 21, 2018 18:31
kristw pushed a commit to kristw/incubator-superset that referenced this pull request Aug 22, 2018
I noticed that `secondary_metric` was required in the chart that users
it, namely sunburst, parallel coordinates, and world_map.

I set the control as allowing null, and found related bugs in the
process:
* parallel coordinates did not have support for the new MetricControl
* added color scheme support for parallel coordinates
* added option to set row_limit on these viz types
* sunburst to support numeric columns (number would show as blank)

(cherry picked from commit 71e0c07)
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
I noticed that `secondary_metric` was required in the chart that users
it, namely sunburst, parallel coordinates, and world_map.

I set the control as allowing null, and found related bugs in the
process:
* parallel coordinates did not have support for the new MetricControl
* added color scheme support for parallel coordinates
* added option to set row_limit on these viz types
* sunburst to support numeric columns (number would show as blank)
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.0 labels Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 0.28.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants