Skip to content
This repository has been archived by the owner on Nov 3, 2023. It is now read-only.

Cherry-picks: Several updates to the chart components #96

Merged
merged 5 commits into from
Aug 22, 2018

Conversation

kristw
Copy link

@kristw kristw commented Aug 22, 2018

Cherry-pick the following commit(s):

SHA Time Log Author
0a40149 Tue Aug 21 20:50:01 2018 -0700 Repair and refactor Word Cloud (apache#5669) Krist Wongsuphasawat
3929f0f Tue Aug 21 20:48:58 2018 -0700 Refactor force-directed graph (apache#5691) Krist Wongsuphasawat
71e0c07 Tue Aug 21 11:31:33 2018 -0700 [bugfix] making secondary_metric optional (apache#5682) Maxime Beauchemin
fdb8001 Tue Aug 21 11:16:06 2018 -0700 change title from hotkeys to keyboard shortcuts (apache#5688) Krist Wongsuphasawat
683edc3 Mon Aug 20 17:00:25 2018 -0700 Refactor Chord vis (apache#5671) Krist Wongsuphasawat

I have verified this cherry-picked version on development box and the affected vis are working as expected.

@john-bodley @conglei @graceguo-supercat @kristw @michellethomas @timifasubaa @williaster

kristw and others added 5 commits August 22, 2018 10:38
* refactor Chord vis

* Add PropTypes

* change module.exports to export default

(cherry picked from commit 683edc3)
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)
* Refactor and add props to Force Directed Graph

* update label and enable renderTrigger

(cherry picked from commit 3929f0f)
* 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 changed the title [WIP] Cherry-pick(s): <description> Cherry-picks: Several updates to the chart components Aug 22, 2018
@codecov-io
Copy link

codecov-io commented Aug 22, 2018

Codecov Report

Merging #96 into airbnb-master will decrease coverage by 0.06%.
The diff coverage is 4.21%.

Impacted file tree graph

@@                Coverage Diff                @@
##           airbnb-master      #96      +/-   ##
=================================================
- Coverage          63.25%   63.19%   -0.07%     
=================================================
  Files                351      351              
  Lines              22037    22055      +18     
  Branches            2470     2473       +3     
=================================================
- Hits               13939    13937       -2     
- Misses              8086     8106      +20     
  Partials              12       12
Impacted Files Coverage Δ
...uperset/assets/src/SqlLab/components/SqlEditor.jsx 78.09% <ø> (ø) ⬆️
superset/assets/src/explore/controls.jsx 45.8% <ø> (ø) ⬆️
superset/assets/src/explore/visTypes.jsx 57.14% <ø> (ø) ⬆️
superset/assets/src/visualizations/sunburst.js 0% <0%> (ø) ⬆️
superset/assets/src/visualizations/word_cloud.js 0% <0%> (ø) ⬆️
...perset/assets/src/visualizations/directed_force.js 0% <0%> (ø) ⬆️
.../assets/src/visualizations/parallel_coordinates.js 0% <0%> (ø) ⬆️
superset/assets/src/visualizations/chord.jsx 0% <0%> (ø) ⬆️
superset/viz.py 80.82% <66.66%> (-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 c7c6f68...d0c8618. Read the comment docs.

@kristw kristw merged commit a82bae0 into airbnb:airbnb-master Aug 22, 2018
@kristw kristw deleted the kristw-cherry-chord branch August 24, 2018 05:07
michellethomas pushed a commit that referenced this pull request Dec 1, 2021
michellethomas pushed a commit that referenced this pull request Dec 1, 2021
* fix: broken build due to vega type

* fix: remove unused

* fix: type

* fix: margin
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants