Commit Graph

769 Commits

Author SHA1 Message Date
Jesse Yang
f28cd3f9c5 build: enable skipLibCheck for tsc (#769)
* build: enable skipLibCheck for tsc

* improve tsc configs
2021-11-26 11:46:39 +08:00
Jesse Yang
047ad3c0c5 chore: compress thumbnail images with pngquant (#770) 2021-11-26 11:46:39 +08:00
Jesse Yang
9cc96b96f4 chore: move @types/react to peerDependencies (#774)
* chore: move @types/react to peerDependencies

* chore: move react-bootstrap and react-loadable to peerDependencies, too
2021-11-26 11:46:39 +08:00
Jesse Yang
1856dce5d7 chore: publish v0.15.0 2021-11-26 11:46:38 +08:00
Jesse Yang
415ce5efd8 refactor: merge core superset-ui packages (#768)
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)
2021-11-26 11:46:38 +08:00
Ville Brofeldt
68c5beb1b5 fix(legacy-preset-chart-nvd3): remove unnecessary control override (#767) 2021-11-26 11:46:38 +08:00
Shaoqing Hu
8c2a91ecf6 add tooltip.confine = true (#764) 2021-11-26 11:46:38 +08:00
Ville Brofeldt
13831d8de9 chore: publish v0.14.23 2021-11-26 11:46:38 +08:00
Ville Brofeldt
e916fd9015 feat: Add ECharts Timeseries plugin (#737)
* make it work

* Add color scheme and timeseries limits

* latest improvements

* bump

* moving dependencies to plugin

* Shuffling logic to transformProps, making Typescript happy.

* zoom controls!

* declaration for the dang PNG files

* Revert "declaration for the dang PNG files"

This reverts commit b37f01076e36ba2b05424f861187a182f4d327d6.

* PIE! (super basic)

* lowercase import name, moving types.

* capitalization fix

* nixing console log

* removing echarts peer dependency (missed it earlier)

* basic pie controls/types

* typescript fixes and whatnot

* yarn alphabetizing peerDependencies

* fixing Pie chart typing

* less enthusiasm

* fixing resize and data redraw quirks

* fixing zoom display quirks

* add predictive analytics

* fix controls

* improve typing and tests

* add rebasing to forecasts

* improve stacking etc

* Minor improvements

* add tooltip

* Charts draw and resize correctly

* clean up code

* lint

* yet more lint

* fix unit tests

* fix unit tests

* fix tests

* add useEchartsComponent and address comments

* address comments

* address more comments

* Add Echart component

* bump echarts to 4.9.0

* clean up Echart component

* add storybook

* replace radios with boolean

* address review comments

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-11-26 11:46:37 +08:00
Jesse Yang
46ea73953b chore: clean up a couple of TypeScript warnings (#754) 2021-11-26 11:46:37 +08:00
Phillip Kelley-Dotson
a7dfee8717 chore(legacy-chart-nvd3): convert nvd3 to emotion style (#692)
* convert nvd3 to emotion style

* update package

* Update ReactNVD3.jsx
2021-11-26 11:46:37 +08:00
Grace Guo
149c175617 chore: remove iframe and markup viz type support (#746) 2021-11-26 11:46:37 +08:00
Ville Brofeldt
5dd6e66fff chore: publish v0.14.21 2021-11-26 11:46:36 +08:00
Ville Brofeldt
baf2b68356 feat(legacy-plugin-chart-pivot-table): add support for timestamp format (#734)
* feat(legacy-plugin-chart-pivot-table): add support for timestamp format

* add @superset-ui/time-format to deps

* add granularity formatter and apply conditional date formatting to cells

* flip if order
2021-11-26 11:46:36 +08:00
Mike Du
12bfdb2767 fix: dist bar will render value multi times (#713) 2021-11-26 11:46:36 +08:00
Jesse Yang
971eb03f0e chore: publish v0.14.20 2021-11-26 11:46:36 +08:00
Jesse Yang
6def6b4c0b feat: properly translate the table chart (#724) 2021-11-26 11:46:36 +08:00
Maxime Beauchemin
43177957ca feat: improve world map colors (#711)
* feat: improve world map colors

* sqrt

* addressing comment

* ad d3-color
2021-11-26 11:46:36 +08:00
Jesse Yang
835335d3e4 feat: align metrics title to the right (#721) 2021-11-26 11:46:36 +08:00
Ville Brofeldt
bd83ba48a6 chore: publish v0.14.18 2021-11-26 11:46:35 +08:00
Ville Brofeldt
5908582d00 feat(legacy-plugin-chart-sunburst): add linear color scheme (#714) 2021-11-26 11:46:35 +08:00
Jesse Yang
2f724ea3e7 chore: publish v0.14.17 2021-11-26 11:46:35 +08:00
dependabot-preview[bot]
48bf531d04 build(deps): bump @vx/axis from 0.0.197 to 0.0.198 (#683)
Bumps [@vx/axis](https://github.com/hshoff/vx) from 0.0.197 to 0.0.198.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.197...v0.0.198)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:35 +08:00
Stuart Hu
d9a2808fe3 feat(legacy-preset-chart-nvd3): add a new label type to pie chart (#699) 2021-11-26 11:46:35 +08:00
Jesse Yang
da59465122 chore: publish v0.14.16 2021-11-26 11:46:35 +08:00
Jesse Yang
33d2fa155f fix: charts rerender with zero-height during tab switch (#703) 2021-11-26 11:46:35 +08:00
dependabot-preview[bot]
a07c831eb2 build(deps): bump @vx/legend from 0.0.197 to 0.0.198 (#673)
Bumps [@vx/legend](https://github.com/hshoff/vx) from 0.0.197 to 0.0.198.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.197...v0.0.198)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:34 +08:00
dependabot-preview[bot]
10cfefffb0 build(deps): bump @vx/event from 0.0.197 to 0.0.198 (#672)
Bumps [@vx/event](https://github.com/hshoff/vx) from 0.0.197 to 0.0.198.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.197...v0.0.198)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:34 +08:00
Phillip Kelley-Dotson
c783411fcf chore(plugin-chart-parallel-coordinates): convert para coords chart to emotion styling (#641)
* convert para coords chart to emotion styling

* Update package.json

* Update index.js

* Update package.json

* Update package.json
2021-11-26 11:46:34 +08:00
Ville Brofeldt
018da38dab chore: publish v0.14.14 2021-11-26 11:46:34 +08:00
Ville Brofeldt
4306386946 fix(legacy-plugin-chart-pivot-table): formatting non-numeric values (#695)
* fix(legacy-plugin-chart-pivot-table): formatting non-numeric values

* simplify logic
2021-11-26 11:46:34 +08:00
Ville Brofeldt
79c4f3f2ab feat(legacy-plugin-chart-rose): add time grain (#696) 2021-11-26 11:46:34 +08:00
Ville Brofeldt
67a0543bff chore: publish v0.14.13 2021-11-26 11:46:34 +08:00
Ville Brofeldt
4eff7f68bb fix(legacy-plugin-chart-treemap): incorrect template literal (#693) 2021-11-26 11:46:34 +08:00
Ville Brofeldt
3607532640 chore: publish v0.14.12 2021-11-26 11:46:33 +08:00
Ville Brofeldt
ea729831c3 fix: implement extra filter logic (#688)
* fix: implement extra filter logic

* fix bugs and add tests

* remove redundant changes

* improve types

* fix coverage

* improve codevov
2021-11-26 11:46:33 +08:00
Jesse Yang
a62559ea54 chore: publish v0.14.11 2021-11-26 11:46:33 +08:00
Jesse Yang
7b7c8a0c1a fix(plugin-chart-table): value undefined when table name has dot (#686)
* fix(plugin-chart-table): value undefined when table name has dot

* Upgrade react everywhere

* add comment
2021-11-26 11:46:33 +08:00
Phillip Kelley-Dotson
9f28613d7e chore(chart-sankey): use emotion styling typography (#651) 2021-11-26 11:46:33 +08:00
Phillip Kelley-Dotson
fbb94b864a chore(chart-worldmap): use emotion style (#652) 2021-11-26 11:46:32 +08:00
Phillip Kelley-Dotson
6730ee7d89 chore(chart-forced-directed): use emotion style (#643) 2021-11-26 11:46:32 +08:00
Evan Rusackas
d3bf53424e chore: Cleaning up control overrides (#675)
* fix: errant heatmap override

* fix: nixing lineMulti vestigial override

* nixing unused import!
2021-11-26 11:46:32 +08:00
Evan Rusackas
106e98c15c chore: requiresTime not required (#676) 2021-11-26 11:46:32 +08:00
Jesse Yang
90ac8caa03 chore: deprecate legacy table plugin (#674)
* chore: move legacy table plugin to potentially deprecated

* Rename story

* update readme
2021-11-26 11:46:32 +08:00
Jesse Yang
09a585835a chore: publish v0.14.9 2021-11-26 11:46:32 +08:00
Jesse Yang
142544cd44 fix(plugin-chart-table): sort and search time column (#669) 2021-11-26 11:46:32 +08:00
Phillip Kelley-Dotson
42d36dd4e9 chore: migrate time table chart from superset-frontend (#630)
And added typing
2021-11-26 11:46:31 +08:00
Jesse Yang
c9cc22ca1e chore(plugin-chart-table): fix typo and formatting 2021-11-26 11:46:31 +08:00
Jesse Yang
e86319f065 chore: publish v0.14.8 2021-11-26 11:46:31 +08:00
Jesse Yang
0e1ea1217c fix(plugin-chart-table): formatting non-numeric metrics (#663) 2021-11-26 11:46:31 +08:00
Jesse Yang
a540cc283c chore: publish v0.14.6 2021-11-26 11:46:31 +08:00
Jesse Yang
771cf48c6b fix(plugin-chart-table): anchor should keep href (#661) 2021-11-26 11:46:30 +08:00
Jesse Yang
c64335f6f6 chore: publish v0.14.5 2021-11-26 11:46:30 +08:00
Jesse Yang
c41a60726c fix(plugin-chart-table): change default queryMode to null (#659)
So it can fallback to `getQueryMode` to have better backward
compatibility. Currently existing tables in NOT GROUP BY mode will not
open the "Raw" tab by default.
2021-11-26 11:46:30 +08:00
erik_ritter
b2f4db4f9b chore: publish v0.14.4 2021-11-26 11:46:30 +08:00
Erik Ritter
35f8815863 build: bump nvd3-fork with tooltip fix (#653) 2021-11-26 11:46:30 +08:00
dependabot-preview[bot]
fe819bf6aa build(deps): bump @vx/event from 0.0.196 to 0.0.197 (#647)
Bumps [@vx/event](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.196...v0.0.197)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:30 +08:00
Jesse Yang
8d184047d6 chore: upgrade react-table to v7.2.1 (#633) 2021-11-26 11:46:29 +08:00
Evan Rusackas
313d9daa94 chore: publish v0.14.3 2021-11-26 11:46:29 +08:00
Jesse Yang
45d57b7567 chore(legacy-plugin-chart-country-map): use peerDependencies (#628) 2021-11-26 11:46:29 +08:00
Jesse Yang
9783fc0cc1 chore: make @superset-ui/plugin-chart-table public 2021-11-26 11:46:29 +08:00
Jesse Yang
c8d5401141 chore: publish v0.14.2 2021-11-26 11:46:29 +08:00
Jesse Yang
aade5ef42c feat(legacy-table-chart): add query mode switch (#609) 2021-11-26 11:46:28 +08:00
Jesse Yang
92ac471216 feat(plugin-chart-table): rewrite with react-table (#623) 2021-11-26 11:46:28 +08:00
Jesse Yang
05aca62856 chore: publish v0.14.1 2021-11-26 11:46:28 +08:00
Jesse Yang
57c5f950ec build: update package versions in peerDependencies (#622) 2021-11-26 11:46:28 +08:00
Jesse Yang
0e6b3cf4c8 chore: publish v0.14.0 2021-11-26 11:46:28 +08:00
Jesse Yang
261738c12f refactor: rename control-utils to chart-controls (#620) 2021-11-26 11:46:28 +08:00
Jesse Yang
b0858eee95 build: bump @types/react to 16.9.38 (#619) 2021-11-26 11:46:28 +08:00
Krist Wongsuphasawat
dacd58de79 chore: publish v0.13.31 2021-11-26 11:46:27 +08:00
Maxime Beauchemin
b182b641f6 fix: pointing nvd3 package to nvd3-fork (#615) 2021-11-26 11:46:27 +08:00
Jesse Yang
269a7df3e6 chore: upgrade @types/react (#613) 2021-11-26 11:46:27 +08:00
dependabot-preview[bot]
188c44b63d build(deps): bump @vx/scale from 0.0.196 to 0.0.197 (#603)
Bumps [@vx/scale](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.196...v0.0.197)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:27 +08:00
dependabot-preview[bot]
bd4a4a790e build(deps): bump @vx/pattern from 0.0.196 to 0.0.197 (#605)
Bumps [@vx/pattern](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.196...v0.0.197)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:27 +08:00
Evan Rusackas
2ebc9e6940 chore: publish v0.13.30 2021-11-26 11:46:27 +08:00
dependabot-preview[bot]
1b5aa858a7 build(deps): bump @vx/axis from 0.0.196 to 0.0.197 (#590)
Bumps [@vx/axis](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.196...v0.0.197)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:26 +08:00
dependabot-preview[bot]
e90d214b9d build(deps): bump @vx/legend from 0.0.196 to 0.0.197 (#576)
Bumps [@vx/legend](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.196...v0.0.197)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:26 +08:00
dependabot-preview[bot]
c55ae704a3 build(deps): bump @vx/tooltip from 0.0.196 to 0.0.197 (#589)
Bumps [@vx/tooltip](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.196...v0.0.197)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:26 +08:00
Evan Rusackas
20871d60a5 chore: publish v0.13.29 2021-11-26 11:46:26 +08:00
Ville Brofeldt
3566bb56e6 chore(legacy-plugin-chart-calendar): use domains from control (#592) 2021-11-26 11:46:26 +08:00
Jesse Yang
64ffc1782e feat(control-utils): better typing for control configs (#595)
* feat(control-utils): better typing for control configs

* Optimize ControlPanelActions

* Add control panel config

* More robust typing for SelectControl

* Support formData, add typing for BigNumber
2021-11-26 11:46:25 +08:00
Phillip Kelley-Dotson
297343ec6e add emotion styling to chord (#578) 2021-11-26 11:46:25 +08:00
Phillip Kelley-Dotson
f6fa5ad65f chore(histogram): convert histogram css to emotion style (#572)
* convert Histogram to emotion styling

* remove old css
2021-11-26 11:46:25 +08:00
Phillip Kelley-Dotson
32802e740c chore: calender chart typography (#561)
* Not a component

* swith to emotion styled

* add proptypes to pass unit test

* fix

* fix: packackage.js

* Update Calendar.js
2021-11-26 11:46:25 +08:00
Evan Rusackas
e3fa24eede chore: publish v0.13.28 2021-11-26 11:46:25 +08:00
Ville Brofeldt
794c76bcd2 fix: annotation PropType for formula annotations (#594) 2021-11-26 11:46:25 +08:00
Evan Rusackas
7953441c1f chore: publish v0.13.27 2021-11-26 11:46:25 +08:00
Phillip Kelley-Dotson
153cb2f851 chore(legacy-plugin-chart-markup): add emotion styling to Markup chart (#567)
* add emotion styling to Markup chart

* Update package.json
2021-11-26 11:46:24 +08:00
dependabot-preview[bot]
69b90211aa build(deps): bump @vx/zoom from 0.0.196 to 0.0.197 (#575)
Bumps [@vx/zoom](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.196...v0.0.197)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:24 +08:00
dependabot-preview[bot]
abc2188419 build(deps): bump @vx/responsive from 0.0.196 to 0.0.197 (#577)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.196...v0.0.197)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:24 +08:00
dependabot-preview[bot]
6fc44848bd build(deps): bump @vx/clip-path from 0.0.196 to 0.0.197 (#581)
Bumps [@vx/clip-path](https://github.com/hshoff/vx) from 0.0.196 to 0.0.197.
- [Release notes](https://github.com/hshoff/vx/releases)
- [Changelog](https://github.com/hshoff/vx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hshoff/vx/compare/v0.0.196...v0.0.197)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:46:24 +08:00
Krist Wongsuphasawat
72c2b7afc0 feat(plugin-chart-choropleth-map): add package (#560)
* feat(plugin-chart-choropleth-map): scaffold and load map (#527)

* feat: add package

* feat: storybook working

* feat: load usa and world map

* refactor: clean up

* fix: remove test data

* refactor: utilize dynamic import

* build: remove unused dependencies

* fix: address pr comments

* fix: comment

* feat(plugin-chart-choropleth-map): add more country maps (#529)

* feat(plugin-chart-choropleth-map): add zooming (#528)

* feat: add zooming

* feat: can zoom in and out

* feat: add zoom controls

* refactor: extract controls

* fix: address comments

* feat(plugin-chart-choropleth-map): add encoding (#541)

* feat: add encoder

* feat: add encoding

* docs: add categorical

* fix: any

* docs: update storybook

* feat(plugin-chart-choropleth-map): add tooltip (#548)

* feat: support tooltip

* feat: support tooltip fields

* fix: default projection

* build: bump dependency

* build: update dependency

* build: mark private
2021-11-26 11:46:23 +08:00
Krist Wongsuphasawat
c966fc41a9 chore: publish v0.13.26 2021-11-26 11:46:22 +08:00
Jesse Yang
a39a058919 feat(superset-ui-style): export ThemeProvider and useTheme (#553) 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
38c424c09e chore: publish v0.13.24 2021-11-26 11:46:21 +08:00
Evan Rusackas
72cc39b4e0 feat: Word cloud typography update (#518)
* feat: adding style package for Emotion support

* importing supersetTheme

* using theme (directly)

* updating encoder with direct font implementation

* fixing query bug!

* remove groupby

* using theme via Emotion for type styles - various TS-driven refactoring

* bug: whoops, this file is effectively a duplicate!

* cleaning up package paths.

* another relative path

* nixing debug junk
2021-11-26 11:46:21 +08:00
erik_ritter
a77029fe4d chore: publish v0.13.23 2021-11-26 11:46:21 +08:00
Jesse Yang
c8cec08c29 chore: clean up useless file 2021-11-26 11:46:21 +08:00
Erik Ritter
93212e9798 fix: nvd3 annotation tooltip (#540) 2021-11-26 11:46:21 +08:00
Evan Rusackas
21ebb5be7a chore: publish v0.13.22 2021-11-26 11:46:21 +08:00