Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

feat(preset-chart-xy): migrate #377

Merged
merged 12 commits into from
Apr 27, 2020
Merged

feat(preset-chart-xy): migrate #377

merged 12 commits into from
Apr 27, 2020

Conversation

kristw
Copy link
Contributor

@kristw kristw commented Apr 17, 2020

🏆 Enhancements

Migrate preset-chart-xy and word-cloud from plugins repo

@kristw kristw requested a review from a team as a code owner April 17, 2020 23:49
@vercel
Copy link

vercel bot commented Apr 17, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/superset/superset-ui/noyisxx18
✅ Preview: https://superset-ui-git-kristw-xy.superset.now.sh

@codecov
Copy link

codecov bot commented Apr 17, 2020

Codecov Report

Merging #377 into master will decrease coverage by 1.88%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #377      +/-   ##
==========================================
- Coverage   26.33%   24.45%   -1.89%     
==========================================
  Files         192      235      +43     
  Lines        5293     5733     +440     
  Branches      475      581     +106     
==========================================
+ Hits         1394     1402       +8     
- Misses       3864     4294     +430     
- Partials       35       37       +2     
Impacted Files Coverage Δ
plugins/plugin-chart-word-cloud/src/buildQuery.ts 100.00% <ø> (ø)
...ugins/plugin-chart-word-cloud/src/chart/Encoder.ts 0.00% <ø> (ø)
...ns/plugin-chart-word-cloud/src/chart/WordCloud.tsx 0.00% <0.00%> (ø)
plugins/plugin-chart-word-cloud/src/index.ts 0.00% <ø> (ø)
...lugins/plugin-chart-word-cloud/src/legacy/index.ts 0.00% <ø> (ø)
...ugin-chart-word-cloud/src/legacy/transformProps.ts 54.54% <ø> (ø)
...gins/plugin-chart-word-cloud/src/transformProps.ts 0.00% <ø> (ø)
...gins/preset-chart-xy/src/BoxPlot/createMetadata.ts 0.00% <ø> (ø)
plugins/preset-chart-xy/src/BoxPlot/index.ts 0.00% <ø> (ø)
...lugins/preset-chart-xy/src/BoxPlot/legacy/index.ts 0.00% <ø> (ø)
... and 76 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 7b5e5d2...c51301b. Read the comment docs.

@@ -94,7 +94,7 @@
],
"nimbus": {
"drivers": [
"babel",
{ "driver": "babel", "strategy": "none" },
Copy link
Contributor

@ktmud ktmud Apr 27, 2020

Choose a reason for hiding this comment

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

I will never know you can do this with nimbus's almost non-existent docs...

new LegacyWordCloudChartPlugin().configure({ key: 'legacy-word-cloud2' }).register();

export default {
title: 'Chart Plugins|plugin-chart-word-cloud',
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we change this to "Plugins" so "Core Packages" can always display on the top of the navigation in Storybook:

image

formData={{
colorScheme: 'd3Category10',
metric: 'sum__num',
rotation: select('Rotation', ['square', 'flat', 'random'], 'flat'),
Copy link
Contributor

@ktmud ktmud Apr 27, 2020

Choose a reason for hiding this comment

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

Copy link
Contributor

@ktmud ktmud left a comment

Choose a reason for hiding this comment

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

LGTM except the knobs are missing. While I did the initial migration, withKnobs are moved to each story from the shared setup script to simplify story imports.

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.

None yet

2 participants