Commit Graph

200 Commits

Author SHA1 Message Date
Yongjie Zhao
490029a1f3 chore: publish v0.18.21 2021-11-26 11:47:38 +08:00
Ville Brofeldt
e16a836731 feat(core): add support for adhoc columns (#1342)
* feat(core): add support for adhoc columns

* simplify import

* revert simplification due to codecov

* fix filter column type

* fix pivot v2 groupbys

* remove redundant import

* Add new type guards

* move ColumnMeta type guards to chart-controls

* add type guard tests

* Fix typing and import errors

* Fix saved expression type guard

* Fix typing

* Remove redundant import

* Make Echarts and PivotTable handle AdhocColumns properly

* Fix lint

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2021-11-26 11:47:38 +08:00
Yongjie Zhao
c78551df4f chore: refine prettier config as the main repository (#1456)
* change to prettier.config.js

* printWidth to 80

* format

* tweak
2021-11-26 11:47:38 +08:00
Yongjie Zhao
0d219533b2 chore: merge tsconfig.json and tsconfig.options.json (#1459) 2021-11-26 11:47:38 +08:00
Yongjie Zhao
069d4115a8 chore: publish v0.18.20 2021-11-26 11:47:37 +08:00
geido
92a00d3db6 chore: publish v0.18.19 2021-11-26 11:47:37 +08:00
Geido
57e90b1c4b fix: Color consistency (#1406)
* Replace color in scheme statically

* Set color statically and re-use instance

* Fix tests and clean up

* Improve comments

* Refactor and simplify

* Update tests

* Remove unnecessary ColorMapControl

* Remove unnecessary const

* Remove control label_colors
2021-11-26 11:47:37 +08:00
Ville Brofeldt
b6bc25ef78 chore: publish v0.18.18 2021-11-26 11:47:37 +08:00
Ville Brofeldt
25da47c111 fix(plugin-chart-echarts): boxplot groupby incorrect (#1448)
* fix(plugin-chart-echarts): boxplot groupby incorrect

* add tests

* use formData instead of QueryObject

* lint
2021-11-26 11:47:36 +08:00
John Bodley
35c8b3abb9 chore: publish v0.18.17 2021-11-26 11:47:36 +08:00
John Bodley
0d8ba7a29d docs: update chart sorting control labels/descriptions (#1436)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-11-26 11:47:36 +08:00
John Bodley
4e3102935c fix: revert default series limit and update eligible choices (#1430)
* Revert "feat: add default series_limit (#1033)"

This reverts commit 5bd2a149644e9ecfeca8e54153eb9e5658546ec3.

* Update index.tsx

* Update index.tsx
2021-11-26 11:47:36 +08:00
Yongjie Zhao
66b5b2cf9f chore: add Apache License for superset-ui (#1444)
* chore: add rat script

* add license

wip
2021-11-26 11:47:36 +08:00
John Bodley
a5d5f95d38 chore: pass datasource to metrics control (#1438)
* Update controlPanel.tsx

* Update index.tsx

* Update dndControls.tsx
2021-11-26 11:47:35 +08:00
Yongjie Zhao
9e0e560355 chore: publish v0.18.16 2021-11-26 11:47:35 +08:00
Yongjie Zhao
b307716979 chore: export esModule from chart-controls (#1441) 2021-11-26 11:47:35 +08:00
Yongjie Zhao
282a051ead chore: publish v0.18.15 2021-11-26 11:47:34 +08:00
Yongjie Zhao
f552abaa42 refactor: replace yarn with npm (#1405)
* refactor: replace yarn with npm

* revert npm requirement back to 14 for vercel

* disable build Storybook job

* fix linting errors

* update lock file

* rebase master and bump encodable/color to 1.1.1

* update package-lock.json

update lock file

* change node version format to satisfy vercel

* remove restriction on @encodable/color

* rename yarn.lock to package-lock.json

* add resolved in lock file and restriction on @encodable/color

* install dependences by npm ci

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-26 11:47:34 +08:00
Phillip Kelley-Dotson
e6ab2f791b chore: publish v0.18.14 2021-11-26 11:47:33 +08:00
Phillip Kelley-Dotson
7c9064dd9e chore: publish v0.18.13 2021-11-26 11:47:33 +08:00
John Bodley
0d1cda6d82 chore: publish v0.18.12 2021-11-26 11:47:33 +08:00
Phillip Kelley-Dotson
d087982a45 chore: publish v0.18.11 2021-11-26 11:47:33 +08:00
Yongjie Zhao
a1be5a32bd chore: avoid importing from lib (#1399) 2021-11-26 11:47:32 +08:00
Yongjie Zhao
fba5879636 chore: publish v0.18.10 2021-11-26 11:47:32 +08:00
Yongjie Zhao
de7b1f7f2d chore: hide rolling_periods and min_periods (#1392)
* chore: hide rolling_periods and min_periods

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

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

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

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:47:32 +08:00
Yongjie Zhao
b5dcf1ae81 fix: rolling and cum operator in multiple series chart (#1386)
* fix: rolling and cum operator in multiple series chart

* fix lint

* fix UT
2021-11-26 11:47:32 +08:00
erik_ritter
50f9d84d19 chore: publish v0.18.9 2021-11-26 11:47:32 +08:00
Yongjie Zhao
b309c6bbea fix: replace absolute difference with difference in echart (#1383)
* fix: replace absolute difference with difference in echart

* fix ut

* fix ut
2021-11-26 11:47:31 +08:00
Ville Brofeldt
f880b156d9 chore: publish v0.18.8 2021-11-26 11:47:31 +08:00
Yongjie Zhao
8c4d75f5c6 refactor: migrate timeseries_limit_metric to legacy_order_by (#1364)
* refactor: migrate timeseries_limit_metric to legacy_order_by

* improve coverage
2021-11-26 11:47:31 +08:00
Ville Brofeldt
3bcf23c716 chore: publish v0.18.6 2021-11-26 11:47:30 +08:00
Yongjie Zhao
0f4a06d15e refactor: improve code smell for postprocessing (#1368)
* refactor: improve code smell for postprocessing

* jest UT

* best practice for jest
2021-11-26 11:47:30 +08:00
Yongjie Zhao
eed58d6658 chore: publish v0.18.5 2021-11-26 11:47:30 +08:00
Yongjie Zhao
c7744d4720 feat: add resample operator to advanced analytic (#1349)
* chore: add resample operator to advanced analytic

* wip

* minor improvement

* wip

* fix UT

* minor fix

* udates

* fix type
2021-11-26 11:47:30 +08:00
Ville Brofeldt
0db8831ccb chore: publish v0.18.4 2021-11-26 11:47:29 +08:00
Ville Brofeldt
614e06dede feat(core): add support for non-temporal series limit (#1356)
* feat(plugin-chart-echarts): add support for non-temporal series limit

* Update plugins/plugin-chart-echarts/src/BoxPlot/controlPanel.ts

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* make whisker type unclearable and also handle null case

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-11-26 11:47:29 +08:00
Maxhui
e149c537ee feat(plugin-chart-echarts): add x and y label support for 9 charts (#1351)
* feat: add x and y label support for timeseries

fix #16512

* feat: change label to title

* feat: add x/y title to 9 chats

* refactor: move config to shared-control

* refactor: add chartTitle section config in custom tab

* refactor: refactor param names

* lint: code lint

* refactor: refactor code

* lint: lint code

* feat: make ypostion clearable false

* lint: code lint

Co-authored-by: xuzhebin <maxhui2020@gmail.com>
2021-11-26 11:47:29 +08:00
Ville Brofeldt
9af408dcd2 chore: publish v0.18.2 2021-11-26 11:47:29 +08:00
Ville Brofeldt
ae6ef5b9ef chore(core): move @emotion/styled to peer dependency (#1347) 2021-11-26 11:47:29 +08:00
David Aaron Suddjian
80fe8fd5cb chore: publish v0.18.0 2021-11-26 11:47:28 +08:00
Phillip Kelley-Dotson
b9504ed713 feat: add certified icon to columoption (#1330)
* add certified icon to columoption

* fix import order
2021-11-26 11:47:28 +08:00
Evan Rusackas
6651f4d7e9 chore: publish v0.17.85 2021-11-26 11:47:27 +08:00
Kamil Gabryjelski
1411bee422 fix(chart-controls): temporal col placeholder for hybrid dnd (#1317) 2021-11-26 11:47:26 +08:00
Phillip Kelley-Dotson
dcd74aa5a3 chore: publish v0.17.84 2021-11-26 11:47:26 +08:00
Phillip Kelley-Dotson
1ee3f0d9ab initial commit (#1311) 2021-11-26 11:47:26 +08:00
Yongjie Zhao
4de4fc37fc fix: add advanced analytics to all of timeseries viz (#1308)
* feat: add advanced analytics to all of timeseries viz

* fix namespace
2021-11-26 11:47:26 +08:00
jayakrishnankk
15fbe4a72a feat(chart-controls): d3 formatting with .2% #1274 (#1275)
Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com>
2021-11-26 11:47:26 +08:00
junlincc
13519fd56e chore: publish v0.17.81 2021-11-26 11:47:25 +08:00
Geido
50a50324a7 fix: Hide Safari default tooltip (#1283)
* Hide Safari default tooltip

* Fix lint

* Add emotion dependency

* Fix package.json
2021-11-26 11:47:24 +08:00
Kamil Gabryjelski
128ec7e075 fix(chart-controls): lower minOpacity in conditional formatting (#1284)
* fix(chart-controls): lower minOpacity in conditional formatting

* Fix

* Change hardcoded value to a constant
2021-11-26 11:47:23 +08:00