Commit Graph

700 Commits

Author SHA1 Message Date
Jesse Yang
4674748047 refactor(chart-controls): optimize typing (#998) 2021-11-26 11:46:58 +08:00
Ville Brofeldt
3d2533883d chore: publish v0.17.16 2021-11-26 11:46:58 +08:00
Yongjie Zhao
fc149ced49 fix: show question mark icon when can not infer datatype (#1001) 2021-11-26 11:46:58 +08:00
Ville Brofeldt
2ebd31bb16 chore: publish v0.17.15 2021-11-26 11:46:57 +08:00
Ville Brofeldt
a1093df021 feat(core): add extra form data fields for native filters (#992)
* feat(core): implement time grain and column filters

* add apply_fetch_values_predicate to QueryObject

* clean up extract types and fix tests
2021-11-26 11:46:57 +08:00
Victor Malai
2625698f1f feat: change font size on responsive for sankey and sunburst chart (#977)
* feat: change font size on responsive

* remove logs

* Sunburst

* WIP

* Sankey label hide

* Format correct object

* add styled components

* Replace document with container

* Return overlapping elements

* Drag

* Fix lint

* Fix test & make tooltip absoliute based on cursor position

* Update storybook for charts

* Resizable in separate page

* Fix responsive class for sunburst

* type
2021-11-26 11:46:57 +08:00
Victor Malai
e67064e952 feat: responsive heatmap (#989)
* feat: responsive heatmap

* Rotate labels

* Update story for heatmap chart

* Add for withNullData chart

* Resizable
2021-11-26 11:46:57 +08:00
simcha90
103f8e41d9 feat: add BE pagination to table with pages (#985) 2021-11-26 11:46:57 +08:00
Ville Brofeldt
15be1fa71d chore: publish v0.17.14 2021-11-26 11:46:57 +08:00
Kamil Gabryjelski
93b0c18ce4 fix: rename DnD types to match component names in Superset (#988) 2021-11-26 11:46:57 +08:00
ʈᵃᵢ
01b705420e refactor(SupersetClient): use new /api/v1/security/csrf_token/ endpoint (#980) 2021-11-26 11:46:57 +08:00
Ville Brofeldt
0f8df43a9b feat(core): copy feature flags from main repo (#982) 2021-11-26 11:46:56 +08:00
Kamil Gabryjelski
b2020076da feat: implement Filter dnd (#978) 2021-11-26 11:46:56 +08:00
Ville Brofeldt
a4efedb47d chore: publish v0.17.13 2021-11-26 11:46:56 +08:00
simcha90
0e0f67a778 feat(self-trigger): add backend pagination for the table (#959)
* feat: add backend pagination for the table

* fix: fix first render next button

* refactor: fix CR notes

* fix: fix CR notes

* refactor: fix CR notes

* chore: add description

* refactor: add behavior property to ChartProps.ts
2021-11-26 11:46:56 +08:00
Yongjie Zhao
2289c1e751 chore: publish v0.17.12 2021-11-26 11:46:56 +08:00
Yongjie Zhao
89c7d1d1ae feat: add dropGroupByControl (#967)
* feat: add dropGroupByControl

* control rename to DndColumnSelectControl

* add DND feature flag

* wip

* fix lint

* duplicate dnd control
2021-11-26 11:46:56 +08:00
Jesse Yang
f192e0926c chore: publish v0.17.11 2021-11-26 11:46:56 +08:00
Jesse Yang
61c2f0d97d fix(chart-controls): expose datasource for some controls (#969) 2021-11-26 11:46:56 +08:00
Jesse Yang
20e8c07587 refactor(chart-controls): improve typing and file organization (#962) 2021-11-26 11:46:55 +08:00
Ville Brofeldt
e59f9ed459 chore: publish v0.17.10 2021-11-26 11:46:55 +08:00
Mayur
d47f6ceeae feat(plugin-chart-echarts): add graph echart (#918) 2021-11-26 11:46:55 +08:00
Mayur
9357d2bd82 fix(legacy-plugin-chart-pivot-table): fix displaying image inside rows (#954)
* fix

* lint

* lint

* complete fix

* remove log

* Add storybook entry for html

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-11-26 11:46:55 +08:00
Ville Brofeldt
ef46c2ed67 chore: publish v0.17.9 2021-11-26 11:46:54 +08:00
Amit Miran
b45cc00c22 feat(core): add custom_params to form_data (#929)
* feat(core): add custom_params to form_data

* Update packages/superset-ui-chart-controls/src/sections.tsx

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>

* Update packages/superset-ui-chart-controls/src/sections.tsx

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-11-26 11:46:54 +08:00
Ville Brofeldt
90e6a6fc4e chore: publish v0.17.8 2021-11-26 11:46:54 +08:00
simcha90
25a98fba97 feat(core): expand native filter hook and add chart metadata fields (#943)
* refactor: update setExtraFormData hook / change isNativeFilter Property / remove native filters

* refactor: clear storybook

* refactor: update type place

* refactor: add dasourceCount property

* refactor: fix CR notes
2021-11-26 11:46:54 +08:00
Ville Brofeldt
74d02a31e5 chore: publish v0.17.7 2021-11-26 11:46:54 +08:00
Ville Brofeldt
1816c7e731 chore: publish v0.17.6 2021-11-26 11:46:53 +08:00
Jesse Yang
2a4cc71870 chore: publish v0.17.5 2021-11-26 11:46:53 +08:00
Jesse Yang
ea63b7cf8e fix(plugin-chart-table): always sort descending by first metric (#935) 2021-11-26 11:46:53 +08:00
Ville Brofeldt
92ce2379ac chore: publish v0.17.4 2021-11-26 11:46:53 +08:00
dependabot-preview[bot]
51a76628be build(deps): bump @storybook/addon-knobs from 5.3.18 to 6.1.15 (#924)
Bumps [@storybook/addon-knobs](https://github.com/storybookjs/storybook/tree/HEAD/addons/knobs) from 5.3.18 to 6.1.15.
- [Release notes](https://github.com/storybookjs/storybook/releases)
- [Changelog](https://github.com/storybookjs/storybook/blob/next/CHANGELOG.md)
- [Commits](https://github.com/storybookjs/storybook/commits/v6.1.15/addons/knobs)

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:52 +08:00
Jesse Yang
00b475e848 chore: publish v0.17.3 2021-11-26 11:46:52 +08:00
Ville Brofeldt
d667c9fa49 chore: publish v0.17.2 2021-11-26 11:46:52 +08:00
Kamil Gabryjelski
83c0efe0bc fix(chart-controls): add a tooltip to span in ColumnOption, refactor RB Tooltips to Antd (#914)
* fix(chart-controls): add a tooltip to span in ColumnOption

* Fix unit test

* Change placement of tooltip to top

* Change Tooltip placement type

* Allow to override tooltip color and style

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@polidea.com>
2021-11-26 11:46:52 +08:00
Jesse Yang
0c06163c28 chore: publish v0.17.1 2021-11-26 11:46:52 +08:00
Jesse Yang
1846be099b feat(core): add orderby to extractQueryFields (#919) 2021-11-26 11:46:52 +08:00
dependabot-preview[bot]
60220d56c1 build(deps): bump core-js from 3.6.5 to 3.8.3 (#911)
Bumps [core-js](https://github.com/zloirock/core-js) from 3.6.5 to 3.8.3.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.6.5...v3.8.3)

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:51 +08:00
Jesse Yang
1ca3cabc24 chore: publish v0.17.0 2021-11-26 11:46:51 +08:00
Jesse Yang
75298ecda3 refactor(plugin-chart-table): migrate to API v1 (#889) 2021-11-26 11:46:51 +08:00
dependabot-preview[bot]
987bc30008 build(deps): bump @vx/responsive from 0.0.197 to 0.0.199 (#780)
Bumps [@vx/responsive](https://github.com/hshoff/vx) from 0.0.197 to 0.0.199.
- [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.199)

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:51 +08:00
dependabot-preview[bot]
39acf658b3 build(deps-dev): bump @types/fetch-mock from 6.0.5 to 7.3.3 (#898)
Bumps [@types/fetch-mock](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/fetch-mock) from 6.0.5 to 7.3.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/fetch-mock)

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:50 +08:00
Ville Brofeldt
6db9aef217 chore: publish v0.16.9 2021-11-26 11:46:50 +08:00
Ville Brofeldt
54948a091d feat(plugin-chart-echarts): add legend customization options (#833) 2021-11-26 11:46:50 +08:00
Victor Malai
bee49e7d4b feat(plugin-chart-echarts): Add xAxis label format && showMin and showMax labels (#894)
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-11-26 11:46:49 +08:00
Evan Rusackas
cf42782fff chore: publish v0.16.8 2021-11-26 11:46:49 +08:00
Evan Rusackas
fb537807d2 chore: publish v0.16.7 2021-11-26 11:46:49 +08:00
Jesse Yang
d8e1bbb9dd chore: upgrade eslint and babel (#892) 2021-11-26 11:46:49 +08:00
Phillip Kelley-Dotson
6bc19899fa chore: publish v0.16.6 2021-11-26 11:46:48 +08:00
Ville Brofeldt
c0a9fb7ad3 chore: publish v0.16.4 2021-11-26 11:46:48 +08:00
Kamil Gabryjelski
c0e4d82fe7 fix(core): 'AND undefined' error in sql query (#886)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@polidea.com>
2021-11-26 11:46:48 +08:00
Ville Brofeldt
bc3aee258b chore: publish v0.16.3 2021-11-26 11:46:47 +08:00
simchaNielsen
16225132c2 chore(core): remove queryData and replace with queriesData (#874)
* feat: remove single queryData from api

* feat: migrate old plugins to queriesData api property

* test: fix tests

* test: fix tests

* fix: fix storybook

* lint: fix lint

* refactor: fix CR notes

* refactor: remove queryData from Chart Provider
2021-11-26 11:46:47 +08:00
Jesse Yang
b9b7f767df chore: publish v0.16.2 2021-11-26 11:46:47 +08:00
Jesse Yang
ddfcb47dd1 chore: publish v0.16.1 2021-11-26 11:46:47 +08:00
Jesse Yang
55ee542813 refactor: remove queryFields from formData and improve typing (#862) 2021-11-26 11:46:47 +08:00
Ville Brofeldt
dbe6df6044 chore: publish v0.16.0 2021-11-26 11:46:46 +08:00
Jesse Yang
ba067bcaa0 test: disable Chromatic for VerifyCORS (#864) 2021-11-26 11:46:46 +08:00
Ville Brofeldt
4e39e9e683 chore(chart-controls): remove dedicated time section (#869) 2021-11-26 11:46:46 +08:00
David Aaron Suddjian
43a72919d6 chore: publish v0.15.19 2021-11-26 11:46:46 +08:00
David Aaron Suddjian
e794063a3a feat: introduce shared modules logic (#871)
* feat: introduce shared modules logic

* organize imports

* Revert "organize imports"

This reverts commit bd26a80d3fe387929a2632aa39292cb56b0cba8f.

* add tests
2021-11-26 11:46:46 +08:00
Evan Rusackas
cb52d87fe4 chore: publish v0.15.18 2021-11-26 11:46:46 +08:00
Mario Scriminaci
b96586b0a9 fix: add fetchRetryOptions in SupersetClientClass.request method (#867)
Co-authored-by: mario.scriminaci <mario.scriminaci+jira@contentwise.com>
2021-11-26 11:46:46 +08:00
Jesse Yang
05f335477d test: use stable random for stories (#861)
* test: use stable random for stories

* Seed with superset-ui

* Add tests for random
2021-11-26 11:46:46 +08:00
Jesse Yang
286255d85a build: remove nimbus (#847) 2021-11-26 11:46:46 +08:00
Evan Rusackas
2a9dd04b5f chore: publish v0.15.17 2021-11-26 11:46:45 +08:00
ʈᵃᵢ
d995eaaa97 ci: add chromatic visual testing step (#849) 2021-11-26 11:46:45 +08:00
Ville Brofeldt
8c4c4ef020 feat(plugin-chart-echarts): bump to version 5.0 (#852)
merge to test feat: Results table on Explore view #11854
2021-11-26 11:46:45 +08:00
Ville Brofeldt
a6d8f57bce fix(demo): add antd css and implement action hook (#851) 2021-11-26 11:46:45 +08:00
Evan Rusackas
741ea10ad4 refactor: Relocating/renaming various chart controls (#836)
* refactor: relocating/renaming various chart controls

* typo

* Reverting to "additional metadata"
2021-11-26 11:46:45 +08:00
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
ad60fddccb chore: publish v0.15.14 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
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
Ville Brofeldt
dc1f82dfce fix: point version badge to npm page (#821) 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
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
Ville Brofeldt
43dca9e46d chore: publish v0.15.11 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
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
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
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
Jesse Yang
c79649328a chore: publish v0.15.3 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
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
Jesse Yang
6ac6880fd9 feat: make GET request work for fetchExploreJson, closes #668 (#777) 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
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
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
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
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
Ville Brofeldt
5dd6e66fff chore: publish v0.14.21 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
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
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
Jesse Yang
da59465122 chore: publish v0.14.16 2021-11-26 11:46:35 +08:00
Ville Brofeldt
cc73ad9930 chore: publish v0.14.15 2021-11-26 11:46:34 +08:00
Ville Brofeldt
0e16cbbeb9 fix(query): equals operator, duplicate filters and time range endpoints (#700)
* fix(query): correct equals operator and duplicate filters

* add time range endpoints
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
67a0543bff chore: publish v0.14.13 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
4b6aa112ba feat(legacy-time-table): add time table to storybook (#680)
* add chart info and update package

* add data

* add more data?

* remove consoles

* remove console
2021-11-26 11:46:33 +08:00
dependabot-preview[bot]
5ff6c30ff1 build(deps): bump fetch-retry from 3.1.0 to 4.0.1 (#664)
Bumps [fetch-retry](https://github.com/jonbern/fetch-retry) from 3.1.0 to 4.0.1.
- [Release notes](https://github.com/jonbern/fetch-retry/releases)
- [Commits](https://github.com/jonbern/fetch-retry/compare/3.1.0...4.0.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:33 +08:00
dependabot-preview[bot]
6f420792bb build(deps-dev): bump fork-ts-checker-webpack-plugin from 4.1.6 to 5.0.7 (#671)
Bumps [fork-ts-checker-webpack-plugin](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin) from 4.1.6 to 5.0.7.
- [Release notes](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/releases)
- [Changelog](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/compare/v4.1.6...v5.0.7)

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:33 +08:00
Evan Rusackas
2fd0caa201 chore: publish v0.14.10 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
18dfdd2a5a feat(query): add makeApi API generator (#666) 2021-11-26 11:46:32 +08:00
Jesse Yang
ba8c619c2e feat(connection): optimize typing and API for SupersetClient (#635) 2021-11-26 11:46:31 +08:00
Jesse Yang
ddd9fb46c7 feat(connection): easier API for json payload (#634) 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
Evan Rusackas
f96e617e3e chore: publish v0.14.7 2021-11-26 11:46:31 +08:00
Evan Rusackas
fb69984857 feat: updated viz plugin generator (#636)
* feat: hello world plugin

* Fix yeoman generator

* Adding Emotion to template and template result

* adding `reactify` technique to example code

* fixing errant comma

* annoying lint issue

* React needed for JSX

* questionable typing fix

* labelling options

* freshly generated hello world

* linting and freshly generated plugin

* add comments to buildQuery

* Add docs

* nixing word cloud console logs

* lint annoyance

* a note on multiple plugin exports

* second option for building a plugin is now enabled

* Officially supporting viz plugins ;)

* fresh plugin build

* Adding note about controls,  and TODOs for example controls

* linting

* new lock file

* adding file structure to readme

* more transform props notes

* better notes, better linting

* Adding a third option for rendering plugin

* fresh package rendering

* manually updated plugin. Now let's see if the generator matches it!

* template changes, fresh plugin render.

* moving file tree to the right place

* touchups to template (killing third option)

* thumbnail update

* Spit out form data, for good measure.

* more clarity

* dummy controls

* bold control works, fresh docs, fresh build!

* typing for fancy props

* bump superset-ui deps to 0.14

* Implement header text and font size

* Add tests + mcense headers + inor cleanup

* Replace YourPluginName with packageLabel in README

* remove trailing spaces

* fix hard coded reference to HelloWorld

* removing legacy generators

* plugin comment tweaks

* typescript comments, minor formatting

* adding option for badges in readme

* generator offers choice of function or class plugin

* Add timeseries option

* killing the plugin... we'll make that a separate PR.

* add new tests

* remove unnecessary imports

* fix timeseries type

* comment on value/label in select options

Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>

* moving renderTrigger note up to first instance

* control-utils -> chart-controls

* Wrapper -> Styles nomenclature

* Stronger typing (H/T @ktmud)

* ControlPanelConfig type on control config

* nixing requiresTime

* moving Styles component to be external, passing it props

* lint nits

* typing tweak

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
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
erik_ritter
b2f4db4f9b chore: publish v0.14.4 2021-11-26 11:46:30 +08:00
Evan Rusackas
313d9daa94 chore: publish v0.14.3 2021-11-26 11:46:29 +08:00
Lily Kuang
c0bdeb8d92 add opacity and zIndex variables to theme (#632) 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
Maxime Beauchemin
2a28128f55 fix: got one color wrong when copy pasting (#624) 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
Jesse Yang
6639b24563 refactor(control-utils): reorganize files and refine typing (#610) 2021-11-26 11:46:27 +08:00
Jesse Yang
269a7df3e6 chore: upgrade @types/react (#613) 2021-11-26 11:46:27 +08:00
Evan Rusackas
2ebc9e6940 chore: publish v0.13.30 2021-11-26 11:46:27 +08:00
Maxime Beauchemin
8cc4399815 feat: import theme colors (#601) 2021-11-26 11:46:27 +08:00
Jesse Yang
e5feefe035 build: optimize storybook config (#600)
- Output minimal webpack stats only when in development mode
- Separate type checking and build, so failed typing does not block
  `yarn sb` watch rebuild
- Rearrange addon loading order so knobs can appear as the first tab
2021-11-26 11:46:26 +08:00
Evan Rusackas
20871d60a5 chore: publish v0.13.29 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
Maxime Beauchemin
2d317774d6 feat: add color pallettes defined in SIP-34 (#597) 2021-11-26 11:46:25 +08:00
Evan Rusackas
e3fa24eede chore: publish v0.13.28 2021-11-26 11:46:25 +08:00
Phillip Kelley-Dotson
ac90efaa40 chore(superset-ui-control-uitils): add MetricOption and dependencies to control utils (#593)
* feat: metric option added to control utils

* add test

* Add MetricOptions to superset-ui control utils and fix tests

* add suggestions

* Update packages/superset-ui-control-utils/test/components/InfoTooltipWithTrigger.test.tsx

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

* remove prop assignments

* fix lint

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-11-26 11:46:25 +08:00
Evan Rusackas
7953441c1f chore: publish v0.13.27 2021-11-26 11:46:25 +08:00
Jesse Yang
5e3c6a9ee8 style(control-utils): fix type reexport warning in babel (#586) 2021-11-26 11:46:25 +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
Ville Brofeldt
9955156265 feat(query): add new fields to QueryContext and QueryObject (#583)
* feat: add new fields to QueryContext and QueryObject

* linting

* remove change to package.json
2021-11-26 11:46:24 +08:00
Krist Wongsuphasawat
d277421124 feat(query): add more query wrappers (#570)
* feat: add more api wrappers

* test: add unit tests
2021-11-26 11:46:24 +08:00
dependabot-preview[bot]
1fd72d53e0 build(deps): bump gh-pages from 2.2.0 to 3.0.0 (#565)
Bumps [gh-pages](https://github.com/tschaub/gh-pages) from 2.2.0 to 3.0.0.
- [Release notes](https://github.com/tschaub/gh-pages/releases)
- [Changelog](https://github.com/tschaub/gh-pages/blob/master/changelog.md)
- [Commits](https://github.com/tschaub/gh-pages/compare/v2.2.0...v3.0.0)

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:23 +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
Krist Wongsuphasawat
9a53bdfb68 feat(query): add functions to wrap api calls with typings (#555)
* feat: add function to wrap api calls

* feat: add function to wrap api calls with returned type

* fix: remove deprecated

* fix: rename

* test: add unit test

* test: add unit tests
2021-11-26 11:46:22 +08:00
Jesse Yang
5adb9aaa43 feat(demo): add helpers for resizable chart demo (#557) 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
Jesse Yang
be31aa4997 Revert "feat(superset-ui-style): export ThemeProvider and useTheme from emotion-theming"
This reverts commit 2e760e3d5425c903ec33cce94803f5bd9695c675.
2021-11-26 11:46:22 +08:00
Jesse Yang
87f00900ca feat(superset-ui-style): export ThemeProvider and useTheme from emotion-theming 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
b3dbd0ec75 chore: publish v0.13.25 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
0a48d6e774 feat(connection): allow developer to get supersetclient instance (#552) 2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
bdb0f50874 feat(chart): adjust chartclient to point to new endpoints (#551)
* feat: adjust to new endpoints

* fix: unit tests

* fix: tests

* fix: unit tests

* fix: remove unused
2021-11-26 11:46:22 +08:00
Krist Wongsuphasawat
38c424c09e chore: publish v0.13.24 2021-11-26 11:46:21 +08:00
Krist Wongsuphasawat
f2a053b034 feat(color): support better color interpolation for sequential schemes (#547)
* feat: update functions

* test: add unit tests

* fix: unit tests

* fix: address comments and use piecewise
2021-11-26 11:46:21 +08:00
Evan Rusackas
21ebb5be7a chore: publish v0.13.22 2021-11-26 11:46:21 +08:00
Krist Wongsuphasawat
17075ae021 feat(time-format): improve support for formatting with granularity in mind (#509)
* feat(time-format): add support for granularity

* feat: create time range from granularity

* fix: update format

* wip

* feat: refactor getFormatter

* feat: reconcile api

* test: add unit tests

* refactor: clean up

* refactor: createTime

* refactor: improve end time computation to be daylight saving compatible
2021-11-26 11:46:20 +08:00
Jesse Yang
4cbc751ed8 chore: publish v0.13.21 2021-11-26 11:46:19 +08:00
Jesse Yang
843ed92d21 chore(legacy-plugin-chart-table): cleanup fromFormData (#521) 2021-11-26 11:46:19 +08:00
Krist Wongsuphasawat
ae6a1bbefb feat(legacy-plugin-chart-event-flow): migrate package (#514) 2021-11-26 11:46:19 +08:00
David Aaron Suddjian
ddc8ac983e chore: publish v0.13.20 2021-11-26 11:46:19 +08:00
Evan Rusackas
b3d6df740d chore: publish v0.13.19 2021-11-26 11:46:19 +08:00
Evan Rusackas
d66daa6578 chore: publish v0.13.18 2021-11-26 11:46:18 +08:00
Evan Rusackas
b6931fbcd6 feat(legacy-preset-big-number): use emotion styling (#455)
* chore(release): publish v0.13.7

* Revert "chore(release): publish v0.13.7"

This reverts commit 3c9ce9ed4c46f9a52fd78bd9b43732803e93c0ac.

* Revert "chore(release): publish v0.13.6"

This reverts commit 0e6e829beba0df62a717601b20fdd790ebf49714.

* feat: poc using style package in big-number

* ThemeProvider decorator

* removing other themeProvider stuff (no longer needed)

* just adding a note to the readme that this stuff works out of the box.

* bumps n deps

* BigNumber using theme bits... in theory

* wordCloud using theme bits

* bumping packages again

* fixing dependencies

* moving style package to peer deps to fix some SUPER annoying errors

* nixing css style, to let Emotion do the talking

* moving wordCloud to style pkg to peerDeps.

* Nixing CSS file, putting all the styles in one place at export

* condensing imports

* nixing extraneous package

* getting emotion stuff out of word cloud for now (that's another PR!)

Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
2021-11-26 11:46:18 +08:00