Commit Graph

3844 Commits

Author SHA1 Message Date
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
636dc28ced fix: update yarn.lock for react-icons 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
Reslan Tinawi
20aee01215 fix(legacy-plugin-chart-country-map): Add Syria to control panel selection (#1025)
* feat: add syria to Country Maps

* PR fixes

* fix: add `Syria` to control panel options
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
Ville Brofeldt
e861c7b153 fix(plugin-chart-echarts): fill missing values when stacked chart (#1014) 2021-11-26 11:46:59 +08:00
Victor Malai
acd23f3ba3 feat(plugin-chart-echarts): Emit cross filters for pie and boxplot (#1010)
* feat(plugin-chart-echarts): emit filter events when clicking on slice

* feat(plugin-chart-echarts): enable emitting filter

* clean up filter state

* check eventHandlers by emitFilter flag

* feat(plugin-chart-echarts): multiple choices for filter

* WIP

* feat(plugin-chart-echarts): select multiple values

* add conditional control item for emitting filter

* add cross filter for box plot chart

* refactor: combine values and indexes single object

* fix: eslint

* Add default emitFilter for BoxPlot. Check emit filter before handle crossFilter

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-26 11:46:59 +08:00
Reslan Tinawi
5da7a6c778 feat: add syria to Country Maps (#1000) 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
Evan Rusackas
35e5608f2e chore: translation strings in histogram display (#981) 2021-11-26 11:46:59 +08:00
Victor Malai
1c40ac56c7 feat(plugin-chart-echarts): add label date format for piechart and boxplot (#973)
* feat(plugin-chart-echarts): add label date format for piechart

* feat(plugin-chart-echarts): add label date format for piechart

* switch to temporal

* Add date format for BoxPlot

* Remove logs

* Revert PERCENTAGE THRESHOLD for pie chart

* type

* add mapping for coltypes & add chart props type for chart

* type

* type

* resolve comments

* Change to formData from rawFormData

Co-authored-by: Victor Malai <victormalai@Victors-MacBook-Pro.local>
2021-11-26 11:46:59 +08:00
simcha90
716a9624c0 fix(table): Fix backend pagination table case (#1007)
* feat: add BE pagination to table with pages

* test: update tests

* refactor: fix table CR notes

* lint: fix TS

* lint: fix TS

* lint: fix TS

* lint: fix TS

* lint: fix TS

* lint: update types

* lint: update types

* lint: fix TS

* lint: fix TS

* lint: fix TS

* fix: no results
2021-11-26 11:46:59 +08:00
Jesse Yang
5cb4a4161d chore: publish v0.17.20 2021-11-26 11:46:58 +08:00
Jesse Yang
e03c4ee495 fix(plugin-chart-table): metrics should be undefined (#1005) 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
Yongjie Zhao
3fd75938dc fix(plugin-chart-echarts): fix GraphViz crash with DnD control (#991) 2021-11-26 11:46:57 +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
Jesse Yang
69a5c9004b fix(plugin-chart-table): ignore duplicate percent metrics (#994) 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
Kamil Gabryjelski
39300798c3 fix: remove duplicated group by field (#979) 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
4de346c0b6 chore: upgrade node to v14 (#970) 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
Victor Malai
978af22b3e feat(legacy-plugin-chart-map-box): show all points in mapbox chart (#960)
* feat(legacy-plugin-chart-map-box): show all points in mapbox chart

* to percentage

Co-authored-by: Victor <macbook@macs-MacBook-Pro.local>
2021-11-26 11:46:55 +08:00
Kamil Gabryjelski
e9039884fb fix(legacy-plugin-chart-map-box): fix downloading map as image (#965) 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
Kamil Gabryjelski
4db92492cf fix(legacy-plugin-chart-paired-t-test): fix paired t-test table chart (#961)
* fix(legacy-plugin-chart-paired-t-test): fix paired t-test table chart

* Display error message if group by wasn't defined

* Add validateNonEmpty for groupby
2021-11-26 11:46:55 +08:00
Jesse Yang
eb168618c1 fix(plugin-chart-table): hide cell bar for group by fields (#957) 2021-11-26 11:46:55 +08:00
Victor Malai
d142881fc9 feat(plugin-chart-echarts): arrange legend and zoom (#920)
* feat(plugin-chart-echarts): subject Arrange legend and zoom

* fix

* WIP

* Fix

* set zoomable false

* fix tests

* Solve comments

* Add constants

* fix

* fix lint

* fix lint

* fix lint

* snake_case to camelCase

* remove unused property
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
Victor Malai
f11f2eb486 feat(plugin-chart-echarts): subject fix tooltip format title (#956) 2021-11-26 11:46:55 +08:00
Victor Malai
b3f84f5657 feat: add sort by metric for charts with multiple metrics (#952)
Including
  - legacy-plugin-chart-pivot-table
  - legacy-plugin-chart-parallel-coordinates
  - legacy-plugin-chart-treemap
2021-11-26 11:46:54 +08:00
Victor Malai
b5627c73ea feat(plugin-chart-table): add tooltip about multiple sort (#958)
* feat(plugin-chart-table): subject Add tooltip show multiple sort

* Change message
2021-11-26 11:46:54 +08:00
Ville Brofeldt
ef46c2ed67 chore: publish v0.17.9 2021-11-26 11:46:54 +08:00
Victor Malai
4313a517df feat: Single metric sort (#953)
* feat(legacy-plugin-chart-heatmap): subject Add sort by metric

* feat(legacy-plugin-chart-sunburst): subject Add sort by metric

* feat(legacy-plugin-chart-force-directed): subject Add sort by metric

* feat(legacy-plugin-chart-chord): subject Add sort by metric

* feat(legacy-plugin-chart-country-map): subject Add sort by metric
2021-11-26 11:46:54 +08:00
Victor Malai
afa98bf41e feat(legacy-preset-chart-nvd3): subject NVD3 Bar chart sort by (#947)
* feat(legacy-preset-chart-nvd3): subject WIP

* feat(legacy-preset-chart-nvd3): subject Add sort by for bar chart
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
Victor Malai
ab2e6f31a5 feat(plugin-chart-echarts): subject add sort by metric for Pie Chart (#946) 2021-11-26 11:46:54 +08:00
Franklin
af6827018d feat(legacy-plugin-chart-country-map): Add Uruguay map (#944)
* feat: add uruguay map

* fix: Update Uruguay geojson file
2021-11-26 11:46:53 +08:00
Victor Malai
bf2a80ca7b feat(plugin-chart-word-cloud): subject Add order by desc on metric (#939)
* feat(plugin-chart-word-cloud): subject Add order by desc

* Add checkbox to control order by
2021-11-26 11:46:53 +08:00
Victor Malai
df47d95f5e feat(plugin-chart-echarts): subject Add option to rotate label defaul 45 (#921) 2021-11-26 11:46:53 +08:00
Ville Brofeldt
d3bb433560 fix(plugin-chart-echarts): label type and hover bugs (#942) 2021-11-26 11:46:53 +08:00
Ville Brofeldt
1816c7e731 chore: publish v0.17.6 2021-11-26 11:46:53 +08:00
Jesse Yang
79f67fe6c3 fix(plugin-chart-table): better rendering for temporal columns (#937) 2021-11-26 11:46:53 +08:00
Victor Malai
d3d343d6c4 feat(plugin-chart-echarts): subject Update echarts to v5.0.1 (#928)
* feat(plugin-chart-echarts): subject Update echarts to v5.0.1

* fix lint

* fix lint

* wip

* wip

* wip

* Fix comments

* Add back missed properties

* Fix lint

* Fix
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
Ville Brofeldt
b011c7914b fix(plugin-chart-table): refine ordering logic (#930) 2021-11-26 11:46:52 +08:00
dependabot-preview[bot]
b409a7e6df build(deps): bump @babel/cli from 7.12.8 to 7.12.10 (#923)
Bumps [@babel/cli](https://github.com/babel/babel/tree/HEAD/packages/babel-cli) from 7.12.8 to 7.12.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.10/packages/babel-cli)

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
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
dependabot-preview[bot]
6b816c7844 build(deps): [security] bump nested-object-assign from 1.0.3 to 1.0.4 (#927)
Bumps [nested-object-assign](https://github.com/Geta/NestedObjectAssign) from 1.0.3 to 1.0.4. **This update includes a security fix.**
- [Release notes](https://github.com/Geta/NestedObjectAssign/releases)
- [Commits](https://github.com/Geta/NestedObjectAssign/compare/v1.0.3...v1.0.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:52 +08:00
Jesse Yang
00b475e848 chore: publish v0.17.3 2021-11-26 11:46:52 +08:00
Jesse Yang
b4bee55e9f fix(plugin-chart-table): unnecessary post_processing in raw records mode (#925) 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]
6f7ddf15c9 build(deps): bump @babel/preset-env from 7.12.7 to 7.12.11 (#917)
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.12.7 to 7.12.11.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.11/packages/babel-preset-env)

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]
8a11eb9160 build(deps): bump @types/react-bootstrap from 0.32.22 to 0.32.25 (#910)
Bumps [@types/react-bootstrap](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-bootstrap) from 0.32.22 to 0.32.25.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-bootstrap)

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]
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
Victor Malai
3f9a5d26c2 feat(plugin-chart-echarts): subject Add rich tooltip (#906)
* feat(plugin-chart-echarts): subject Add rich tooltip

* feat(plugin-chart-echarts): subject Add rich tooltip

* Fix lint

Fix lint

Fix lint

Fix lint

Fix lint

Fix lint & move rich tooltip separate section

Fix

Fix

Fix

Fix

* Add comment

* Change message
2021-11-26 11:46:51 +08:00
Victor Malai
2345e342cb feat(plugin-chart-echarts): subject Add time formatter on the tooltip title (#912)
* feat(plugin-chart-echarts): subject Add time formatter on tooltip title

* Fix lint

* Fix

* Fix

* Fix
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]
6d4c24f59e build(deps): bump @vx/tooltip from 0.0.197 to 0.0.199 (#785)
Bumps [@vx/tooltip](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]
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
Victor Malai
d58984aeb6 feat(legacy-preset-chart-nvd3): subject Add Y bounds for nvd3 charts (#908)
Co-authored-by: Jesse Yang <jesse.yang@airbnb.com>
2021-11-26 11:46:50 +08:00
bryanck
4db360c0a6 fix: remove max-width from tooltip div (#909)
* fix: remove max-width from tooltip div

* remove unused parameter

Co-authored-by: Bryan Keller <bkeller@netflix.com>
2021-11-26 11:46:50 +08:00
Yongjie Zhao
114d78ed33 chore: move all controls for NVD3 and Big Number charts to separate rows (#913) 2021-11-26 11:46:50 +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
4fb5047f1b chore: publish v0.16.10 2021-11-26 11:46:50 +08:00
Kamil Gabryjelski
368e19805d fix(legacy-preset-chart-nvd3): remove data fetching from multiline chart (#899)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@polidea.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.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
f0596103a8 feat(legacy-plugin-chart-histogram): subject Add legend option to histogram chart (#905) 2021-11-26 11:46:50 +08:00
Victor Malai
d02f17c098 feat(legacy-preset-chart-nvd3): subject Add legend option to nvd3 chart (#904) 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
Victor Malai
3170f24aff fix(legacy-preset-chart-nvd3): make wide bar chart scrollable (#903) 2021-11-26 11:46:49 +08:00
Evan Rusackas
cf42782fff chore: publish v0.16.8 2021-11-26 11:46:49 +08:00
Phillip Kelley-Dotson
09c890a7df update big number options contorl (#896) 2021-11-26 11:46:49 +08:00
Victor Malai
4e27daf8a2 fix: subject Remove margin to fit last label (#900) 2021-11-26 11:46:49 +08:00
Evan Rusackas
fb537807d2 chore: publish v0.16.7 2021-11-26 11:46:49 +08:00
Ville Brofeldt
1e8cb81531 fix(plugin-chart-echarts): remove columns from formData (#901) 2021-11-26 11:46:49 +08:00
dependabot-preview[bot]
c9e5d68f26 build(deps): bump @types/lodash from 4.14.164 to 4.14.167 (#887)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.164 to 4.14.167.
- [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:49 +08:00
Jesse Yang
d8e1bbb9dd chore: upgrade eslint and babel (#892) 2021-11-26 11:46:49 +08:00
Agata Stawarz
b695fc2815 fix(plugin-chart-word-cloud): ensure top results are always displayed (#841)
While resizing chart sometimes top results were filtered out because their sizes were too big. This
solution makes sure that top 10% of results will always be displayed by gradually scaling down the
chart if needed.
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
Phillip Kelley-Dotson
9e3c8679cb chore: Update controls for rolling window (#895) 2021-11-26 11:46:48 +08:00
Mayur Newase
d3bc0894c5 fix(legacy-plugin-chart-pivot-table): pivot table chart string aggregation empty values (#880)
* fix(legacy-plugin-chart-pivot-table): empty value for string aggregate

* fix(plugin): bug fix

* fix(plugin): fix test

* fix(test): fixted function name

* lint fixed

* lint

* handle null values

* nit picks

* js to ts

* nit picks

* null values fixed

* eq fixed
2021-11-26 11:46:48 +08:00
Phillip Kelley-Dotson
b5e8c29353 update layout control for rolling window (#890) 2021-11-26 11:46:48 +08:00
Evan Rusackas
93c37cdd50 chore: publish v0.16.5 2021-11-26 11:46:48 +08:00
Evan Rusackas
066b830ddd chore: bumping nvd3-fork package (#891) 2021-11-26 11:46:48 +08:00
ʈᵃᵢ
336d648069 ci: switch chromatic action to workflow_run (#884) 2021-11-26 11:46:48 +08:00
dependabot-preview[bot]
11d43e7722 build(deps): [security] bump urijs from 1.19.2 to 1.19.4 (#883)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.4. **This update includes a security fix.**
- [Release notes](https://github.com/medialize/URI.js/releases)
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md)
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.2...v1.19.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: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
dependabot-preview[bot]
f66caf581c build(deps): bump mathjs from 8.0.1 to 8.1.1 (#885)
Bumps [mathjs](https://github.com/josdejong/mathjs) from 8.0.1 to 8.1.1.
- [Release notes](https://github.com/josdejong/mathjs/releases)
- [Changelog](https://github.com/josdejong/mathjs/blob/develop/HISTORY.md)
- [Commits](https://github.com/josdejong/mathjs/compare/v8.0.1...v8.1.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:47 +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
dependabot-preview[bot]
b9ad0e4b76 build(deps): [security] bump dompurify from 2.0.11 to 2.0.17 (#872)
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.0.11 to 2.0.17. **This update includes a security fix.**
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.0.11...2.0.17)

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:47 +08:00
dependabot-preview[bot]
2afcb1edab build(deps): [security] bump ini from 1.3.5 to 1.3.8 (#865)
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8. **This update includes a security fix.**
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.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:47 +08:00
Ville Brofeldt
146f9a4dfd fix: fix nvd3 and histogram regressions and migrate control panels to TS (#875)
* chore: add types to all control panels

* move nvd3 shared section to individual viz
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
Mayur Newase
e4ebd828fe fix(legacy-plugin-chart-histogram): fixes legend overflow (#863)
* fix(legacy-plugin-chart-histogram): fixes legend onverflow

* Update plugins/legacy-plugin-chart-histogram/src/WithLegend.jsx

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-11-26 11:46:46 +08:00
Jesse Yang
286255d85a build: remove nimbus (#847) 2021-11-26 11:46:46 +08:00
Kamil Gabryjelski
b5f5bd1182 fix(legacy-preset-chart-nvd3): make deep copy of queryData (#855)
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@polidea.com>
2021-11-26 11:46:45 +08:00
Evan Rusackas
2a9dd04b5f chore: publish v0.15.17 2021-11-26 11:46:45 +08:00
ʈᵃᵢ
3ef0f4580c ci: remove pull_request trigger (#853) 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
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