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

Cherry-picks: Updates 8 charts #104

Merged
merged 9 commits into from
Sep 5, 2018

Conversation

kristw
Copy link

@kristw kristw commented Sep 5, 2018

Cherry-pick the following commit(s):

SHA Time Log Author
bebbdb8 Wed Sep 5 12:12:30 2018 -0700 [SIP-5] Refactor MapBox (apache#5783) (apache/master) Krist Wongsuphasawat
2811498 Wed Sep 5 10:34:44 2018 -0700 [SIP-5] Refactor calendar chart (apache#5760) Krist Wongsuphasawat
a411516 Tue Sep 4 18:08:00 2018 -0700 bug: don't show query overlay when panning mapbox maps (apache#5814) Christine Chambers
f72cdc3 Thu Aug 30 14:43:40 2018 -0700 [SIP-5] Repair and refactor CountryMap (apache#5721) Krist Wongsuphasawat
00f2771 Wed Aug 29 15:21:04 2018 -0700 [SIP-5] Refactor and repair partition (apache#5718) Krist Wongsuphasawat
86f99b0 Wed Aug 29 14:56:28 2018 -0700 [SIP-5] Refactor rose (apache#5763) Krist Wongsuphasawat
00cc6e9 Wed Aug 29 12:36:48 2018 -0700 [SIP-5] Refactor World Map (apache#5719) Krist Wongsuphasawat
506cfd1 Mon Aug 27 21:50:08 2018 -0700 [SIP-5] Refactor sankey (apache#5701) Krist Wongsuphasawat
fcf2c75 Mon Aug 27 21:49:54 2018 -0700 [SIP-5] Refactor and update heatmap (apache#5704) Krist Wongsuphasawat

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

I have verified on devbox with real data and they are working fine.

kristw and others added 9 commits September 5, 2018 12:01
* Extract slice and formData

* Define data shape

* update style

* organize imports

* fix heatmap axis labels

* add new line

* adjust indent

(cherry picked from commit fcf2c75)
* extract slice and formdata from sankey

* use arrow function

* reorganize imports

(cherry picked from commit 506cfd1)
* extract slice and formData

* update proptypes of data

(cherry picked from commit 00cc6e9)
* refactor rose

* update proptypes

(cherry picked from commit 86f99b0)
* Extract slice and formData

* reorder functions

* fix tooltip

* remove commented code

* remove commented code and rename variables

* remove verboseMap

* rename kx, ky to zoomX, zoomY

(cherry picked from commit 00f2771)
* Extract slice and formData

* update css indent

* remove no-effect call

* improve text label

* adjust text size

* fix bound calculation

* use string literal

* make path constant

(cherry picked from commit f72cdc3)
* remove stroke

* update style and annotate data type

* update prop type

* bring back utc code

* add comments

(cherry picked from commit 2811498)
* bug: don't show query overlay when panning mapbox maps

Since we don't want to prompt user to rerun query every time they pan a map, prevent the query overlay from showing by setting dontRefreshOnChange for viewport_latitude and viewport_longitude controls.

* Prevent query overlay on viewport zoom also.

(cherry picked from commit a411516)
* Break MapBox into smaller pieces

* Replace React.createElement with regular jsx

* detach setControlValue

* enable render trigger

* Pass explicit props rather than pass all that exists in payload.data. Also use formData when possible.

* Rename sliceWidth, sliceHeight to width, height. Use deconstructor. Extract function.

* use arrow function

* fix linting and remove css

(cherry picked from commit bebbdb8)
@kristw kristw changed the title [WIP] Cherry-pick(s): <description> Cherry-pick(s): Updates to 8 charts Sep 5, 2018
@kristw kristw changed the title Cherry-pick(s): Updates to 8 charts Cherry-pick(s): Updates 8 charts Sep 5, 2018
@codecov-io
Copy link

codecov-io commented Sep 5, 2018

Codecov Report

Merging #104 into airbnb-master will decrease coverage by 0.2%.
The diff coverage is 0%.

Impacted file tree graph

@@                Coverage Diff                @@
##           airbnb-master     #104      +/-   ##
=================================================
- Coverage          63.17%   62.96%   -0.21%     
=================================================
  Files                352      353       +1     
  Lines              22059    22132      +73     
  Branches            2471     2477       +6     
=================================================
  Hits               13935    13935              
- Misses              8112     8185      +73     
  Partials              12       12
Impacted Files Coverage Δ
superset/assets/src/explore/controls.jsx 45.8% <ø> (ø) ⬆️
...perset/assets/src/visualizations/MapBox/MapBox.jsx 0% <0%> (ø)
superset/assets/src/visualizations/country_map.js 0% <0%> (ø) ⬆️
...c/visualizations/MapBox/ScatterPlotGlowOverlay.jsx 0% <0%> (ø)
superset/assets/src/visualizations/cal_heatmap.js 0% <0%> (ø) ⬆️
superset/assets/src/visualizations/heatmap.js 0% <0%> (ø) ⬆️
superset/assets/src/visualizations/rose.js 0% <0%> (ø) ⬆️
superset/assets/src/visualizations/partition.js 0% <0%> (ø) ⬆️
superset/assets/src/visualizations/world_map.js 0% <0%> (ø) ⬆️
superset/assets/src/visualizations/sankey.js 0% <0%> (ø) ⬆️
... and 1 more

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 19c064f...fc11a3c. Read the comment docs.

@kristw kristw changed the title Cherry-pick(s): Updates 8 charts Cherry-picks: Updates 8 charts Sep 5, 2018
@kristw kristw merged commit f2bd0bc into airbnb:airbnb-master Sep 5, 2018
@kristw kristw deleted the kristw-cherry-sep5 branch September 11, 2018 22:26
michellethomas pushed a commit that referenced this pull request Dec 1, 2021
* refactor: use composition package

* refactor: remove WithLegend and ChartFrame
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