Commit Graph

426 Commits

Author SHA1 Message Date
Corbin Robb
6bd4dd257a
feat(timeseries-chart): add percentage threshold input control (#17758)
* feat(timeseries-chart): add percentage threshold control for stack series labels

* feat: move threshold vlues to an array

* add tests for showValue, onlyTotal, and percentThreshold

* feat: add another test

* revert ChartProps typesetting, fix misnamed variable on form data type, and other minor changes

* fix percentage threshold push equation

* fix percentage threshold push equation in tests

* change default on control to match form

* attempt fix form defaults import

Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2022-01-12 14:46:27 -06:00
Jesse Yang
f451081166
feat(chart): add Mexico to country map viz (#18007) 2022-01-12 08:41:12 -08:00
Yongjie Zhao
e91b9a678f
refactor: move superset-ui dependencies to peerDependencies (#17965)
* chore: add commit message

* update learn

* update superset-ui-demo

* move superset-ui into peerDeps

* add --no-private argument in lerna version

* fix conflicts

* refresh lock file
2022-01-11 13:53:37 +08:00
serenajiang
05d9cde203
feat: update time comparison choices (again) (#17968) 2022-01-10 10:08:15 -08:00
Erik Ritter
1e544ce531
fix: null dates in table chart (#17974) 2022-01-10 10:07:59 -08:00
Evan Rusackas
fecb6d91c0
chore: fixing annoying warning about escaping in Emotion styling (#17972)
* chore: fixing annoying warning about escaping in Emotion styling

* linting 
2022-01-09 08:44:17 -07:00
Yongjie Zhao
cb97e37a92
refactor: import value name from root of superset-ui/core (#17947)
* chart

* index and number-format

* char-composition and color

* connection

* dimension and math-expression

* models

* query

* time-format

* residual modules

* change config of jest and eslint

config

* wip

update package.json

* fix lint

* WithLegend import from superset-ui/core
2022-01-08 09:16:24 +08:00
Evan Rusackas
2098898b31
chore: Adding more viz category mappings for viz picker (#17956)
* Tagging two Bar charts

* tagging two more nvd3 bar charts
2022-01-07 08:12:33 -07:00
Yongjie Zhao
97a78d3301
refactor(storybok): upgrade to webpack5 in storybook of plugins (#17909)
* refactor: use webpack5 in plugins storybook

* remove ./src from packages.json
2022-01-05 10:39:33 +08:00
Yongjie Zhao
52f5dcb58e
fix(deckgl): deckgl unable to load map (#17851)
* fix(deckgl): deckgl unable to load map

* add react-map-gl in peerDependencies
2021-12-23 13:32:30 +08:00
Kamil Gabryjelski
2c3f39f3f2
feat(plugin-chart-pivot-table): support series limit (#17803)
* feat(plugin-chart-pivot-table): support series limit

* Add a migration

* Use non-legacy series limit controls

* Add a todo comment

* Bug fix
2021-12-21 16:58:54 +01:00
Stephen Liu
d5768ab649
fix(explore): make SORT-Descending visible if Sort-by has value (#17726) 2021-12-21 15:27:21 +08:00
Erik Ritter
6edc183c5f
chore: Refactor localstorage into typesafe version (#17832) 2021-12-20 13:58:59 -08:00
Kamil Gabryjelski
a2d8b94c52
chore(plugin-chart-table): move adhoc filters control closer to the metrics (#17797) 2021-12-17 14:39:09 +01:00
Kamil Gabryjelski
b5dca4ebfe
chore(plugin-chart-pivot-table): swap order of Columns and Rows controls (#17798) 2021-12-17 14:32:49 +01:00
Kamil Gabryjelski
9c9edbe8bc
chore(plugin-chart-pivot-table): migrate react-pivottable into superset codebase (#17769)
* chore(plugin-chart-pivot-table): migrate react-pivottable into superset codebase

* Fix lint errors

* Use named export

* Clean up the code
2021-12-17 12:00:32 +01:00
Kamil Gabryjelski
82b47cacba
fix(plugin-chart-table): sort alphanumeric columns case insensitive (#17765) 2021-12-15 11:48:25 -07:00
Kamil Gabryjelski
124af4c566
chore(explore): Migrate BigNumber to v1 api [ID-28][ID-55] (#17587)
* chore(explore): Migrate BigNumber to v1 api

* Move to echarts

* Use Echarts trendline

* Fix imports

* Fix parsing dates as strings

* Add from_dttm and to_dttm to v1 chart response

* Fix post processing

* Fix timeRangeFixed

* Fix tests

* Remove from and to dttm from cache

* Cleanup date formatting

* Fix storybook

* Fix missing types

* Fix timestamp with timezone

* Add types to demo's tsconfig

* bug fix

* fix import

* Fix cypress tests

* add sort

* add resample to handle missing values properly

* Sync ChartDataResponseResult schema with ts interface

* Lint fix

* Add migration

* Fix migration

* Remove pass

* Re-raise the exception in migration

* Typo fix

* Update revision

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-12-15 10:15:14 +01:00
Yahya Kayani
89d0d38ed0
fix(Mixed Timeseries Chart): Custom Metric Label (#17649)
* fix(Mixed Timeseries Chart): Custom Metric Label

* Fixed Formatting

* Fixed Type mismatch from queryFormData

* Reverted type change and used extracted datasource

* Type fix for mapping
2021-12-14 08:41:04 +02:00
Corbin Robb
f476ba23a2
fix(select): select component sort functionality on certain options (#17638)
* fix: Select component sort function sorting by label instead of value on numbers

* fix: change select component default sorting to sort by the initial index rather than a property like value or label

* fix: select sorting add sortOptions to select components using sortByProperty

* fix: change select component back, add order to options coming in from SelectControl

* fix: select component options intitial sort bug

* fix: add test cases for select fix

Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2021-12-09 11:40:25 -05:00
Yongjie Zhao
04e3cfa607
refactor(monorepo): relocate deckgl to Superset (#17596) 2021-12-09 08:45:18 +08:00
Kamil Gabryjelski
e660ea2533
fix(legacy-plugin-chart-calendar): fix timestamp timezone in Calendar (#17664)
* fix(legacy-plugin-chart-calendar): fix timestamp timezone in Calendar

* Fix prop type
2021-12-07 14:29:12 +01:00
Jesse Yang
73e7928c4b
chore(superset-ui): clean up legacy-plugin-chart-time-table (#17626) 2021-12-02 17:14:10 -08:00
Kamil Gabryjelski
e8ce8733f7
chore(plugin-chart-pivot-table): Add more descriptive tooltips for sorting [ID-29] (#17634)
* chore(plugin-chart-pivot-table): Add more descriptive tooltips for sorting

* Update superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx

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

* Update superset-frontend/plugins/plugin-chart-pivot-table/src/plugin/controlPanel.tsx

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

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-12-02 12:53:14 -07:00
Stephen Liu
72f3215ffc
feat(legacy-preset-chart-nvd3): add richtooltip in nvd3 bar chart (#17615)
* feat(legacy-preset-chart-nvd3): add richtooltip in nvd3 bar chart

* add richtooltip in nvd3 bar chart
2021-12-02 00:23:31 -07:00
Yongjie Zhao
3c41ff68a4
refactor(monorepo): move superset-ui to superset(stage 2) (#17552) 2021-11-30 08:29:57 +08:00