Commit Graph

4666 Commits

Author SHA1 Message Date
Lyndsi Kay Williams
c40b337978
feat: Added success toasts for database, dataset, chart, dashboard, and query imports (#18190)
* Added imports toasts

* Removed generic import toast

* Remove addSuccessToast from props

* Added addSuccessToast back to prop type

* Made success toast strings translatable
2022-01-28 15:29:44 -06:00
Erik Ritter
7f3453f3ea
fix: Add mexico back to country map (#18219) 2022-01-28 13:04:53 -08:00
Michael S. Molina
4b61c76742
fix: Explore long URL problem (#18181)
* fix: Explore long URL problem

* Fixes lint problems

* Fixes default value

* Removes duplicated test

* Fixes share menu items

* Fixes tests

* Debounces form_data updates

* Rewrites debounce function

* Moves history update outside the functional component

* Mocks lodash function in tests

* Fixes Cypress test

* Fixes Cypress test #2
2022-01-28 17:42:16 -03:00
Josue Lugaro
a06e043d7f
refactor: sqleditorleftbar to typescript (#17926)
* Creating draft PR to address bug

* Still working on solving re rendering bug

* Cleaning up in preparation for push

* Starting conversion to TypeScript

* Working on conversion

* Continued working on typescript conversion, referenced other files for different types, still a rough version of final product

* Added type assertion to actions in props, and added types to some component functions

* Progress on typescript conversion

* Fixed typing issue on collapseStyles

* Fixed styling on div, child of StyledScrollbarContainer

* Attempting to address issues with the actions passed into the TableElement

* Resolved typescript warning on actions of the TableElement component

* Made changes suggested by Arash

* Tested the component without dbId, cleaned up lingering comments

* Made more changes suggested by Arash, removed offline from the SqlEditorLeftBarProps interface

* Made change suggested by Hugh

* Changed the expanded type from any to boolean
2022-01-28 12:07:32 -08:00
Ville Brofeldt
cec4677971
fix(plugin-chart-echarts): use verbose x-axis name when defined (#18217) 2022-01-28 16:45:57 +02:00
Kamil Gabryjelski
37430d4044
fix(explore): Pie chart label formatting when series is temporal (#18216) 2022-01-28 15:14:40 +01:00
Yongjie Zhao
ea2d6681dd
chore: move controlPanel into time_table (#18160) 2022-01-28 12:13:12 +08:00
Stephen Liu
7c937ca182
fix(native-filters): values is not sorted when setting sort option (#18145)
* fix(native-filters): values is not sorted when setting sort option

* fix: revert

* pass sortComparator
2022-01-27 19:15:53 -07:00
Geido
a4e93afdbf
Fix default value (#18180) 2022-01-27 17:40:32 +01:00
Yongjie Zhao
20b4ae1ef9
fix: null value and empty string in filter (#18171) 2022-01-27 22:58:06 +08:00
Ville Brofeldt
dbe0a8b519
chore: bump echarts to 5.3.0 (#18162)
* chore: bump echarts to 5.3.0

* change to official 5.3.0 and reintroduce bold effect
2022-01-27 11:26:00 +02:00
Stephen Liu
a2bad7551e
fix(dashboard): support input undo when editing chart title (#18137) 2022-01-27 14:53:46 +08:00
Hugh A. Miles II
e6bb0fc7ad
feat: Add toast for successful table or schema refreshes in Sqllab (#18169)
* save

* add use redux to test

* update test for db selector

* add condition for refresh only
2022-01-26 20:26:50 -05:00
Phillip Kelley-Dotson
ac564ea6b7
feat: add success message for database modal (#18183) 2022-01-26 15:52:15 -08:00
David Aaron Suddjian
4ad5ad045a
feat: embedded dashboard core (#17530)
* feat(dashboard): embedded dashboard UI configuration (#17175) (#17450)

* setup embedded provider

* update ui configuration

* fix test

* feat: Guest token (for embedded dashboard auth) (#17517)

* generate an embed token

* improve existing tests

* add some auth setup, and rename token

* fix the stuff for compatibility with external request loaders

* docs, standard jwt claims, tweaks

* black

* lint

* tests, and safer token decoding

* linting

* type annotation

* prettier

* add feature flag

* quiet pylint

* apparently typing is a problem again

* Make guest role name configurable

* fake being a non-anonymous user

* just one log entry

* customizable algo

* lint

* lint again

* 403 works now!

* get guest token from header instead of cookie

* Revert "403 works now!"

This reverts commit df2f49a6d4.

* fix tests

* Revert "Revert "403 works now!""

This reverts commit 883dff38f1.

* rename method

* correct import

* feat: entry for embedded dashboard (#17529)

* create entry for embedded dashboard in webpack

* add cookies

* lint

* token message handshake

* guestTokenHeaderName

* use setupClient instead of calling configure

* rename the webpack chunk

* simplified handshake

* embedded entrypoint: render a proper app

* make the embedded page accept anonymous connections

* format

* lint

* fix test
# Conflicts:
#	superset-frontend/src/embedded/index.tsx
#	superset/views/core.py

* lint

* Update superset-frontend/src/embedded/index.tsx

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* comment out origins checks

* move embedded for core to dashboard

* pylint

* isort

Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* feat: Authorizing guest access to embedded dashboards (#17757)

* helper methods and dashboard access

* guest token dashboard authz

* adjust csrf exempt list

* eums don't work that way

* Remove unnecessary import

* move row level security tests to their own file

* a bit of refactoring

* add guest token security tests

* refactor tests

* clean imports

* variable names can be too long apparently

* missing argument to get_user_roles

* don't redefine builtins

* remove unused imports

* fix test import

* default to global user when getting roles

* missing import

* mock it

* test get_user_roles

* infer g.user for ease of tests

* remove redundant check

* tests for guest user security manager fns

* use algo to get rid of warning messages

* tweaking access checks

* fix guest token security tests

* missing imports

* more tests

* more testing and also some small refactoring

* move validation out of parsing

* fix dashboard access check again

* add more test

Co-authored-by: Lily Kuang <lily@preset.io>

* feat: Row Level Security rules for guest tokens (#17836)

* helper methods and dashboard access

* guest token dashboard authz

* adjust csrf exempt list

* eums don't work that way

* Remove unnecessary import

* move row level security tests to their own file

* a bit of refactoring

* add guest token security tests

* refactor tests

* clean imports

* variable names can be too long apparently

* missing argument to get_user_roles

* don't redefine builtins

* remove unused imports

* fix test import

* default to global user when getting roles

* missing import

* mock it

* test get_user_roles

* infer g.user for ease of tests

* remove redundant check

* tests for guest user security manager fns

* use algo to get rid of warning messages

* tweaking access checks

* fix guest token security tests

* missing imports

* more tests

* more testing and also some small refactoring

* move validation out of parsing

* fix dashboard access check again

* rls rules for guest tokens

* test guest token rls rules

* more flexible rls rules

* lint

* fix tests

* fix test

* defaults

* fix some tests

* fix some tests

* lint

Co-authored-by: Lily Kuang <lily@preset.io>

* SupersetClient guest token test

* Apply suggestions from code review

Co-authored-by: Lily Kuang <lily@preset.io>

Co-authored-by: Lily Kuang <lily@preset.io>
2022-01-25 16:41:32 -08:00
Lyndsi Kay Williams
2491b89f29
Columns tab name field no longer editable, calculated columns rows now vertically aligned (#18164) 2022-01-25 14:34:56 -06:00
Stephen Liu
7bb867407a
fix(textarea-control): ace editor input exception (#18146) 2022-01-25 16:57:12 +01:00
Kamil Gabryjelski
c77d24cda3
fix: undefined error when adding extra sequential color scheme (#18152) 2022-01-24 19:20:49 +01:00
Kamil Gabryjelski
e632193eb0
feat(explore): more toast feedback on user actions in Explore (#18108)
* feat(explore): add toasts feedback when user copies chart url

* Show toast message when updating chart properties

* Change toast type to success when saving chart

* Use success toast from props

* Fix tests

* Use withToasts instead of dispatch

* Use PropertiesModalProps instead of any
2022-01-24 11:42:24 +01:00
Kamil Gabryjelski
d9eef8ec2f
feat(dashboard): add toast feedback to dashboard actions (#18114) 2022-01-24 11:42:12 +01:00
Kamil Gabryjelski
9fa2812343
feat(annotation): add toast feedback to annotation templates (#18116) 2022-01-24 11:41:39 +01:00
jayakrishnankk
4b89ac7447
chore: migrating storybook jsx to typescript #18100 (#18133)
* Migrating storybook jsx to typescript #18100

* Migrating storybook jsx to typescript

Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com>
2022-01-24 14:32:18 +08:00
Hammad-Raza
0cec0c9a68
feat(country-map): added new countries in country-chart-map (#18081) 2022-01-22 12:05:20 +08:00
Ville Brofeldt
e9651ea52f
feat(plugin-chart-echarts): support non-timeseries x-axis (#17917)
* feat(plugin-chart-echarts): support non-timeseries x-axis

* fix tests

* change formula return type from Date to number

* add x_axis test coverage

* rename func and improve coverage

* add x-axis control to bar chart

* remove redundant console.log

* fix description

* make x-axis control mandatory

* 🙃

* fix x-axis formatter

* fix showValues

* fix implicit rDTTM_ALIAS references in postProcessing

* replace TIME_COLUMN with DTTM_ALIAS

* fix remaining implicit indexes

* fix: Disable filtering on wide result sets (#18021)

* fix: handle null values in time-series table (#18039)

* cleanup column_type_mappings (#17569)

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* important change to MakeFile (#18037)

* add missing is_timeseries to pivot op

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
Co-authored-by: Grace Guo <grace.guo@airbnb.com>
Co-authored-by: Đặng Minh Dũng <dungdm93@live.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2022-01-21 21:23:23 +02:00
Stephen Liu
b083b3421f
fix(explore): fix chart embed code modal glitch (#17843) 2022-01-21 09:11:33 -07:00
Adam Dobrawy
a5e805ef2a
refactor: migrate RowCountLabel to TypeScript & added story (#18105)
* enable superbook for explore component

* migrate RowCountLabel to TypeScript

* add storybook for RowCountLabel
2022-01-20 15:35:09 +01:00
Adam Dobrawy
c3a17a7228
Migrate Checkbox story to tsx - see #18100 (#18101)
Looks good!
2022-01-20 15:33:45 +01:00
Josue Lugaro
035638c958
refactor: sqleditorleftbar to functional (#17807)
* Working on converting sqleditorleftbar to functional component

* Creating draft PR to address bug

* Still working on solving re rendering bug

* infinite rerender fix

* Creating draft PR to address bug

* Cleaning up in preparation for push

* Made changes suggested by Elizabeth

* Fixed issues as per Lindsey's comment

Co-authored-by: Arash <arash.afghahi@gmail.com>
2022-01-19 15:06:28 -06:00
Stephen Liu
22896f2803
feat: add chart description in info tooltip (#17207)
* feat: add chart list description

* fix: text overflow

* fix: text-overflow with line-height
2022-01-19 21:24:17 +08:00
AAfghahi
88db2cc0ab
refactor(sql_lab): SQL Lab Persistent Saved State (#17771)
* a lot of console logs

* testing

* test

* added saved_query to remoteId

* created useEffect so that title properly changes in modal

* Update superset-frontend/src/SqlLab/actions/sqlLab.js

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>

Co-authored-by: Lyndsi Kay Williams <55605634+lyndsiWilliams@users.noreply.github.com>
2022-01-18 13:10:31 -05:00
Ville Brofeldt
5bfe2d47b0
fix(generator): add lockfile and fix styling issues (#18073)
* fix(generator): add lockfile and fix styling issues

* fix margins and remove redundant scroll

* update tutorial
2022-01-18 12:37:09 +02:00
Stephen Liu
3b64563f3f
fix(dashboard): scope of nativefilter not update (#18048) 2022-01-18 16:51:51 +08:00
Yongjie Zhao
0c7f7288d8
feat(advanced analytics): support groupby in resample (#18045) 2022-01-17 18:42:59 +08:00
Ville Brofeldt
8dea7f500b
fix(generator): more cleanup to plugin framework (#18027)
* fix(generator): more cleanup to plugin framework

* fix typo and package name

* add docs

* fix typo

* Update superset-frontend/webpack.config.js

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>

* fix generator reference

* add steps to tutorial and fix package version

* refine docs/readme

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-01-17 10:23:35 +02:00
Ville Brofeldt
de8a1fa9c6
chore(plugin-chart-echarts): add types to controls (#18059) 2022-01-16 14:21:47 +02:00
Grace Guo
26dc600aff
fix: handle null values in time-series table (#18039) 2022-01-13 21:47:07 -08:00
Erik Ritter
343d3f8f7a
fix: Disable filtering on wide result sets (#18021) 2022-01-13 10:11:18 -08:00
Beto Dealmeida
51090c3f1b
feat: shorter timeout on test_connection (#18001)
* feat: shorter timeout on test_connection

* pip-compile-multi --no-upgrade

* Fix for SQLite

* Return 408

* Add test
2022-01-12 13:01:34 -08:00
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
Erik Ritter
27000da2f8
fix: SQL Lab sorting of non-numbers (#18006) 2022-01-12 11:09:59 -08:00
AAfghahi
536ca1f62c
chore(DatasourceEditor): Create Datasource Legacy Editor Feature Flag (#18003)
* a lot of console logs

* adding new feature flag for datasource editor
2022-01-12 14:02:53 -05:00
Jesse Yang
f451081166
feat(chart): add Mexico to country map viz (#18007) 2022-01-12 08:41:12 -08:00
Yongjie Zhao
46715b295c
refactor: remove unused ts-jest (#17996) 2022-01-11 23:43:45 +08:00
Yongjie Zhao
d8d47ce054
chore: reenable lint for test files (#17979)
* chore: reenable lint for test files

* fix comments
2022-01-11 14:22:56 +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
Phillip Kelley-Dotson
3d829fc3c8
fix: dashboard reload crash (#17992)
* fix dashboard reload

* add more strict case
2022-01-10 18:34:28 -08:00
Lyndsi Kay Williams
f7add546ad
Fixed error handling in Report modal (#17988) 2022-01-10 17:01:08 -06:00
Phillip Kelley-Dotson
c139312bb3
fix: dashboard full screen layout (#17985)
* fix: full screen mode for dashboard

* remove console
2022-01-10 15:58:39 -07:00
Lyndsi Kay Williams
df69920a2e
Moved dataset editor lock to top of component (#17930) 2022-01-10 16:55:00 -06:00
Lyndsi Kay Williams
f6b9393999
Tooltip no longer dancing (#17931) 2022-01-10 16:54:38 -06: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
Stephen Liu
bd9e1235a9
fix(dashboard): scope status of filter not update in dashboard metadata (#17945)
* fix(dashboard): scope status of filter not update in dashboard metadata

* fix save
2022-01-10 10:19:25 -07:00
Kamil Gabryjelski
35f4c33245
fix(native-filters): apply default value correctly when it's set (#17982) 2022-01-10 17:32:31 +01:00
Evan Rusackas
c0a769581f
chore: bump typescript to 4.5.4, and adjust storybook story. (#17971)
* chore: bump typescript to 4.5.4, and adjust storybook story to pass linting

* ugh... missed a space. Thanks, linter :)

* nixing erroneous package lock file
2022-01-09 21:01:59 -07: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
Phillip Kelley-Dotson
765c72a858
fix: update slug name (#17961)
* fix: fix update slug name

* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/index.tsx

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

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-01-07 11:37:12 -08:00
dependabot[bot]
5bf9634c29
chore(deps): bump @storybook/addon-actions in /superset-frontend (#17904)
Bumps [@storybook/addon-actions](https://github.com/storybookjs/storybook/tree/HEAD/addons/actions) from 6.3.12 to 6.4.9.
- [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.4.9/addons/actions)

---
updated-dependencies:
- dependency-name: "@storybook/addon-actions"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 11:54:13 -07:00
Michael S. Molina
647bbf1ea1
chore: Moves spec files to the src folder - iteration 10 (#17902)
* chore: Moves spec files to the src folder - iteration 10

* Fixes test

* Fixes lint problem

* Uses styledMount in test
2022-01-07 15:24:15 -03:00
Michael S. Molina
bb7e979142
chore: Moves spec files to the src folder - iteration 9 (#17901) 2022-01-07 15:23:57 -03: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
Stephen Liu
2ae29c9281
fix(Select): options will be overwritten due to seState (#17951) 2022-01-07 08:09:25 -07:00
Michael S. Molina
e6ef7da758
chore: Moves spec files to the src folder - iteration 8 (#17899)
* chore: Moves spec files to the src folder - iteration 8

* Fixes tests
2022-01-07 09:25:45 -03:00
Michael S. Molina
aa91662ec8
chore: Moves the Menu to views/components folder (#17897)
* chore: Moves the Menu to views/components folder

* Fixes imports
2022-01-07 09:25:31 -03:00
Michael S. Molina
53d8d383cc
chore: Moves the hooks folder to the src folder (#17896) 2022-01-07 09:25:06 -03:00
dependabot[bot]
3b5cee4d99
chore(deps): bump urijs from 1.19.6 to 1.19.7 in /superset-frontend (#17962)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.6 to 1.19.7.
- [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.6...v1.19.7)

---
updated-dependencies:
- dependency-name: urijs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-07 10:11:10 +02:00
Erik Ritter
79b6dc251e
fix: package.json local file dependencies (#17957) 2022-01-07 13:44:27 +08:00
Hugh A. Miles II
9e69940171
feat: Update query states to use spinner vs. progress bar (#17804)
* lit

* remove reference for progress bar

* update to loading

* update switch out spinner for loading when progress hits 100

* update test
2022-01-05 10:43:42 -08:00
Yongjie Zhao
ceecc7047b
chore: remove unused eslintrc (#17860)
* chore: remove unused eslintrc

* remove unused lint

* add comments

* change comments
2022-01-05 19:31:12 +08: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
David Aaron Suddjian
de3d3973a2
fix: process color scheme configs correctly (#17786) 2022-01-04 15:27:10 -08:00
Yongjie Zhao
eff4d387de
fix(cypress): flake cypress test case (#17918) 2022-01-04 16:56:13 -03:00
Stephen Liu
07998fea68
fix(explore): simple tab content input problem (#17872) 2022-01-03 12:41:19 +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
Beto Dealmeida
9baeafec93
feat: configure force_screenshot (#17855)
* Update existing tests

* Add backend test

* feat: add force option to report screenshots

* Add tests

* Rebase fixes

* Do not force screenshot on dashboard alerts

* feat: bypass cache on screenshots for alerts

* Update existing tests

* Add tests

* feat: configure force_screenshot
2021-12-22 13:46:00 -08:00
Beto Dealmeida
2cd8054358
feat: add force option to report screenshots (#17853)
* Update existing tests

* Add backend test

* feat: add force option to report screenshots

* Add tests

* Rebase fixes

* Do not force screenshot on dashboard alerts
2021-12-22 12:16:04 -08:00
Lyndsi Kay Williams
d2ed1b72dc
chore: Help user to find the input fields in the dataset editor (#17824)
* Updated fields in Metrics and Calculated Columns tabs inside dataset editor, deleted label in expanded Metrics tab

* Fix tests

* Vertically aligned rows in columns tab
2021-12-22 12:21:37 -06:00
Beto Dealmeida
b7707e8ff7
feat: bypass cache on screenshots for alerts (#17695)
* feat: bypass cache on screenshots for alerts

* Update existing tests

* Add backend test

* Add frontend test
2021-12-22 08:26:38 -08:00
Yongjie Zhao
9840fbf49b
refactor(monorepo): update plugin dependencies (#17837)
* refactor(monorepo): use local dependencies in packages.json

* add prettier ignore

* update commit message

* fix release workflow

* refine release script
2021-12-22 16:26:12 +08:00
Stephen Liu
ec48dd5c40
fix(dashboard): update native filter info in metadata is not updated (#17842) 2021-12-22 08:47:27 +02:00
Phillip Kelley-Dotson
cfd851aa13
fix: replace datamask with key from new key value api (#17680)
* afirst stage to ccheck to get initial datamask

* clean up code and update typescript

* remove consoles

* fix ts and update copy dashboard url

* use key when one doesn't exists

* lint clean up

* fix errors

* add suggested changes

* remove line

* add tests and add changes for copydashboard

* fix lint

* fix lint

* fix lint

* Update superset-frontend/src/dashboard/components/Header/index.jsx

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

* add timeout

* fix test

* fix test, add qs to cypress and add suggestions

* add suggestions

* fix lint

* more suggested changes for backwards comapat

* fix lint

* cleanup naming and add qs parse to tests

* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/index.tsx

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

* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/index.tsx

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

* more changes and fix lint

* remove nativefiler param

* fix path

* remove con

* simplify logic

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-12-21 09:08:48 -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
Ville Brofeldt
19daf65b54
chore(generator-superset): migrate to monorepo (#17829)
* chore(generator-superset): migrate to monorepo

* add todo and remove webpack reference from template

* fix linting errors

* remove redundant test file
2021-12-21 11:44:21 +02: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
5b0aa27f2b
feat: Persist SQL Lab autocomplete setting across tabs and visits (#17708) 2021-12-20 15:53:48 -08:00
Erik Ritter
6edc183c5f
chore: Refactor localstorage into typesafe version (#17832) 2021-12-20 13:58:59 -08:00
Yongjie Zhao
0a33fcf318
chore: add lerna version (#17828) 2021-12-20 23:06:51 +08:00
Yongjie Zhao
8fe2f5ffff
refactor(monorepo): migrate plugins release workflow (#17827) 2021-12-20 21:58:10 +08:00
Holger Bruch
61a6aa0f97
Map schemes json to SequentialScheme (#17813) 2021-12-20 09:38:24 +02:00
Srini Kadamati
53e2fa6f57
chore: updated screenshots in README.md and added recent events (#17650)
* chore: updated screenshots in readme.md and added recent events

* chore: updated pinot superset connection instructions

* fixed outdated slack link

* addressed all outstanding feedback!

* updated package lock

* reverted package.json to master

* Update README.md

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

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-12-17 11:43:46 -05: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
Grace Guo
c5af7a48df
fix: [alert] allow decimal for alert threshold value (#17751)
* fix: [alert] add tooltip message for alert threshold value

* support decimal value for alert condition threshold

* add integration test
2021-12-16 22:51:23 -08:00
Ville Brofeldt
961766e833
fix(filter-sets): 404 on dashboard load (#17777) 2021-12-16 11:27:46 +02:00
Kamil Gabryjelski
82b47cacba
fix(plugin-chart-table): sort alphanumeric columns case insensitive (#17765) 2021-12-15 11:48:25 -07:00
Geido
274fb37a91
fix: Remove positions from json_metadata (#17766)
* Remove positions from json_metadata

* Update superset-frontend/src/dashboard/components/PropertiesModal/index.tsx

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>

* Indent

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2021-12-15 11:32:31 -07:00
Ville Brofeldt
6d97e89ad1
chore: bump react-resize-detector (#17764) 2021-12-15 17:14:54 +02: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
Stephen Liu
142b5bc506
fix: local warning in the frontend development (#17727) 2021-12-15 09:52:42 +02:00
Beto Dealmeida
2a6e5e5e5c
fix: import DB errors (#17748) 2021-12-14 18:32:57 -08:00
Beto Dealmeida
63d9693f21
feat: add main datetime column to dataset editor (#17739)
* feat: add main dttm col to dataset editor

* Add tests
2021-12-14 14:47:08 -08:00
Yongjie Zhao
07bbe8448b
refactor(monorepo): change coverage of core to 100% (#17698) 2021-12-14 16:19:55 +08: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
Geido
4b969710e4
Rename CertifiedIcon to CertifiedBadge (#17715) 2021-12-10 11:45:53 -07:00
Kamil Gabryjelski
b5b6ceb1b3
fix(explore): don't apply time range filter to Samples table (#17711) 2021-12-10 11:40:11 -07:00
Geido
8de93871d7
Fix flacky header (#17690) 2021-12-10 18:25:40 +02:00
Geido
dad8c20af7
fix(Dashboard): Copy dashboard with duplicating charts 500 error (#17707)
* Fix copy dashboard with charts

* Fix Cypress test
2021-12-09 16:25:01 -07:00
Stephen Liu
bdc4e7a322
fix(explore): deck.gl Multiple chart broken (#17703) 2021-12-09 20:03:02 +02:00
Geido
12bd1fcde5
fix: Save properties after applying changes in Dashboard (#17570)
* Refactor PropertiesModal

* Update json_metadata fully

* Clean up

* Verify values

* Catch changed to metadata

* Always updated dashboard info on update

* Avoid unnecessary fetches

* Formt

* Fix copy dashboards

* Fixes onUpdate onCopy handlers

* Pylint

* Update tests

* Clean up

* Handle data on show

* Change Save to Apply

* Update Cypress save test

* Update Cypress edit prop test

* Update PropertiesModal test

* Fix duplicate request with cross filters

* Improve code style

* Fix typo

* Lint
2021-12-09 10:03:07 -07: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
Geido
aad2abe7f0
Fix undefined error (#17692) 2021-12-08 13:30:41 -07:00
Geido
46cdc77ae6
fix: Redirect on 401 (#17597)
* Redirect on 401

* Bump FAB

* Format

* Update Cypress save test

* Revert Cypress change

* Bump FAB 3.4.1rc2

* Update test

* Update return statement

* Update api test

* Update datasets api test

* Update datasets api 401s to 403s

* Add typeguard

* Use Promise.resolve

* Update callApiAndParseWithhTimeout test

* Disable parseResponse test

* Try catch

* Handle npm 8 issues
2021-12-08 13:14:30 -07:00
Ville Brofeldt
c4b04952d0
feat: customize recent activity access (#17589)
* feat: customize recent activity access

* address comments

* fix and add tests

* add alert assertion and UPDATING.md entry

* replace .get_id() with .id

* fix updating comment

* update config name
2021-12-08 11:30:23 +02: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
Yongjie Zhao
4306289bfc
refactor(monorepo): frontend code cleanup after monorepo (#17639)
* chore: frontend cleanup

* remove unused files

* remove stylelint

* arrange tsconfig

* updates
2021-12-04 10:55:04 +08:00
Lyndsi Kay Williams
05752e3fe8
fix(sqllab): Floating numbers not sorting correctly in result column (#17573)
* Floating nums now sorting correctly with parseFloatingNums function

* Floating numbers AND strings now sorting correctly, +locale comparison

* Added NULL handling back to sort function

* Moved parseFloatingNums outside of sortResults

* Removed localeCompare and added testing

* Add equality check back to sort function

* Added floatValue nit
2021-12-03 16:31:46 -08:00
Kamil Gabryjelski
07e8837093
feat(explore): export csv data pivoted for Pivot Table [ID-9] (#17512)
* feat(explore): export csv data pivoted for Pivot Table

* Implement dropdown with download csv options

* Change label to "Original"

* Add tests

* Add form data to query context

* Add form data to query context generator

* Explicitly make form_data optional
2021-12-03 12:42:28 +01:00
Jesse Yang
73e7928c4b
chore(superset-ui): clean up legacy-plugin-chart-time-table (#17626) 2021-12-02 17:14:10 -08:00
Stephen Liu
b5d13d72f2
fix(dataset): modal sql editor error (#17612)
* fix(dataset): model sql editor

* add tests
2021-12-02 13:02:19 -07: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
Hugh A. Miles II
d9e9c3a3de
refactor: Add AutoSizer to react-virtualized Grid (#17606)
* remove styles from renderCell

* remove styling on grid
2021-12-02 12:47:47 -05:00
Stephen Liu
a3cce5705d
feat(explore): support show annotation label [ID-8] (#17307)
* feat(explore): support always show annotation label

* fix: lint

* fix: lint

* Hopefully appeasing the linter

* fix: lint

* Update superset-frontend/src/explore/components/controls/AnnotationLayerControl/AnnotationLayer.jsx

Co-authored-by: Geido <60598000+geido@users.noreply.github.com>

* change to allow none

* lint

Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2021-12-02 00:26:32 -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
Matt Houston
54b56fe12f
feat: Add single select and inverse selection to numeric range (#16722) (#17372)
* feat: add single select and inverse selection to numeric range (#16722)

* Ignore invalid eslint errors regarding conditionally called hooks.

* Add license header to new file.

* Flipped the numerical range values for the minimum slider so that the highlighted range value accurately reflects the applied filter.

* Resolved linting errors

* Remove unnecessary important flag from css
2021-12-01 15:28:11 -08:00
Evan Rusackas
f949c8ed7a
chore: bumping polished package (#17575)
* chore: bumping `polished` package

* New package lock after rebase
2021-12-01 14:15:25 -07:00
Geido
8963cca265
Revert "fix(Dashboard): Only apply changes when editing properties (#17392)" (#17618)
This reverts commit 0712be4c12.
2021-12-01 11:35:55 -07:00
Daman Arora
c6ba9bf9db
chore: migrate EstimateQueryCostButton component from jsx to tsx (#17603)
* migrate EstimateQueryCostButton component from jsx to tsx

* re-format spaces using prettier

* Update superset-frontend/src/SqlLab/components/EstimateQueryCostButton/index.tsx

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>

* remove extra onClick and make disabled prop optional

* restore & rename event handler onClick to onClickHandler

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
2021-12-01 09:28:52 -08:00
Evan Rusackas
c70ac1cfe6
chore: auditing cupress-base dependencies (#17577) 2021-11-30 17:32:07 -07:00
dependabot[bot]
55d2bead90
chore(deps-dev): bump @types/jquery in /superset-frontend (#17533)
Bumps [@types/jquery](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jquery) from 3.5.8 to 3.5.9.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jquery)

---
updated-dependencies:
- dependency-name: "@types/jquery"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 17:31:21 -07:00
dependabot[bot]
08f28c8006
chore(deps-dev): bump @types/enzyme in /superset-frontend (#17534)
Bumps [@types/enzyme](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/enzyme) from 3.10.5 to 3.10.10.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/enzyme)

---
updated-dependencies:
- dependency-name: "@types/enzyme"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 17:30:51 -07:00
dependabot[bot]
8f52314cf9
chore(deps-dev): bump mini-css-extract-plugin in /superset-frontend (#17535)
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 2.3.0 to 2.4.5.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.3.0...v2.4.5)

---
updated-dependencies:
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 17:30:22 -07:00
Phillip Kelley-Dotson
4e76637252
initial fix (#17547) 2021-11-30 08:24:18 -08:00
Yongjie Zhao
db42cea070 fix EOF 2021-11-30 11:26:18 +08:00
Yongjie Zhao
21a86229bc remove temporary_superset_ui 2021-11-30 11:17:54 +08:00
Ville Brofeldt
c3ab372a52 v0.4.13 2021-11-30 11:14:39 +08:00
Yongjie Zhao
5baffa8375 chore: import esmodule from chart-controls (#47) 2021-11-30 11:14:39 +08:00
David Aaron Suddjian
ec44a2ebee v0.4.12 2021-11-30 11:14:38 +08:00
David Aaron Suddjian
23261bae3a chore: bump superset-ui peer dependencies (#46) 2021-11-30 11:14:38 +08:00
David Aaron Suddjian
50a712cb96 chore: version bump (#45)
* chore: version bump

* chore: use 0.x.x to avoid future issues
2021-11-30 11:14:38 +08:00
Ville Brofeldt
c99e520c50 v0.4.11 2021-11-30 11:14:38 +08:00
Ville Brofeldt
c3e5edf7cf fix(scatter): fix legend and labels (#43) 2021-11-30 11:14:38 +08:00
Ville Brofeldt
55b3c7933d fix(hex): restore control panel to functioning state (#42) 2021-11-30 11:14:37 +08:00
Ville Brofeldt
d96f84bb0a v0.4.10 2021-11-30 11:14:37 +08:00
Ville Brofeldt
1ce0d8395d chore(deps): bump libs 2021-11-30 11:14:37 +08:00
Ville Brofeldt
aba0d0e2d2 chore: bump deckgl and mapbox libs (#41) 2021-11-30 11:14:37 +08:00
Kamil Gabryjelski
6ed2651a0b v0.4.9 2021-11-30 11:14:37 +08:00
Kamil Gabryjelski
bf39b282e3 chore: readme lint fix 2021-11-30 11:14:36 +08:00
Kamil Gabryjelski
7242c405bb chore: fill descriptions and rearrange tags (#40) 2021-11-30 11:14:36 +08:00
Ville Brofeldt
044789f4b9 docs: add instructions for npm release (#39) 2021-11-30 11:14:36 +08:00
Ville Brofeldt
89e214c73b v0.4.8 2021-11-30 11:14:36 +08:00
Ville Brofeldt
3d54d19723 chore: fix lint 2021-11-30 11:14:36 +08:00
sowo
f0369fda6e Fix issue with large timestamp arrays (#35)
* Fix issue with large timestamp arrays

Math.max and Math.min produce "Maximum call stack size exceeded" errors when used with large arrays (see: https://stackoverflow.com/questions/18308700/chrome-how-to-solve-maximum-call-stack-size-exceeded-errors-on-math-max-apply)

* fix issue when viewport.zoom < 0

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/utils/time.js

Sure. Style changed

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

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-11-30 11:14:36 +08:00
Yaozong Liu
9b8524c7b1 chore: add tags and description for viz gallery (#38)
* chore: add tags and description

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Arc/index.js

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Hex/index.js

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Scatter/index.js

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* Update packages/superset-ui-legacy-preset-chart-deckgl/src/layers/Screengrid/index.js

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2021-11-30 11:14:35 +08:00
Yongjie Zhao
aae89276a3 chore: add Highly-used tag for charts (#36) 2021-11-30 11:14:35 +08:00
Ville Brofeldt
4a9cc528dd v0.4.7 2021-11-30 11:14:35 +08:00
Kamil Gabryjelski
5e6af313e2 feat(chart-controls): implement dnd controls for all charts (#33) 2021-11-30 11:14:35 +08:00
Jesse Yang
4df23a4a6c v0.4.6 2021-11-30 11:14:35 +08:00
Jesse Yang
1817f1ceae chore: downgrade superset-ui/core to 0.17.11 2021-11-30 11:14:34 +08:00
Jesse Yang
2975acc4ef chore: bump demo package version 2021-11-30 11:14:34 +08:00
Jesse Yang
18604f4dd2 v0.4.5 2021-11-30 11:14:34 +08:00
Jesse Yang
b88265e0ab chore: upgrade node to v14 and bump peerDependencies 2021-11-30 11:14:34 +08:00
Jesse Yang
28f534a364 v0.4.4 2021-11-30 11:14:34 +08:00
Yongjie Zhao
6da8b7a628 chore: bump peerDependencies to 0.17.12 2021-11-30 11:14:33 +08:00
Jesse Yang
4d50245417 build: add --extract to publish script 2021-11-30 11:14:33 +08:00
Jesse Yang
c075430400 v0.4.3 2021-11-30 11:14:33 +08:00
Jesse Yang
67a75c023b chore: bump peerDependencies to 0.17.11 2021-11-30 11:14:33 +08:00
Jesse Yang
1f096038c9 build: add commands to release via lerna (#27) 2021-11-30 11:14:33 +08:00
Jesse Yang
f7534475cc v0.4.2 2021-11-30 11:14:32 +08:00
Jesse Yang
3ca1ea78c2 chore: upgrade superset-ui peerDependencies (#26) 2021-11-30 11:14:32 +08:00
Kamil Gabryjelski
18d0c48333 fix(superset-ui-legacy-preset-chart-deckgl): fix download map as image (#25)
* fix(superset-ui-legacy-preset-chart-deckgl): fix download map as image

* fix(superset-ui-legacy-preset-chart-deckgl): lint fix
2021-11-30 11:14:32 +08:00
dependabot[bot]
e105a37cd2 build(deps): bump urijs (#23)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.2 to 1.19.4.
- [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[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 11:14:32 +08:00
Ville Brofeldt
d859abafd5 v0.4.1 2021-11-30 11:14:32 +08:00
Evan Rusackas
13b73c9f1c chore: lint fix 2021-11-30 11:14:31 +08:00
Evan Rusackas
d0add1a8b1 Fixing multi layer controls (#24)
* fix: docs updated with queriesData

* chore: package linting

* fix: restoring missing controls

* feat: sections.legacyRegularTime
2021-11-30 11:14:31 +08:00
Ville Brofeldt
d374375ae3 v0.4.0 2021-11-30 11:14:31 +08:00
Ville Brofeldt
9e10e04dbe chore: bump superset-ui and update references to queriesData (#22)
* chore: update references to queriesData

* fix: add legacy time sections

* fix: add missing deps
2021-11-30 11:14:31 +08:00
Jesse Yang
687b70d640 v0.3.2 2021-11-30 11:14:31 +08:00
Jesse Yang
667d56c0d1 fix: missing groupby/dimension select options (#21) 2021-11-30 11:14:30 +08:00
Jesse Yang
e0c28e38f5 v0.3.1 2021-11-30 11:14:30 +08:00
Jesse Yang
73856a305a chore: add command to cleanup tsc buildinfo 2021-11-30 11:14:30 +08:00
Jesse Yang
36c9805e89 chore: compress thumbnails with pngquant (#19)
Ran following commands:

```
brew install pngquant
pngquant --quality=65-80 ./packages/**/*.png --ext .png --force
```
2021-11-30 11:14:30 +08:00
Jesse Yang
646293ac11 v0.3.0 2021-11-30 11:14:29 +08:00
Jesse Yang
080ddd21eb chore: upgrade superset-ui packages and update tsc (#18) 2021-11-30 11:14:28 +08:00
Krist Wongsuphasawat
c9b285aa2a v0.2.5 2021-11-30 11:14:28 +08:00
Krist Wongsuphasawat
b6ae76e88f build: update lock 2021-11-30 11:14:28 +08:00
Phillip Kelley-Dotson
24c1285c4a chore(legacy-deckgl): add deckgl control panels to deckgl monorepo (#17)
* add deckgl control panels to deckgl monorepo

* fix lint errors

* readd chart-controls as dependency?

* restructure deck layer folder files and convert chart to emotions

* move peers back to depends

* move dependencies

* add lock file

* fix for eslint bug?

* update breaking package

* Update index.js
2021-11-30 11:14:28 +08:00
Krist Wongsuphasawat
e45825de9b v0.2.4 2021-11-30 11:14:27 +08:00
Krist Wongsuphasawat
46db778baa feat: update dependencies to 0.13 2021-11-30 11:14:27 +08:00
Krist Wongsuphasawat
8256d99cd1 feat: update dependencies to 0.13 2021-11-30 11:14:27 +08:00
Krist Wongsuphasawat
9583a36f37 v0.2.3 2021-11-30 11:14:27 +08:00
Krist Wongsuphasawat
8fbeba101c feat: make all deckgl charts handle their own tooltips (#13)
* feat: make all deckgl charts handle their own tooltips

* fix: use destructuring
2021-11-30 11:14:27 +08:00
Krist Wongsuphasawat
f3e5a10518 v0.2.2 2021-11-30 11:14:26 +08:00
Krist Wongsuphasawat
abc4a04294 feat: support polygon tooltip independently from superset app (#12)
* feat: support polygon tooltip independently from superset app

* fix: remove unintended changes

* fix: minor styling

* fix: tooltip

* fix: lowercase name

* fix: storybook
2021-11-30 11:14:26 +08:00
Krist Wongsuphasawat
4f0d4e038b v0.2.1 2021-11-30 11:14:26 +08:00
Krist Wongsuphasawat
940e449bbe feat: make polygon support geojson feature and fix autozoom (#11)
* feat: support standard geojson feature in polygon

* fix: viewport autozoom

* fix: type

* fix: lint

* refactor: renames

* fix: travis

* build: add yarn.lock

* fix: travis

* fix: error message

* fix: storybook

* fix: improt

* fix: address comments

* fix: storybook

* fix: remove yarn.lock

* refactor: viewport

* fix: extension

* fix: extension
2021-11-30 11:14:26 +08:00
Krist Wongsuphasawat
1a93f58550 v0.2.0 2021-11-30 11:14:25 +08:00
Krist Wongsuphasawat
8a4e141448 feat: change bundle to target modern browser (#10) 2021-11-30 11:14:25 +08:00
Krist Wongsuphasawat
55dc4f7a53 build: update browser target 2021-11-30 11:14:25 +08:00
Krist Wongsuphasawat
42cefc48ca build: remove babel transform runtime (#9) 2021-11-30 11:14:25 +08:00
Krist Wongsuphasawat
b7ec4bf266 build: migrate to nimbus (#8)
* build: migrate to nimbus

* fix: eslint-disable statements

* fix: conflict

* fix: lint

* fix: lints

* fix: bump packages
2021-11-30 11:14:25 +08:00
Krist Wongsuphasawat
b50ab75983 docs: update readme 2021-11-30 11:14:24 +08:00
khtruong
b5fa25a7df v0.1.1 2021-11-30 11:14:24 +08:00
Maxime Beauchemin
cac4e07bfe feat: add plugin for Kepler (#2)
* feat: add plugin for Kepler

* fix: add dep and update naming for consistency

* fix: lint issues
2021-11-30 11:14:24 +08:00
Kim Truong
317f185d36 fix: remove storybook dependency (#3)
* fix: remove storybook dependency

* fix: update node
2021-11-30 11:14:24 +08:00
Maxime Beauchemin
6c895c9510 Merge pull request #1 from apache-superset/upgrade_simple
chore: upgrade to deck.gl 7.x
2021-11-30 11:14:24 +08:00
Krist Wongsuphasawat
369021dc3f Update README.md 2021-11-30 11:14:23 +08:00
Krist Wongsuphasawat
f833c12bc3 docs: update readme 2021-11-30 11:14:23 +08:00
Krist Wongsuphasawat
168a88acf6 docs: update readme 2021-11-30 11:14:23 +08:00
Krist Wongsuphasawat
39be9ad6f0 fix: peer dependency version 2021-11-30 11:14:23 +08:00
Krist Wongsuphasawat
ceba4f0983 v0.1.0 2021-11-30 11:14:23 +08:00
Krist Wongsuphasawat
976e88dff8 test: add unit test 2021-11-30 11:14:22 +08:00
Krist Wongsuphasawat
b98fecd1be fix: lint 2021-11-30 11:14:22 +08:00
Krist Wongsuphasawat
46384d790a fix: bug due to name mangle when minifying 2021-11-30 11:14:22 +08:00
Krist Wongsuphasawat
4c335a1df9 docs: add polygon demo 2021-11-30 11:14:22 +08:00
Krist Wongsuphasawat
b114a29f60 docs: add screengrid demo 2021-11-30 11:14:22 +08:00
Krist Wongsuphasawat
f3f691f757 docs: add scatter demo 2021-11-30 11:14:21 +08:00
Krist Wongsuphasawat
a872d9c229 docs: add hex demo 2021-11-30 11:14:21 +08:00
Krist Wongsuphasawat
853102c4eb docs: add grid demo 2021-11-30 11:14:21 +08:00
Krist Wongsuphasawat
5d5e68bdf5 docs: add path demo 2021-11-30 11:14:21 +08:00
Krist Wongsuphasawat
fd6b2b6ebe docs: add storybook for arc 2021-11-30 11:14:21 +08:00
Krist Wongsuphasawat
54b5be5c7a docs: clear changelog 2021-11-30 11:14:20 +08:00
Krist Wongsuphasawat
5cad9d65d2 docs: update readme 2021-11-30 11:14:20 +08:00
Krist Wongsuphasawat
c2f490ad19 refactor: rename packages 2021-11-30 11:14:20 +08:00
Krist Wongsuphasawat
9377688081 fix: update package.json 2021-11-30 11:14:20 +08:00
Krist Wongsuphasawat
096454e9cf fix: lints (mostly disabled) 2021-11-30 11:14:19 +08:00
Krist Wongsuphasawat
b1074fc872 fix: lint 2021-11-30 11:14:19 +08:00
Krist Wongsuphasawat
ad74e60e99 feat: add deckgl files 2021-11-30 11:14:19 +08:00
Krist Wongsuphasawat
3b7cec5e06 initial commit 2021-11-30 11:14:18 +08:00
Yongjie Zhao
b09a5495e5 add temporary_superset_ui 2021-11-30 11:13:31 +08:00
Yongjie Zhao
3c41ff68a4
refactor(monorepo): move superset-ui to superset(stage 2) (#17552) 2021-11-30 08:29:57 +08:00
Daman Arora
bfba4f1689
chore: migrate Fieldset component from jsx to tsx (#17474)
* migrate Fieldset component from jsx to tsx

* update type check for fieldKey

* remove unused css class called fieldset
2021-11-29 14:17:54 -08:00
Michael S. Molina
a959e6df45
fix: Visualizations don't load when using keyboard shortcuts (#17542) 2021-11-29 09:14:21 -03:00
Holger Bruch
6604a6ab28
chore(translations): Add missing i18n (#17525)
* Add *.ts to babel.cfg

* Add missing i18n calls

* Update pot file

* Fix lint issues and review comment

* Incorparate review feedback

* Fix missing or non-extractable i18n calls

* Update pot file

* Fix syntax error in CommonParameters.tsx

* Fix introduced issues
2021-11-27 14:50:33 +02:00
Nithin George Philips
4cf429c154
feat: add classNames for apply and clearAll buttons for superset filters (#17554)
Co-authored-by: Nithin Philips <nithinphilips@Administrators-MacBook-Pro.local>
2021-11-27 12:09:36 +02:00
Yongjie Zhao
870d2ab16f
Merge pull request #17445 from zhaoyongjie/monorepo_relocate_superset_ui
refactor(monorepo): relocate superset-ui
2021-11-26 18:28:01 +08:00
Yongjie Zhao
61a9517fb8 chore: ignore temporary_superset_ui in jest config 2021-11-26 17:17:50 +08:00
Yongjie Zhao
fe1d91015a chore: add .prettierignore and update pre-commit-config 2021-11-26 17:17:24 +08:00
Yongjie Zhao
e7cc08a6f4 chore: ignore temporary_superset_ui checking 2021-11-26 17:17:11 +08:00
Hugh A. Miles II
2e29f36e78
fix: RBAC for export for dashboard viewers (#17527)
* set out export

* update test

* use default dataset

* update test

* these test work

* fix test

* update

* fix

* fix test

* make the test better
2021-11-25 20:10:41 -08:00
Yongjie Zhao
2836c80b31 chore: publish v0.18.25 2021-11-26 11:47:40 +08:00
Stephen Liu
7f44a0402d fix(plugin-chart-echarts): fix legend margin in radar and ts chart (#1470) 2021-11-26 11:47:40 +08:00
Yongjie Zhao
d490ee89b1 chore: fix end-of-file (#1468)
* chore: end of file fixer

* compress image

* lint without build

* lintrc improvment

* exporting

* update parallel-coordinates tsconfig

* add license to md file

* add license

* add eslintignore
2021-11-26 11:47:39 +08:00
geido
0e60be4f3c chore: publish v0.18.24 2021-11-26 11:47:39 +08:00
Geido
22d976a600 Pass dashboardId to control (#1467) 2021-11-26 11:47:39 +08:00
Ville Brofeldt
85e7d02820 chore: publish v0.18.23 2021-11-26 11:47:39 +08:00
Kamil Gabryjelski
2b8e4a18dc fix(plugin-chart-pivot-table): cross filtering by adhoc column (#1465) 2021-11-26 11:47:39 +08:00
Yongjie Zhao
852478b7cd chore: coordinate storybook with main repository (#1466)
* chore: coordinate storybook with main repository

* update lock file
2021-11-26 11:47:39 +08:00
Ville Brofeldt
b25e0d6f74 chore: publish v0.18.22 2021-11-26 11:47:39 +08:00
John Bodley
3894cb0e26 fix: update chart sorting control labels/descriptions (#1462)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-11-26 11:47:39 +08:00
Ville Brofeldt
e186adb62a fix(plugin-chart-echarts): fix opacity on area chart (#1464) 2021-11-26 11:47:39 +08:00
Yongjie Zhao
067fc8a009 chore: coordinate superset-ui unittest with main repository (#1463) 2021-11-26 11:47:38 +08:00
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
Stephen Liu
4359ed0e72 feat: remove the default Y-axis truncate in bar chart (#1450)
* feat:  remove the default Y-axis truncate in bar chart

* make all charts consistently

* fix lint
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
3cc4861a76 chore: bump @typescript-eslint/eslint-plugin 5.3.0 (#1457)
* chore: bump eslint 5.3.0

* fix lint
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
1896c842d6 chore: tweak unittest (#1460)
* chore: tweak unittest

lint

* lint
2021-11-26 11:47:37 +08:00
Hugh A. Miles II
67f1083af6 feat: Set default for Accept field in header to take application/json (#1413)
* Update SupersetClientClass.ts

* Update SupersetClientClass.ts

* add comment

* update test
2021-11-26 11:47:37 +08:00
Yongjie Zhao
069d4115a8 chore: publish v0.18.20 2021-11-26 11:47:37 +08:00
Stephen Liu
a71d3caa6c feat(legacy-plugin-chart-calendar): increase the contrast of calendar heatmap color and label (#1452)
* feat(legacy-plugin-chart-calendar): increasecontrast of calendar heatmap

* rename getContrastingColor and put it core

* fix: unit test
2021-11-26 11:47:37 +08:00
Stephen Liu
259ff67ef7 feat(plugin-chart-echarts): support always show annotation label (#1449) 2021-11-26 11:47:37 +08:00
Yongjie Zhao
4a95b6a48a chore: check node and npm version in release workflow (#1454)
* chore: check npm and node version in learn publish

* update error

* distinguished between node and npm
2021-11-26 11:47:37 +08:00
Yongjie Zhao
beb4376a2a chore: update lockfile (#1451)
* fix: lock file blocked CI

* increase coverage
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
Ville Brofeldt
fb5e5af88a fix(plugin-chart-echarts): fix tick labels and tooltip (#1447)
* fix(plugin-chart-echarts): fix tick labels and tooltip

* remove redundant conditional expression
2021-11-26 11:47:36 +08:00
Muhammad Hewedy
28dff9b395 feat: Add Saudi Arabia country map (#1416)
* Add saudi arabia provinces geojson - source https://maps.elastic.co/#file/saudi_arabia_provinces

* fix format of goejson to follow superset format parsed by CountryMap.js

Co-authored-by: mhewedy <mhewedy@elm.sa>
2021-11-26 11:47:36 +08:00
Ville Brofeldt
b80b220e4b chore(plugin-chart-echarts): bump echarts to 5.2.2 (#1440)
* chore(plugin-chart-echarts): bump echarts to 5.2.2

* bump package
2021-11-26 11:47:36 +08:00
Stephen Liu
71935725c3 feat: support sort the rich tooltip by metric desc (#1445)
* feat: support rich tooltip sort by metric

* fix: vercel ci
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
2029b37f2e fix: incorrect commit message (#1443) 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
7f5249eda0 fix: can't update package-lock.json (#1442) 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
Stephen Liu
3a5bfa6488 fix: show value on the selected series (#1429)
* fix: show value on the selected series

* fix: callback
2021-11-26 11:47:35 +08:00
Michael S. Molina
8666f63c4a feat: adds the option to show values for mixed time-series (#1435) 2021-11-26 11:47:35 +08:00
JoaquinPretell92
e494f0065c feat(legacy-plugin-chart-country-map): add peru country map (#1424)
* Add files via upload

* Update countries.ts
2021-11-26 11:47:35 +08:00
Stephen Liu
46b4eca280 feat: add storybook for missing chart and fix broken treemap (#1427) 2021-11-26 11:47:34 +08:00
Yongjie Zhao
9b059b8127 fix: unable bump new version (#1434) 2021-11-26 11:47:34 +08:00
Yongjie Zhao
95657773c6 fix: remove npm logout (#1433) 2021-11-26 11:47:34 +08:00
Yongjie Zhao
2443df97df fix: lerna can't update package-lock.json (#1432)
* fix: lerna can't update package-lock.json

* upgrade commit message
2021-11-26 11:47:34 +08:00
Yongjie Zhao
282a051ead chore: publish v0.18.15 2021-11-26 11:47:34 +08:00
Yongjie Zhao
58d0246f9e fix: remove package-lock.json (#1426) 2021-11-26 11:47:34 +08:00
Yongjie Zhao
4a8d78304d chore: export module that use in main repo (#1425) 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
Stephen Liu
2e5d7d25c8 chore: adapte storybook 6 params (#1414) 2021-11-26 11:47:33 +08:00
Phillip Kelley-Dotson
e6ab2f791b chore: publish v0.18.14 2021-11-26 11:47:33 +08:00
Phillip Kelley-Dotson
4dc6443ac3 add ref type for superchart (#1411) 2021-11-26 11:47:33 +08:00
Yongjie Zhao
c44df76596 chore: upgrade storybook to 6.3.12 (#1409)
* chore: upgrade storybook to 6.3.12

* update title

* fix can't import styled
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
Phillip Kelley-Dotson
85136452a0 add prop to SuperChart for select (#1408) 2021-11-26 11:47:33 +08:00
David Aaron Suddjian
213e486a27 chore: upgrade datatables library (#1402) 2021-11-26 11:47:33 +08:00
John Bodley
0d1cda6d82 chore: publish v0.18.12 2021-11-26 11:47:33 +08:00
John Bodley
1f603203bb chore: translate fractional time grains (#1404)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
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
Phillip Kelley-Dotson
c28131a071 inital commit (#1397) 2021-11-26 11:47:32 +08:00
Yongjie Zhao
a1be5a32bd chore: avoid importing from lib (#1399) 2021-11-26 11:47:32 +08:00
Ville Brofeldt
635bb79ad5 chore(legacy-preset-chart-nvd3): deprecate MultiLine chart (#1394) 2021-11-26 11:47:32 +08:00
Yongjie Zhao
b0a4f873d0 fix: npm registry connection set to ssl (#1395) 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
Ville Brofeldt
f1613fd17e feat(plugin-chart-echarts): add support for custom forecasts (#1389) 2021-11-26 11:47:32 +08:00
erik_ritter
50f9d84d19 chore: publish v0.18.9 2021-11-26 11:47:32 +08:00
Grace Guo
927a9bde99 add feature flag: ENABLE_FILTER_BOX_MIGRATION (#1388) 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
Yongjie Zhao
d1461c684f fix: replace absolute difference with difference in legacy charts (#1384) 2021-11-26 11:47:31 +08:00
stevetracvc
98e2f744b3 feat(legacy-plugin-chart-histogram): cumulative histogram option (#1381)
* Add a cumulative option to make a cumulative histogram

* also add in percentile in the hover popup

* fix: add precision to percentile label

* fix: formatting ES lint issues
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
Roman F
a783131d7d feat: added italian regions country map (#1319)
Co-authored-by: Roman Fedyna <r.fedyna@reply.it>
2021-11-26 11:47:31 +08:00
Stephen Liu
ff8979b46e feat(plugin-chart-echarts): [feature-parity] support double clicking legend and series to view single selected series (#1324)
* feat(plugin-chart-echarts): support double clicking legend

* fix: get echart instance instead of method

* feat: support click series to view single series

* fix: lint

* fix: clear single select

* fix: remove unused comment

* fix: UT
2021-11-26 11:47:31 +08:00
Phillip Kelley-Dotson
de86eb9247 add y-axis control to bubble chart (#1377) 2021-11-26 11:47:31 +08:00
Ville Brofeldt
827b361fc2 chore: upgrade to Node 16 (#1374) 2021-11-26 11:47:31 +08:00
erik_ritter
992b7e4661 chore: publish v0.18.7 2021-11-26 11:47:31 +08:00
Erik Ritter
10248b9a7e chore: Remove immutable.js from map-box (#1375) 2021-11-26 11:47:30 +08:00
Ville Brofeldt
3bcf23c716 chore: publish v0.18.6 2021-11-26 11:47:30 +08:00
Ville Brofeldt
8f56a1fb95 refactor(core): move mexp from plugins to core (#1371)
* refactor(core): move mexp from plugins to core

* remove test nest
2021-11-26 11:47:30 +08:00
Lyndsi Kay Williams
43526009f3 fix: pivot-table-fixed (#1360) 2021-11-26 11:47:30 +08:00
Ville Brofeldt
055d9f8e42 chore(plugin-chart-echarts): bump to ECharts 5.2.1 (#1370)
* chore(plugin-chart-echarts): bump to ECharts 5.2.1

* ignore type error
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
Yongjie Zhao
93eb7f5831 chore: do prettier for yaml file (#1363) 2021-11-26 11:47:30 +08:00
Ville Brofeldt
78bbc2c014 chore: replace mathjs with mexp (#1362)
* chore: replace mathjs with mexp

* remove console.log and fix types
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
Yongjie Zhao
463b15382e chore: clean up mixed-timeseries chart (#1352) 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
David Aaron Suddjian
e1944cfb43 Revert "chore: isolate the one actual jquery dependency (#1339)" (#1355)
This reverts commit 19f8f6a09c284de157c7179d43275ea2344b2372.
2021-11-26 11:47:29 +08:00
David Aaron Suddjian
de9a1bb72a chore: publish v0.18.3 2021-11-26 11:47:29 +08:00
David Aaron Suddjian
c6511712af chore: isolate the one actual jquery dependency (#1339) 2021-11-26 11:47:29 +08:00
Marti Raudsepp
3d3da9d134 fix(legacy-plugin-chart-country-map): Correct ISO 3166-2 county codes for Estonia (#1344)
I have no idea how this happened, but most Estonian county codes were
off by one.

Unfortunately I couldn't compare it to latest data from
naturalearthdata.com, since download links are currently down.

Source: https://en.wikipedia.org/wiki/ISO_3166-2:EE#Counties

Primary source: https://www.evs.ee/en/iso-3166-2-2020 (but I'm not going
to pay 100 €)
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
Ville Brofeldt
70d3b1143b chore(plugin-chart-echarts): bump to ECharts 5.2.0 (#1340) 2021-11-26 11:47:28 +08:00
Yongjie Zhao
dbfbb47bda chore: publish v0.18.1 2021-11-26 11:47:28 +08:00
Stephen Liu
b7e49fc4db fix(plugin-chart-echarts): [feature-parity] display custom metrics (#1337) 2021-11-26 11:47:28 +08:00
Stephen Liu
6b1b1423b9 fix(plugin-chart-echarts): [guage chart] filter indicator not shown (#1326) 2021-11-26 11:47:28 +08:00
Yongjie Zhao
03b1db93c2 fix: bignumber format by time formatter (#1307)
* feat: bignumber format by time formatter

* fix ut

* rename control label
2021-11-26 11:47:28 +08:00
thanhtrinh2311
d237bb6e07 feat(legacy-plugin-chart-country-map): add Vietnam map (#1334) 2021-11-26 11:47:28 +08:00
David Aaron Suddjian
80fe8fd5cb chore: publish v0.18.0 2021-11-26 11:47:28 +08:00
David Aaron Suddjian
2b01890cad chore: color schemes can be default theoretically (#1335) 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
Geido
fdcc079e18 fix: Make the scrollbar appear inside the table (#1310)
* Scroll container

* Add X scroll

* Remove widht min-content
2021-11-26 11:47:27 +08:00
Ville Brofeldt
395b8a8b51 chore: publish v0.17.87 2021-11-26 11:47:27 +08:00
Yaozong Liu
18c05701dd fix(plugin-chart-echarts): [scatter-plot] remove contribution mode (#1325) 2021-11-26 11:47:27 +08:00
Ville Brofeldt
884b8ec098 feat(legacy-plugin-chart-country-map): add six new maps (#1327)
* feat(legacy-plugin-chart-country-map): add six new maps

* add svalbard

* update notebook
2021-11-26 11:47:27 +08:00
Yaozong Liu
d20e08e7f8 fix(plugin-chart-echarts): improve marksize range (#1323) 2021-11-26 11:47:27 +08:00
Yaozong Liu
471f245181 feat(plugin-chart-echarts): add only_total control to ts chart (#1313)
* feat(plugin-chart-echarts): add only_total control to ts chart

* fix

* fix: ci
2021-11-26 11:47:27 +08:00
erik_ritter
1e76ac650c chore: publish v0.17.86 2021-11-26 11:47:27 +08:00
Erik Ritter
3276a653e3 fix: Improve big number time format UX (#1320)
* fix: Improve big number time format UX

* Update controlPanel.tsx
2021-11-26 11:47:27 +08:00
Ville Brofeldt
370f4c0ec5 fix(legacy-plugin-chart-country-map): fix broken map of Finland (#1321) 2021-11-26 11:47:27 +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
Beto Dealmeida
912956bcdf chore: add a note to the pivot plugin (#1316) 2021-11-26 11:47:26 +08:00
Kamil Gabryjelski
42d15c9478 fix(plugin-chart-table): apply correct date formatting for time grain (#1315) 2021-11-26 11:47:26 +08:00
Yaozong Liu
10238c3805 feat(plugin-chart-echarts): rich tooltip in ts chart supports scroll and highlighted (#1304)
* feat(plugin-chart-echarts): richtooltip  supports highliting and scroll

* fix: test

* fix: todo
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
Yaozong Liu
c31892e905 fix(plugin-chart-echarts): fix Time-series line x-filtering not working when not rich tooltip (#1302)
* fix(plugin-chart-echarts): fix Time-series line x-filtering not working

* fix: fix emphasis

* fix: size
2021-11-26 11:47:26 +08:00
Evan Rusackas
4d29bd48e4 chore: publish v0.17.83 2021-11-26 11:47:26 +08:00
Evan Rusackas
80ee3342ba chore: removing errant label from two charts that don't have AA (#1306) 2021-11-26 11:47:25 +08:00
junlincc
c439d0f729 chore: publish v0.17.82 2021-11-26 11:47:25 +08:00
Evan Rusackas
5651923a28 chore: updating one metadata field (#1300) 2021-11-26 11:47:25 +08:00
krsnik93
c4bc66a1bf feat(legacy-preset-chart-big-number): add timestamp above number (#1278)
* feat(legacy-preset-chart-big-number): add timestamp above number

* add timestamp formatting

* revert to fallback warning when no timestamp

* fix smart date formatting

* fix test

Co-authored-by: Ivan Krsnik <ivan.krsnik@unipart.io>
2021-11-26 11:47:25 +08:00
junlincc
13519fd56e chore: publish v0.17.81 2021-11-26 11:47:25 +08:00
dependabot[bot]
9d432213d5 chore(deps): bump chalk from 4.1.0 to 4.1.2 (#1291)
Bumps [chalk](https://github.com/chalk/chalk) from 4.1.0 to 4.1.2.
- [Release notes](https://github.com/chalk/chalk/releases)
- [Commits](https://github.com/chalk/chalk/compare/v4.1.0...v4.1.2)
2021-11-26 11:47:25 +08:00
dependabot[bot]
e2cce03d1b chore(deps): bump @types/lodash from 4.14.168 to 4.14.172 (#1294)
Bumps [@types/lodash](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/lodash) from 4.14.168 to 4.14.172.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/lodash)
2021-11-26 11:47:25 +08:00
Kamil Gabryjelski
3c0e438321 chore(plugin-chart-pivot-table): change fontsize and border colors (#1286) 2021-11-26 11:47:25 +08:00
Kamil Gabryjelski
584e36cb04 chore(core): add ENABLE_DND_WITH_CLICK_UX ff (#1297) 2021-11-26 11:47:25 +08:00
dependabot-preview[bot]
0072ed160c chore(deps): [security] bump ssri from 6.0.1 to 6.0.2 (#1061)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2. **This update includes a security fix.**
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

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:47:25 +08:00
Yongjie Zhao
353d7f4a34 fix: 0 indicator on radar viz (#1282)
* fix: 0 indicator on radar viz

* fix lint
2021-11-26 11:47:24 +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
Michael S. Molina
76828f7e32 chore: stacks Heatmap controls (#1272) 2021-11-26 11:47:24 +08:00
Michael S. Molina
4d2a7eee25 chore: stacks and sorts Histogram controls (#1273) 2021-11-26 11:47:24 +08:00
dependabot-preview[bot]
d1d04530e5 Upgrade to GitHub-native Dependabot (#1081)
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-11-26 11:47:24 +08:00
dependabot-preview[bot]
a0b819ce42 chore(deps): [security] bump hosted-git-info from 2.8.8 to 2.8.9 (#1098)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9. **This update includes a security fix.**
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

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:47:24 +08:00
dependabot-preview[bot]
a9f92068a5 chore(deps): [security] bump dns-packet from 1.3.1 to 1.3.4 (#1136)
Bumps [dns-packet](https://github.com/mafintosh/dns-packet) from 1.3.1 to 1.3.4. **This update includes a security fix.**
- [Release notes](https://github.com/mafintosh/dns-packet/releases)
- [Changelog](https://github.com/mafintosh/dns-packet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mafintosh/dns-packet/compare/v1.3.1...v1.3.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:47:24 +08:00
dependabot-preview[bot]
deae552881 chore(deps): [security] bump ws from 5.2.2 to 5.2.3 (#1164)
Bumps [ws](https://github.com/websockets/ws) from 5.2.2 to 5.2.3. **This update includes a security fix.**
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/5.2.2...5.2.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:47:24 +08:00
dependabot-preview[bot]
7ad293d080 chore(deps): [security] bump postcss from 7.0.35 to 7.0.36 (#1174)
Bumps [postcss](https://github.com/postcss/postcss) from 7.0.35 to 7.0.36. **This update includes a security fix.**
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/7.0.35...7.0.36)

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:47:24 +08:00
dependabot-preview[bot]
fef99dca42 chore(deps): bump @babel/compat-data from 7.13.12 to 7.14.7 (#1181)
Bumps [@babel/compat-data](https://github.com/babel/babel/tree/HEAD/packages/babel-compat-data) from 7.13.12 to 7.14.7.
- [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.14.7/packages/babel-compat-data)

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:47:24 +08:00
dependabot-preview[bot]
ddf11fb222 chore(deps): [security] bump set-getter from 0.1.0 to 0.1.1 (#1185)
Bumps [set-getter](https://github.com/doowb/set-getter) from 0.1.0 to 0.1.1. **This update includes a security fix.**
- [Release notes](https://github.com/doowb/set-getter/releases)
- [Commits](https://github.com/doowb/set-getter/commits/0.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:47:23 +08:00
dependabot-preview[bot]
3aa71c8e91 chore(deps): [security] bump urijs from 1.19.6 to 1.19.7 (#1230)
Bumps [urijs](https://github.com/medialize/URI.js) from 1.19.6 to 1.19.7. **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.6...v1.19.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:47:23 +08:00
Jon Jensen
a4bc5bae61 fix(legacy-plugin-chart-sankey-loop): clear element before redrawing (#1223)
otherwise every (re)render adds a new svg to the element. this is essentially
the same as the fix that was applied to legacy-plugin-chart-sankey back in
apache/superset#254
2021-11-26 11:47:23 +08:00
dependabot-preview[bot]
fbdde908e1 chore(deps): [security] bump tar from 4.4.13 to 4.4.15 (#1266)
Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.15. **This update includes security fixes.**
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v4.4.13...v4.4.15)

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:47:23 +08:00
Anushka-Hapukotuwa
16f0ef29c4 added austria map to country map charts (#1267) 2021-11-26 11:47:23 +08:00
RooMax
f0b53989d0 feat(legacy-plugin-chart-country-map): add Australia geojson file (#1268)
* Added Australia geojson file
Added australia to countries.ts file

* added new line

Co-authored-by: Rusiru De silva <rusiru.desilva@mcmedisoft.com>
2021-11-26 11:47:23 +08:00