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

build: move number-format and time-format to core #730

Merged
merged 1 commit into from
Aug 20, 2020

Conversation

ktmud
Copy link
Contributor

@ktmud ktmud commented Aug 11, 2020

🏠 Internal

Follow up for #729 , merging more packages to @superset-ui/core. This time the d3 formatters.

@ktmud ktmud requested a review from a team as a code owner August 11, 2020 06:11
@vercel
Copy link

vercel bot commented Aug 11, 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/r4o2nrml6
✅ Preview: https://superset-ui-git-fork-ktmud-monopackage-move-formatter.superset.vercel.app

@ktmud
Copy link
Contributor Author

ktmud commented Aug 11, 2020

@kristw Tests are failing because encodable depends on an older version of @superset-ui/number-format. What do you think is a good way to reduce such inter-dependencies?

@kristw
Copy link
Contributor

kristw commented Aug 11, 2020

@kristw Tests are failing because encodable depends on an older version of @superset-ui/number-format. What do you think is a good way to reduce such inter-dependencies?

I am working to decouple encodable from superset-ui. Should take a few more days.

@kristw
Copy link
Contributor

kristw commented Aug 11, 2020

Wonder if there is an easy way to disable certain plugin building / testing / publishing temporarily to unblock you.

@ktmud
Copy link
Contributor Author

ktmud commented Aug 11, 2020

Wonder if there is an easy way to disable certain plugin building / testing / publishing temporarily to unblock you.

We can move the packge to temporary-plugins/? The only block package is presets-chart-xy, which we only use for Boxplot in Superset.

@kristw
Copy link
Contributor

kristw commented Aug 11, 2020

Wonder if there is an easy way to disable certain plugin building / testing / publishing temporarily to unblock you.

We can move the packge to temporary-plugins/? The only block package is presets-chart-xy, which we only use for Boxplot in Superset.

sgtm

@ktmud ktmud force-pushed the monopackage-move-formatter branch from e7d928c to 97ef9fe Compare August 11, 2020 23:07
@vercel vercel bot temporarily deployed to Preview August 11, 2020 23:07 Inactive
@ktmud ktmud changed the base branch from monopackage-move-connection to monopackage August 11, 2020 23:07
@ktmud ktmud force-pushed the monopackage-move-formatter branch from 97ef9fe to 78f6d39 Compare August 11, 2020 23:11
@codecov
Copy link

codecov bot commented Aug 11, 2020

Codecov Report

Merging #730 into monopackage will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff              @@
##           monopackage     #730   +/-   ##
============================================
  Coverage        24.21%   24.21%           
============================================
  Files              343      343           
  Lines             7682     7682           
  Branches           947      947           
============================================
  Hits              1860     1860           
  Misses            5749     5749           
  Partials            73       73           
Impacted Files Coverage Δ
...es/superset-ui-chart/src/components/SuperChart.tsx 100.00% <ø> (ø)
...-ui-chart/src/components/createLoadableRenderer.ts 100.00% <ø> (ø)
...uperset-ui-core/src/number-format/NumberFormats.ts 100.00% <ø> (ø)
...erset-ui-core/src/number-format/NumberFormatter.ts 100.00% <ø> (ø)
...-core/src/number-format/NumberFormatterRegistry.ts 100.00% <ø> (ø)
...number-format/factories/createD3NumberFormatter.ts 100.00% <ø> (ø)
...number-format/factories/createDurationFormatter.ts 100.00% <ø> (ø)
...-format/factories/createSiAtMostNDigitFormatter.ts 100.00% <ø> (ø)
...ber-format/factories/createSmartNumberFormatter.ts 100.00% <ø> (ø)
...es/superset-ui-core/src/time-format/TimeFormats.ts 100.00% <ø> (ø)
... and 42 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 ca4aaab...002d456. Read the comment docs.

@ktmud
Copy link
Contributor Author

ktmud commented Aug 12, 2020

There are a couple of other plugins also use encodable. It's too much work to move them (and their storybook examples) back and forth. I'll just leave this PR here and work on merging other packages instead.

@ktmud ktmud force-pushed the monopackage-move-formatter branch from 44c839d to 002d456 Compare August 20, 2020 18:21
@ktmud ktmud merged commit de95e68 into apache-superset:monopackage Aug 20, 2020
ktmud added a commit to ktmud/superset-ui that referenced this pull request Aug 26, 2020
ktmud added a commit to ktmud/superset-ui that referenced this pull request Aug 26, 2020
1. move translation, connection, query to core (apache-superset#729)
2. update encodable to remove formatter inter-dependency (apache-superset#744)
3. move number-format and time-format to core (apache-superset#730)
ktmud added a commit to ktmud/superset-ui that referenced this pull request Aug 26, 2020
1. move translation, connection, query to core (apache-superset#729)
2. update encodable to remove formatter inter-dependency (apache-superset#744)
3. move number-format and time-format to core (apache-superset#730)
ktmud added a commit to ktmud/superset-ui that referenced this pull request Aug 26, 2020
1. move translation, connection, query to core (apache-superset#729)
2. update encodable to remove formatter inter-dependency (apache-superset#744)
3. move number-format and time-format to core (apache-superset#730)
ktmud added a commit that referenced this pull request Aug 26, 2020
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
ktmud added a commit that referenced this pull request Aug 26, 2020
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4: move superset-ui/dimension to core (#732)
ktmud added a commit that referenced this pull request Aug 26, 2020
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4: move superset-ui/dimension to core (#732)
5: move superset-ui/color to core (#755)
ktmud added a commit that referenced this pull request Aug 26, 2020
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
ktmud added a commit that referenced this pull request Aug 26, 2020
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
ktmud added a commit that referenced this pull request Sep 2, 2020
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
8: move superset-ui/chart-composition to core (#759)
ktmud added a commit that referenced this pull request Sep 2, 2020
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
8: move superset-ui/chart-composition to core (#759)
ktmud added a commit that referenced this pull request Sep 3, 2020
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
8: move superset-ui/chart-composition to core (#759)
9: move superset-ui/chart to core (#760)
ktmud added a commit that referenced this pull request Sep 3, 2020
1. move translation, connection, query to core (#729)
2. update encodable to remove formatter inter-dependency (#744)
3. move number-format and time-format to core (#730)
4. move superset-ui/dimension to core (#732)
5. move superset-ui/color to core (#755)
6. move superset-ui/style to core (#756)
7. move superset-ui/validator to core (#757)
8. move superset-ui/chart-composition to core (#759)
9. move superset-ui/chart to core (#760)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants