Commit Graph

746 Commits

Author SHA1 Message Date
Evan Rusackas
3a1aee7807 chore: adds Emotion's CacheProvider and createCache as exports from Core package (#1073)
* chore: adds CacheProvider and createCache to Core

* chore: re-exporting even more stuff!
2021-11-26 11:47:05 +08:00
Ville Brofeldt
20381251d3 chore: publish v0.17.38 2021-11-26 11:47:05 +08:00
Ville Brofeldt
a3bf281929 chore: publish v0.17.37 2021-11-26 11:47:05 +08:00
erik_ritter
58537efc3a chore: publish v0.17.36 2021-11-26 11:47:05 +08:00
Erik Ritter
cc25094b85 feat: add tooltip for full metric names (#1066) 2021-11-26 11:47:05 +08:00
Ville Brofeldt
ac6e73f58e chore: publish v0.17.35 2021-11-26 11:47:04 +08:00
Ville Brofeldt
935c3af326 chore: publish v0.17.34 2021-11-26 11:47:04 +08:00
Ville Brofeldt
7670a90836 feat(plugin-chart-echarts): add mixed timeseries chart (#1027)
* feat(plugin-chart-echarts): add multiple timeseries chart

* cleanup

* add storybook
2021-11-26 11:47:04 +08:00
Yongjie Zhao
18b1ef008d feat(plugin-chart-echarts): Radar chart POC (#1029)
* feat(plugin-chart-echarts): radar chart mvp

* fix TS error

* fix lint

* WIP

* fix cross-filter and CI

* rebase master

* remove unused control configuration

* Added period to the end of sentence.

* fix FE exception when changes dataset
2021-11-26 11:47:04 +08:00
Ville Brofeldt
8fe9269afe chore: publish v0.17.33 2021-11-26 11:47:04 +08:00
Ville Brofeldt
b0cd62ffb7 chore: publish v0.17.32 2021-11-26 11:47:03 +08:00
Ville Brofeldt
2f391ae082 chore(core): simplify ExtraFormData (#1053)
* chore(core): refactor ExtraFormData

* infer override keys from mappings and remove redundant time_range

* rename cross to interactive

* rename CROSS_FILTER to INTERACTIVE_CHART

* remove ts-ignore
2021-11-26 11:47:03 +08:00
Kamil Gabryjelski
9b6f23d3a7 feat(viz): Pivot table chart POC (#1023)
* feat(plugin-chart-pivot-table): add new plugin

* Implement pivot table chart

* Toggle display of grand totals

* Update table viz name

* Minor changes

* Update types

* Implement transpose pivot

* Keep the original order of metrics when sorting

* Use D3 value formatting

* Fix type error

* Explicitly cast payload to JsonObject to fix type error

* Fix tests

* Update react-pivottable dependency

* Solve merge conflicts

* Change thumbnail

* Replace console logs with TODO comments

* Implement z-a sorting

* Update README

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-26 11:47:03 +08:00
simcha90
1dc7538877 refactor(native-filters): Update dataMask structure (#1040)
* refactor: change own state

* refactor: change own state

* refactor: update TS for extra form data

* refactor: usage ownState in charts

* refactor: update dataMask (final)

* lint: update TS

* lint: update TS

* refactor: update table setDataMaskHook

* docs: fix comment
2021-11-26 11:47:03 +08:00
Jesse Yang
822ed0c978 chore: publish v0.17.31 2021-11-26 11:47:03 +08:00
Jesse Yang
cbaec13962 fix(legacy-plugin-chart-country-map): higher quality geojson and re-arrange controls (#1045) 2021-11-26 11:47:02 +08:00
Ville Brofeldt
6e01a25e35 chore: publish v0.17.30 2021-11-26 11:47:02 +08:00
Ville Brofeldt
ed87d473ee fix(plugin-chart-echarts): default to standard x-axis format (#1043) 2021-11-26 11:47:02 +08:00
Ville Brofeldt
7019e0a098 chore: publish v0.17.29 2021-11-26 11:47:02 +08:00
simcha90
05bd319e27 feat(native-filters): add AppSection type (#1038)
* feat: add place type

* refactor: fix CR notes

* docs: update comments

* fix: fix CR notes
2021-11-26 11:47:01 +08:00
Lily Kuang
803fd44dac feat(feature-flag): add ALERTS_ATTACH_REPORTS feature flag (#1042)
* add alert/report ALERTS_ATTACH_REPORTS feature flag

* fix lint
2021-11-26 11:47:01 +08:00
Kamil Gabryjelski
f4eeebf368 feat(plugin-chart-table): Implement showing totals (#1034)
* feat(plugin-chart-table): implement totals row

* Fix typo

* Fix totals with percentage metrics

* Code review fixes

* Use dnd with percentage metrics and sortby controls

* Make totals checkbox tooltip more descriptive

* Remove console.log

* Change totals tooltip

* Fix typing error

* Use array destructuring

* Fix typo
2021-11-26 11:47:01 +08:00
Jesse Yang
62906906a5 chore: publish v0.17.28 2021-11-26 11:47:01 +08:00
Ville Brofeldt
dfd2fda687 chore: publish v0.17.27 2021-11-26 11:47:01 +08:00
Amit Miran
e71d929034 feat: extra_jwt support to be used in dashboard_rbac (#1021)
* feat: extra_jwt support to be used in dashboard_rbac for BE validation of data-access based on dashboard access

* test: extra_jwt existence

* chore: extra_jwt in BaseFormData

* fix: add missing ff to enum

* fix: missing :

* chore: add extra_jwt to QueryContext

* Update QueryFormData.ts

* Update buildQueryContext.ts

* Update buildQueryContext.test.ts

* fix: text

* Update Query.ts

* Update QueryFormData.ts
2021-11-26 11:47:01 +08:00
Jesse Yang
943348b8bf chore: publish v0.17.26 2021-11-26 11:47:01 +08:00
Jesse Yang
6f3f377b43 fix(chart-controls): transform emotion css prop (#1036) 2021-11-26 11:47:01 +08:00
Jesse Yang
9b94f14416 chore: publish v0.17.25 2021-11-26 11:47:01 +08:00
Jesse Yang
cd5a95763d fix(chart-controls): export/import DTTM_ALIAS properly (#1035) 2021-11-26 11:47:00 +08:00
Jesse Yang
65d04d0ef5 chore: publish v0.17.24 2021-11-26 11:47:00 +08:00
Jesse Yang
090e3b1e91 feat(plugin-chart-table): add small number formatter (#1028)
* feat(plugin-chart-table): add small number formatter

* Fix basic storybook
2021-11-26 11:47:00 +08:00
erik_ritter
98d2502b53 chore: publish v0.17.23 2021-11-26 11:47:00 +08:00
Erik Ritter
75ef664c5d feat: add default series_limit (#1033) 2021-11-26 11:47:00 +08:00
Jesse Yang
a101117f9e feat(plugin-chart-table): add column config control (#1019) 2021-11-26 11:47:00 +08:00
Ville Brofeldt
6e7e02ec01 fix(generator-superset): update plugin template to 0.17 standards (#1013) 2021-11-26 11:47:00 +08:00
Phillip Kelley-Dotson
bb9fd65533 chore: publish v0.17.22 2021-11-26 11:47:00 +08:00
AAfghahi
9559a69d3f fix: incorporating ScheduleQueries into featureFlags (#1020) 2021-11-26 11:46:59 +08:00
erik_ritter
e446fa324c chore: publish v0.17.21 2021-11-26 11:46:59 +08:00
Erik Ritter
b354c15b00 fix: time formatter test (#1012) 2021-11-26 11:46:59 +08:00
Erik Ritter
9993b336ff feat: support warning_markdown on metrics (#1011) 2021-11-26 11:46:59 +08:00
Jesse Yang
5cb4a4161d chore: publish v0.17.20 2021-11-26 11:46:58 +08:00
Yongjie Zhao
a628251fd7 chore: publish v0.17.19 2021-11-26 11:46:58 +08:00
Kamil Gabryjelski
7c023cfc87 feat: implement Metrics dnd (#1004) 2021-11-26 11:46:58 +08:00
Jesse Yang
e6a92f2d56 chore: publish v0.17.18 2021-11-26 11:46:58 +08:00
Jesse Yang
bc30636c91 fix(core): don't add metrics to query object when in raw records mode (#995) 2021-11-26 11:46:58 +08:00
Jesse Yang
8ce06c28b0 chore: publish v0.17.17 2021-11-26 11:46:58 +08:00
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