Commit Graph

6834 Commits

Author SHA1 Message Date
Xiang Fu
786c12d52d
fix: Fixing pinot query generation for date format conversion from python datetime format to java simple date format (#13163)
* Fixing pinot query generation for date format conversion from python datetime format to java simple date format

* Address comments

* fix test

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-02-20 08:26:34 +02:00
Thinking Chen
eea5fe3b60
fix: add the untranslated text content of Chart page, Sql Editor page and some dashboard label in messages.pot (#13123) 2021-02-19 17:54:22 -08:00
Jesse Yang
571b53e9cf
refactor: add frontend debounce constants (#13250) 2021-02-19 17:47:44 -08:00
Kamil Gabryjelski
42ff4fc19a
fix(explore): Reset values in TextControl only when datasource changes (#13211)
* Reset values in TextControl only when datasource changes

* Fix undefined error
2021-02-19 15:28:49 +02:00
Hugh A. Miles II
85d1e80544
fix: Update display string when sqlalchemy doc config us changed (#13219) 2021-02-18 17:04:13 -05:00
Beto Dealmeida
b34c863825
fix: add missing columns (#13216) 2021-02-18 13:27:07 -08:00
Geido
63e4e8a62b
test: Tests and Storybook entry for the ModalTriggerComponent (#13213)
* Kickstart tests

* Finalize tests

* Add storybook entry

* Remove unnecessary args types
2021-02-18 10:53:50 -08:00
Amit Miran
bcaa484aa9
fix: uncapitalize filter name (#13217) 2021-02-18 20:43:52 +02:00
Geido
66653ef306
test: Tests and Storybook entry for the Popover component (#13176)
* Initial Popover tests

* Add more cases

* Add Popover storybook entry

* Improve storybook entry

* Clean up
2021-02-18 10:18:24 -08:00
Geido
409fc83ca9
chore: Tab title to be empty when creating a new tab (#12773)
* Remove unwanted package lock

* Edit on new and autofocus

* Update test

* Remove autofocus
2021-02-18 10:14:59 -08:00
Michael S. Molina
9335b9c983
Migrates DropdownButton component from Bootstrap to AntD (#13002) 2021-02-18 10:14:21 -08:00
AAfghahi
9489f0b8f4
refactor: HighligthedSQL into functional component with Typescript (#13098) 2021-02-18 13:01:34 -05:00
ʈᵃᵢ
aa50161933
chore: add non-dev docker-compose workflow (#13143) 2021-02-18 09:55:15 -08:00
Beto Dealmeida
3d23adec5e
chore: use shillelagh instead of gsheetsdb (#13185)
* chore: use shillelagh instead of gsheetsdb

* Fix tests

* Clean up code and remove duplication

* Fix test

* Tighten dep
2021-02-18 09:48:18 -08:00
Hugh A. Miles II
3c58fc5ef5
feat: Move SQLAlchemy url reference to config (#13182) 2021-02-18 12:42:15 -05:00
Yann Jouanique
1e17ef3410
Evaluate configOverrides as templates (#13130) 2021-02-18 07:46:23 -08:00
Connor T. Skennerton
51c90ec013
Fix typo in pyathena connection string (#13201) 2021-02-18 10:38:05 -05:00
simcha90
2ff8741248
feat(filter-sets): Saving filter sets in metadata (#13205)
* feat: POC adding filters set feature

* lint: fix TS

* fix: fix FF name

* refactor: fix CR notes

* fix: fix update values in filter bar

* refactor: save filter sets in meta

* feat(filter-sets): save filters sets in metadata
2021-02-18 15:43:10 +02:00
Bruno Motta
f85497e69b
test: Adding test and storybook to "Loading" component. (#13179)
* moving Loading.tsx to the Loading folder

* Creating storybook for Loading component

* Creating unit test for Loading component

* fix eof on package.json

* Improving accessibility and interface

* just to run CI again
2021-02-18 00:43:09 -08:00
Michael S. Molina
fcd443d366
Creates storybook and tests for Tooltip component (#13184) 2021-02-17 22:51:35 -08:00
Hugh A. Miles II
d48b894573
fix: Grab datasets initially onMount (#13160) 2021-02-17 21:12:06 -05:00
Michael S. Molina
ad4ca2223e
feat: one-click copy chart and dashboard URL (#13037)
Closes #10328
2021-02-17 14:14:08 -08:00
michellethomas
91db008d72
fix: accept null groupby in form data for timeseries table viz (#13086)
* Allowing timeseries table groupby to be null in form data

* Check truthiness for is_group_by

Co-authored-by: michelle_thomas <michelle.thomas@airbnb.com>
2021-02-17 13:45:39 -08:00
Daniel Vaz Gaspar
4c544500a7
fix(api): apply dashboard filter to get dash charts API (#13173)
* fix(api): apply dashboard filter to get dash charts API

* lint
2021-02-17 13:42:07 -08:00
Will Barrett
2d95bfcd99
Ignore database migrations on coverage reports (#13136) 2021-02-17 11:10:54 -08:00
simcha90
5cbe2ac760
feat(filters-set): basic implementation for managing user filter sets (#13031)
* feat: POC adding filters set feature

* lint: fix TS

* fix: fix FF name

* refactor: fix CR notes

* fix: fix update values in filter bar
2021-02-17 21:06:12 +02:00
simcha90
450215549f
fix: cross filter functionality (#13178) 2021-02-17 20:59:37 +02:00
David Aaron Suddjian
e01015f792
fix: handle lack of dynamic plugins (#13141)
* handle lack of plugins

* clearer logic
2021-02-17 20:08:43 +02:00
Daniel Vaz Gaspar
13a5b439fe
feat(alerts): apply SQL limit to all alerts (#13150)
* feat(alerts): apply SQL limit to all alerts

* change limit to 2 and test

* undo mock

* mock, mock and mock

* lint
2021-02-17 18:03:35 +00:00
Daniel Vaz Gaspar
9568985b7b
fix: engines that don't support comments (#13153)
* fix: engines that don't support comments

* fix: engines that don't support comments

* add quick inexpensive test

* add test
2021-02-17 18:01:34 +00:00
Lily Kuang
e1bb7f4364
fix(alert/report): bulk select mode should be deactivated (#12977)
* close bulk delete when switch between alert and report

* update test for alert/report list
2021-02-17 09:45:00 -08:00
ʈᵃᵢ
6e09156598
fix(sqllab): menu link results in 404 (#13180) 2021-02-17 09:14:30 -08:00
simcha90
ad2aed5a68
fix(native-filters): Apply range filter (#13164)
* refactor: update range build query

* fix: apply range filter filtering

* fix: range resize action

* refactor: fix CR notes
2021-02-17 16:08:33 +02:00
simcha90
9c9becc3d5
fix: correct apply of native filter scopes (#13165) 2021-02-17 11:24:14 +02:00
David Aaron Suddjian
189aced320
refactor: remove deprecated chart.edit_url field from frontend usage (#13142) 2021-02-16 19:54:43 -08:00
Kamil Gabryjelski
da478531b2
Fix chart panel overflowing (#13154) 2021-02-17 09:37:35 +08:00
ʈᵃᵢ
c787f46f10
perf: add lazy loading along react-router routes and router links in menu (#13087) 2021-02-16 14:48:35 -08:00
ʈᵃᵢ
8b40bf695f
style: table sort icon alignment (#13139) 2021-02-16 11:23:40 -08:00
Erik Ritter
beee11de0f
fix: misspelling Erik Ritter (#13120)
* fix: misspelling Erik Ritter

* Add --all-tags to docker push to account for new default behavior

Co-authored-by: Rob DiCiuccio <rob.diciuccio@gmail.com>
2021-02-16 11:20:23 -08:00
Lily Kuang
f10dbbe0ac
fix(alert/report): add/edit modal issue (#12955)
* fix alert modal

* add test for edit modal
2021-02-16 11:18:39 -08:00
Kamil Gabryjelski
44723eabbe
fix(explore): Certificate icon not displaying for certified metrics (#13133)
* Fix certificate icon not displaying for certified metrics

* Remove redundant function

* Fix grammar mistake
2021-02-16 08:56:19 -08:00
Michael S. Molina
981deaaa22
Change test environment to jsdom (#13149) 2021-02-16 08:48:16 -08:00
Yann Jouanique
2e93784f86
feat(helm): Helm template for Celery beat (for reporting and alerting) (#13116)
* Custom superset_config.py + secret envs

* Helm template for celery beat

* Fix end of file

* Update helm/superset/values.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Rename pods

* Update helm/superset/values.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Added Kubernetes documentation

* Data source declarations

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>
2021-02-16 08:15:21 -08:00
Cheun Hong
94893ff280
feat: Added annotations and loadBalancerIP option in helm service.yaml (#13114)
* added annotations and loadBalancerIP option in helm service.yaml

* Update service.yaml

* Update values.yaml

* Update service.yaml
2021-02-16 08:12:01 -08:00
simcha90
5aa38ef929
feat(native-filters): enable filter indicator and make datasource optional (#13148)
* refactor: continue decouple native filters

* refactor(native-filters): decouple native filter parms from config modal

* lint: fix TS errors

* lint: fix TS errors

* refactor: update filter badge

* refactor: rename ant filters

* test: fix tests

* test: fix tests

* refactor: remove 18 from dataset
2021-02-16 16:12:35 +02:00
Ville Brofeldt
5ab613d89e
fix(database): ensure pk_constraint is JSON serializable (#13147) 2021-02-16 12:17:29 +02:00
Ville Brofeldt
d8c32b8097
fix(chart-data-api): support numeric temporal columns (#13138) 2021-02-16 09:51:22 +02:00
Jesse Yang
c9f76d58f0
chore: upgrade to npm 7 and superset-ui 0.17.9 (#13100) 2021-02-15 09:45:29 -10:00
David Aaron Suddjian
cc9103b0e2
feat(dashboard): API to get a dashboard's charts (#12978)
* feat(dashboard): get endpoint for a dashboard's charts

* temporary debugging fetch on the frontend

* attempted fixes

* singular -> plural derp

* plural -> singular derp derp

* docstring changes

* change return, no id

* move log above query

* add get_charts to include_route_methods /)_-)

* add get charts api

* result not response

* refactor test helper function to a mixin

* add test for new endpoint

* fix test when running in isolation

* correct comment

* rename test

* more tests, handle dashboard not found

* simplify test to use new helper function

* remove debugging code from frontend

* update docstring

* attempt a doc fix

* add id to api docs

* fix docs

* use pytest fixture

* why oh why does test order matter here, idk

* writing a schema for the endpoint

* more efficient fetching of charts

* testing tweaks

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2021-02-15 11:41:59 -08:00
Daniel Vaz Gaspar
2e6ea76631
fix(alerts): void query with numeric comparison (#13090)
* fix(alerts): void query with numeric comparison

* remove config changes

* fix tests

* better logic

* fix logic

* fix logic

* Improve test readability
2021-02-15 17:09:47 +00:00