Commit Graph

3590 Commits

Author SHA1 Message Date
Krist Wongsuphasawat
14b7ad4dea chore: publish v0.15.16 2021-11-26 11:46:45 +08:00
Krist Wongsuphasawat
778a7a5865 fix(legacy-preset-chart-nvd3): time compare and stacked area tooltips (#850)
* fix: time compare tooltip

* refactor: create separate function

* refactor: remove fn

* fix: area chart tooltip
2021-11-26 11:46:45 +08:00
Ville Brofeldt
317ee2289e chore: publish v0.15.15 2021-11-26 11:46:44 +08:00
simchaNielsen
250589fa27 feat: support multi queries request (#846)
* feat: support multi queries request

* chore: add comment according CR
2021-11-26 11:46:44 +08:00
Ville Brofeldt
a52cd691f0 feat: native filter components (#840)
* feat: add AntD filter components

* add missing files

* add filter hook

* fix hook name

* required thumbnail

* add native filters to where clause

* add isNativeFilter flag to ChartMetadata

* rename native_filters to extra_form_data

* lint

* move hook to SuperChart props

* add NOOP default to setSelectedValues

* replace extra_form_data with override_ and append_

* add support for appending freeform where

* address review comments

* Add default values

* Update packages/superset-ui-core/test/query/processExtraFormData.test.ts

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update packages/superset-ui-core/test/query/processExtraFormData.test.ts

Co-authored-by: Evan Rusackas <evan@preset.io>

* add storybook entry and change width to 100%

* add placeholder

* add default thumbnails

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-11-26 11:46:44 +08:00
ʈᵃᵢ
c527f55e99 feat: add rison request type to makeApi (#843) 2021-11-26 11:46:44 +08:00
Ville Brofeldt
6a42164a57 fix(legacy-plugin-chart-pivot-table): remove nulls from table (#839) 2021-11-26 11:46:44 +08:00
Ville Brofeldt
ad60fddccb chore: publish v0.15.14 2021-11-26 11:46:44 +08:00
Ville Brofeldt
2a81e9fb23 chore: bump mathjs to latest version on all plugins (#832) 2021-11-26 11:46:44 +08:00
Jesse Yang
b351e3de08 chore: publish v0.15.13 2021-11-26 11:46:44 +08:00
Ville Brofeldt
8bfaf4eb0e feat(plugin-chart-echarts): implement event interval and timeseries annotations (#828) 2021-11-26 11:46:44 +08:00
Jesse Yang
5f5e275279 feat(legacy-plugin-chart-sankey): allow sort by metric (#831) 2021-11-26 11:46:44 +08:00
Jesse Yang
3f20f0b5f4 chore(chart-controls): clean up typing (#825)
After recent changes to chart controls in Superset, some typing has become obsolete. Let's clean it up.
2021-11-26 11:46:43 +08:00
dependabot-preview[bot]
c457db93e9 build(deps): bump xss from 1.0.6 to 1.0.8 (#824)
Bumps [xss](https://github.com/leizongmin/js-xss) from 1.0.6 to 1.0.8.
- [Release notes](https://github.com/leizongmin/js-xss/releases)
- [Changelog](https://github.com/leizongmin/js-xss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/leizongmin/js-xss/compare/v1.0.6...v1.0.8)

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:43 +08:00
Ville Brofeldt
dc1f82dfce fix: point version badge to npm page (#821) 2021-11-26 11:46:43 +08:00
Ville Brofeldt
f1a6e964e1 chore: bump yarn.lock (#826) 2021-11-26 11:46:43 +08:00
dependabot-preview[bot]
7cb79b3e60 build(deps): bump @types/lodash from 4.14.157 to 4.14.164 (#822)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.157 to 4.14.164.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)

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:43 +08:00
Ville Brofeldt
7a8275e08c fix(plugin-chart-echarts): fix broken boxplot storybook example (#823) 2021-11-26 11:46:43 +08:00
Ville Brofeldt
6ee2c9af88 chore: publish v0.15.12 2021-11-26 11:46:43 +08:00
Ville Brofeldt
387c863682 feat(plugin-chart-echarts): make groupby optional (#820) 2021-11-26 11:46:43 +08:00
dependabot-preview[bot]
7b212eacb3 build(deps): bump react-table from 7.2.1 to 7.6.1 (#814)
Bumps [react-table](https://github.com/tannerlinsley/react-table) from 7.2.1 to 7.6.1.
- [Release notes](https://github.com/tannerlinsley/react-table/releases)
- [Changelog](https://github.com/tannerlinsley/react-table/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tannerlinsley/react-table/compare/v7.2.1...v7.6.1)

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:43 +08:00
Ville Brofeldt
06ef549122 feat(plugin-chart-echarts): add support for formula annotations (#817)
* feat(plugin-chart-echarts): add support for formula annotations

* address comments
2021-11-26 11:46:43 +08:00
Erik Ritter
85f9cdad0a feat: update time_compare description and choices (#818)
* feat: update time_compare description and choices

* Update NVD3Controls.tsx

* Update controlPanel.jsx
2021-11-26 11:46:42 +08:00
Ville Brofeldt
43dca9e46d chore: publish v0.15.11 2021-11-26 11:46:42 +08:00
Ville Brofeldt
fb30d687b7 fix(plugin-chart-echarts): improve yAxisBounds parsing (#815) 2021-11-26 11:46:42 +08:00
Ville Brofeldt
1d8f559feb fix(plugin-chart-echarts): disable pie chart animation (#816) 2021-11-26 11:46:42 +08:00
Ville Brofeldt
0e20d157df chore: publish v0.15.10 2021-11-26 11:46:42 +08:00
Ville Brofeldt
757854b6a9 feat(core): add support for annotations and url params (#812)
* feat(core): add support for annotations and url params

* add type guards
2021-11-26 11:46:42 +08:00
Ville Brofeldt
5217f11902 chore: publish v0.15.9 2021-11-26 11:46:42 +08:00
Ville Brofeldt
fdd806723b fix(plugin-chart-echarts): fix default y axis bounds (#810) 2021-11-26 11:46:42 +08:00
Ville Brofeldt
88c98cf1a8 feat(core): add applied_time_extras to QueryObject (#809)
* feat(core): add applied_time_extras to QueryObject

* address review comments
2021-11-26 11:46:42 +08:00
Jesse Yang
16d14fd1f9 chore: publish v0.15.8 2021-11-26 11:46:42 +08:00
Jesse Yang
e5226c9757 fix(legacy-preset-chart-nvd3): custom yAxisFormat for contribution (#808) 2021-11-26 11:46:41 +08:00
Ville Brofeldt
aec2d54b5f chore: publish v0.15.7 2021-11-26 11:46:41 +08:00
Ville Brofeldt
adaa5f89e6 fix(plugin-chart-echarts): improve ECharts visuals (#806)
* feat(plugin-chart-echarts): add truncate y-axis feature

* fix(plugin-chart-echarts): improve ECharts visuals

* add desc ordering

* address comments

* simplify isNaN check
2021-11-26 11:46:41 +08:00
Ville Brofeldt
601af08ce9 chore: publish v0.15.6 2021-11-26 11:46:41 +08:00
Ville Brofeldt
a8a910f516 chore(plugin-chart-echarts): rename boxplot type to whisker_type (#804) 2021-11-26 11:46:41 +08:00
Ville Brofeldt
ae3132892b chore: publish v0.15.5 2021-11-26 11:46:41 +08:00
Ville Brofeldt
88acb6ba9d feat(plugin-chart-echarts): add BoxPlot chart (#801)
* feat(plugin-chart-echarts): add BoxPlot chart

* make headline stand out

* address comments
2021-11-26 11:46:41 +08:00
Ville Brofeldt
f9c7d3594d fix(generator-superset): add fixes to viz plugin generator (#803)
* fix(generator-superset): regressions in viz plugin generator

* address comments
2021-11-26 11:46:41 +08:00
Ville Brofeldt
fe2b871a10 chore: publish v0.15.4 2021-11-26 11:46:41 +08:00
Ville Brofeldt
5d70fd3946 fix(plugin-chart-echarts): fix incorrect groupby in buildQuery (#800) 2021-11-26 11:46:41 +08:00
Evan Rusackas
3c7320eb10 fix: copying controls from Sankey to Sankey Loop (#797) 2021-11-26 11:46:41 +08:00
Jesse Yang
c79649328a chore: publish v0.15.3 2021-11-26 11:46:40 +08:00
Ville Brofeldt
66e681cbab feat(plugin-chart-echarts): add more robust formatting for series (#783) 2021-11-26 11:46:40 +08:00
Ville Brofeldt
e71af2f2b1 fix(plugin-chart-word-cloud): make colors schemes work (#788) 2021-11-26 11:46:40 +08:00
Jesse Yang
9c427f087a chore: add more props to DatasourceMeta for chart-controls (#786)
* chore: add id prop to chart-control DatasourceMeta

* add more fields
2021-11-26 11:46:40 +08:00
Ville Brofeldt
e918c04090 feat(plugin-chart-echarts): remove loading from timeseries tooltip (#787) 2021-11-26 11:46:40 +08:00
ʈᵃᵢ
ec1a1a2ec5 fix: update lineMulti when queryData changes (#782) 2021-11-26 11:46:40 +08:00
Jesse Yang
88595dce96 chore: update pacakge version on generator template 2021-11-26 11:46:40 +08:00
Jesse Yang
5a91f0a043 chore: publish v0.15.2 2021-11-26 11:46:40 +08:00
dependabot-preview[bot]
2f28131377 build(deps): [security] bump markdown-to-jsx from 6.11.0 to 6.11.4 (#773)
Bumps [markdown-to-jsx](https://github.com/probablyup/markdown-to-jsx) from 6.11.0 to 6.11.4. **This update includes a security fix.**
- [Release notes](https://github.com/probablyup/markdown-to-jsx/releases)
- [Commits](https://github.com/probablyup/markdown-to-jsx/compare/6.11.0...6.11.4)

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:40 +08:00
Ville Brofeldt
2169a0b37e feat: implement ECharts pie chart (#772) 2021-11-26 11:46:40 +08:00
Jesse Yang
6ac6880fd9 feat: make GET request work for fetchExploreJson, closes #668 (#777) 2021-11-26 11:46:39 +08:00
Jesse Yang
4004eaa281 chore: move all superset-ui/core deps out of peerDependencies (#779) 2021-11-26 11:46:39 +08:00
dependabot-preview[bot]
99777a0edc build(deps): bump @types/jest from 26.0.4 to 26.0.13 (#766)
Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.4 to 26.0.13.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

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:39 +08:00
Jesse Yang
4a3e11c47c chore: publish v0.15.1 2021-11-26 11:46:39 +08:00
Jesse Yang
104c1b597a fix: add back nvd3 missing css (#776) 2021-11-26 11:46:39 +08:00
Jesse Yang
1862341226 refactor: convert legacy-plugin-chart-event-flow to typescript (#771)
* refactor: convert legacy-plugin-chart-event-flow to typescript

* retype TimeseriesDataRecord in ECharts
2021-11-26 11:46:39 +08:00
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
44a8dbfc1b chore: url prop for MetricOption should be optional (#775) 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
David Aaron Suddjian
9907d13063 fix(style): throw if there is no theme (#761)
* fix(style): throw if there is no theme

* tests

* factor out SupersetTheme type

* fix test
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
Ville Brofeldt
9f1aafa628 feat(color): add official ECharts color schemes (#751)
* feat(color): add echarts colors

* rename categorical schemes
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
Evan Rusackas
6ad0117a59 chore: silencing console errors by making things optional (#752) 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
erik_ritter
5e8f67ff5d chore: publish v0.14.22 2021-11-26 11:46:37 +08:00
Erik Ritter
3fa767582c feat: add certification icon to metrics (#748) 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
dependabot-preview[bot]
0ac877ddc3 build(deps): [security] bump lodash from 4.17.15 to 4.17.20 (#735)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.20. **This update includes security fixes.**
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.20)

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:37 +08:00
dependabot-preview[bot]
4de1eb9f34 build(deps): bump storybook-addon-jsx from 7.2.3 to 7.3.4 (#736)
Bumps [storybook-addon-jsx](https://github.com/storybookjs/addon-jsx) from 7.2.3 to 7.3.4.
- [Release notes](https://github.com/storybookjs/addon-jsx/releases)
- [Changelog](https://github.com/storybookjs/addon-jsx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/addon-jsx/compare/v7.2.3...v7.3.4)

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: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
Evan Rusackas
86eedab4d0 feat: logger supports console.table, with console.log fallback (#738)
* feat: logger.table

* applying Jesse's feedback

* missed a method
2021-11-26 11:46:36 +08:00
Jesse Yang
2fd1070a2e chore: update lock file 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
Jesse Yang
ac1f518c09 build: upgrade codecov-action and disable failing_ci_if_error (#723) 2021-11-26 11:46:36 +08:00
Evan Rusackas
4e5f69b24f feat: style pkg exports emotion's css module (#718) 2021-11-26 11:46:35 +08:00
erik_ritter
e82f2fbadb chore: publish v0.14.19 2021-11-26 11:46:35 +08:00
Erik Ritter
c24428643d fix: add timeout value to error details in rejectAfterTimeout (#715)
* fix: add timeout value to error details in rejectAfterTimeout

* Update callApiAndParseWithTimeout.test.ts
2021-11-26 11:46:35 +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