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

[SIP-5] Refactor rose #5763

Merged
merged 2 commits into from
Aug 29, 2018
Merged

[SIP-5] Refactor rose #5763

merged 2 commits into from
Aug 29, 2018

Conversation

kristw
Copy link
Contributor

@kristw kristw commented Aug 28, 2018

  • Extract slice and formData from chart.

image

Tested locally

@williaster @conglei

@codecov-io
Copy link

codecov-io commented Aug 28, 2018

Codecov Report

Merging #5763 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5763      +/-   ##
==========================================
- Coverage    63.8%   63.78%   -0.02%     
==========================================
  Files         364      364              
  Lines       23066    23073       +7     
  Branches     2568     2568              
==========================================
  Hits        14717    14717              
- Misses       8334     8341       +7     
  Partials       15       15
Impacted Files Coverage Δ
superset/assets/src/visualizations/rose.js 0% <0%> (ø) ⬆️

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 00cc6e9...6f6f0b7. Read the comment docs.

Copy link
Contributor

@williaster williaster left a comment

Choose a reason for hiding this comment

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

Much more readable! 💯 One suggestion / question for the data proptype otherwise lgtm!

import './rose.css';

const propTypes = {
// Data is an object hashed by numeric value, perhaps timestamp
Copy link
Contributor

Choose a reason for hiding this comment

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

Does it work do specify this like this?

data: PropTypes.objectOf(
  PropTypes.arrayOf(PropTypes.shape({ ... }),
),

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good call. Will update

@williaster williaster merged commit 86f99b0 into apache:master Aug 29, 2018
@kristw kristw deleted the kristw-rose branch August 29, 2018 22:26
kristw added a commit to kristw/incubator-superset that referenced this pull request Sep 5, 2018
* refactor rose

* update proptypes

(cherry picked from commit 86f99b0)
betodealmeida pushed a commit to lyft/incubator-superset that referenced this pull request Oct 12, 2018
* refactor rose

* update proptypes
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
* refactor rose

* update proptypes
@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.

4 participants