-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Conversation
b515f9a
to
007237d
Compare
Codecov Report
@@ 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
Continue to review full report at Codecov.
|
}; | ||
|
||
const propTypes = { | ||
data: PropTypes.array, |
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.
could we add arrayOf
with a more specific PropTypes.shape({ size: PropTypes.number, text: PropTypes.string })
here? (I think that's the shape)
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.
sure. Thanks for catching.
1870b05
to
bd04e1e
Compare
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.
LGTM
* 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)
* 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
renderTrigger
for the optionsslice
andformData
@williaster @graceguo-supercat @conglei