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] Repair and refactor Word Cloud #5669

Merged
merged 10 commits into from
Aug 22, 2018

Conversation

kristw
Copy link
Contributor

@kristw kristw commented Aug 17, 2018

  • There was a bug in angle calculation function.
  • Enable renderTrigger for the options
  • Rewrite word cloud and decouple it from slice and formData

image

@williaster @graceguo-supercat @conglei

@codecov-io
Copy link

codecov-io commented Aug 20, 2018

Codecov Report

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

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #5669      +/-   ##
==========================================
- Coverage   63.49%   63.47%   -0.02%     
==========================================
  Files         360      360              
  Lines       22910    22916       +6     
  Branches     2551     2550       -1     
==========================================
  Hits        14547    14547              
- Misses       8348     8354       +6     
  Partials       15       15
Impacted Files Coverage Δ
superset/assets/src/explore/visTypes.jsx 57.14% <ø> (ø) ⬆️
superset/assets/src/explore/controls.jsx 45.92% <ø> (ø) ⬆️
superset/assets/src/visualizations/word_cloud.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 2d23ae1...bd04e1e. Read the comment docs.

};

const propTypes = {
data: PropTypes.array,
Copy link
Contributor

Choose a reason for hiding this comment

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

could we add arrayOf with a more specific PropTypes.shape({ size: PropTypes.number, text: PropTypes.string }) here? (I think that's the 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.

sure. Thanks for catching.

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.

LGTM

@mistercrunch mistercrunch merged commit 0a40149 into apache:master Aug 22, 2018
kristw added a commit to kristw/incubator-superset that referenced this pull request Aug 22, 2018
* create reactize function

* update function signature

* adjust word cloud controls

* Fix broken word cloud logic

* Repair and refactor word cloud

* remove file

* Add PropTypes

* change module.exports to export default

* change order

* update proptypes

(cherry picked from commit 0a40149)
@kristw kristw deleted the kristw/word-cloud branch August 22, 2018 18:14
@kristw kristw changed the title Repair and refactor Word Cloud [SIP-5] Repair and refactor Word Cloud Aug 24, 2018
wenchma pushed a commit to wenchma/incubator-superset that referenced this pull request Nov 16, 2018
* create reactize function

* update function signature

* adjust word cloud controls

* Fix broken word cloud logic

* Repair and refactor word cloud

* remove file

* Add PropTypes

* change module.exports to export default

* change order

* update proptypes
@rusackas rusackas added the sip Superset Improvement Proposal label Jun 7, 2023
@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 sip Superset Improvement Proposal 🚢 0.28.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants