Commit Graph

8674 Commits

Author SHA1 Message Date
jinghua-qa ab1fcf3068
test: add native filter e2e test part3 (#17343)
* add 2 stable test

* fix lint
2021-11-05 22:32:27 +08:00
Geido d0085b1b29
Check validity of control item (#17349) 2021-11-05 12:56:03 +02:00
Hugh A. Miles II e5fe18660c
fix: Show sqllab state when deleting databases (#17331)
* saving

* fix ts

* update test

* update test

* log unit

* updated test
2021-11-04 20:17:08 -04:00
Beto Dealmeida 43f4ab845a
fix: clear 'delete' confirmation (#17345)
* fix: clear 'delete' confirmation

* Add tests
2021-11-04 16:26:38 -07:00
Beto Dealmeida 1fbce88a46
fix: set correct schema on config import (#16041)
* fix: set correct schema on config import

* Fix lint

* Fix test

* Fix tests

* Fix another test

* Fix another test

* Fix base test

* Add helper function

* Fix examples

* Fix test

* Fix test

* Fixing more tests
2021-11-04 11:09:08 -07:00
Beto Dealmeida 03a2c6ee8a
feat: apply d3NumberFormat to table reports (#17336) 2021-11-04 08:18:01 -07:00
Gnought 4e9f812dab
fix: removed redundant logger definition (#17289)
* Removed redundant logger defintion

* Fixed code style
2021-11-04 17:09:00 +08:00
John Bodley 1c12167d8d
fix: Revert default series sort-by metric and enforce non-xor with series limit (#17236)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-11-03 13:59:38 -07:00
John Bodley 36f489eea0
fix: Normalize prequery result type (#17312)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-11-03 13:58:40 -07:00
Beto Dealmeida cb34a22684
fix: import should accept old keys (#17330)
* fix: import should accept old keys

* Fix lint

* Preserve V1 schema
2021-11-03 11:25:30 -07:00
Geido 59a6502efe
fix: Color consistency (#17089)
* Update label colors on the fly

* Clean up

* Improve getFormDataWithExtraFilters

* Improve code structure

* Remove labelColors from formData

* Exclude label_colors from URL

* Refactor color scheme implementation

* Clean up

* Refactor and simplify

* Fix lint

* Remove unnecessary ColorMapControl

* Lint

* Give json color scheme precedence

* Add label_colors prop in metadata

* Separate owners and dashboard meta requests

* Remove label_colors control

* bump superset-ui 0.18.19

* Fix end of file

* Update tests

* Fix lint

* Update Cypress

* Update setColorScheme method

* Use Antd modal body
2021-11-03 19:22:38 +02:00
Michael S. Molina 85a19a9cc2
fix: Unable to select None for Alert's log retention (#17268) 2021-11-03 08:48:30 -03:00
Ville Brofeldt 33bcf82fa8
chore(websocket): bump dependencies (#17325)
* chore(websocket): bump dependencies

* bump client-ws-app

* bump more packages
2021-11-03 12:17:36 +02:00
Geido 2199ef2dd7
chore: Test cases for annotations and annotation layers incorrect creation through API (#17246)
* Add/Refactor tests

* Add return type

* Update api tests
2021-11-03 09:11:41 +00:00
Beto Dealmeida 93bafa0e6a
feat: improve logic in is_select (#17329)
* feat: improve logic in is_select

* Add more edge cases
2021-11-02 17:30:12 -07:00
Phillip Kelley-Dotson 9a4ab1026e
fix: remove variables from styled component (#17228)
* remove variables

* fix hovermenu styles
2021-11-02 16:25:48 -07:00
Erik Ritter 7c6d6f47bf
Revert "fix(native-filters): Fix update ownState (#17181)" (#17311)
This reverts commit cf284ba3c7.
2021-11-02 13:17:29 -07:00
James Kim b3f0abf0fc
fix numbering on getting started with kubernetes docs (#17306)
Signed-off-by: jameskim0987 <kgh475926@gmail.com>
2021-11-02 13:19:56 -06:00
Daman Arora 28b494c597
chore: migrate HiddenControl component from jsx to tsx (#17315)
* migrate HiddenControl component from jsx to tsx

* Update superset-frontend/src/explore/components/controls/HiddenControl.tsx

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

* updating the type of value in the interface

* Update superset-frontend/src/explore/components/controls/HiddenControl.tsx

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

Co-authored-by: Erik Ritter <erik.ritter@airbnb.com>
2021-11-02 11:51:16 -07:00
Geido a2a457b7ef
fix(Dashboard): Sidepanel positioning (#17200)
* Refactor

* Adjust top offset

* Calculate padding chart list

* Check for standalone mode

* Rename standaloneMode
2021-11-02 19:28:16 +02:00
Geido 5491a4d13c
fix(Explore): Remove changes to the properties on cancel (#17184)
* Remove on close

* Fix lint

* Add tests
2021-11-02 19:27:56 +02:00
Ville Brofeldt 9515ba68dc
chore: bump superset-ui to 0.18.17 (#17310) 2021-11-02 09:13:33 +02:00
Elizabeth Thompson bea8502ebd
run npm install to fix a bad package version (#17314) 2021-11-01 13:57:28 -07:00
PApostol a898883f38
Remove redundant parentheses from setup.py (#17284) 2021-11-01 09:04:25 -07:00
Yongjie Zhao 1f2a7a40c4
fix: datatable crash when column is empty string (#17303)
* fix: datatable crash when column is empty string

* typo
2021-11-01 23:58:31 +08:00
jinghua-qa abf24bbb5d
test: add native filter part2 (#17283)
* add native filter part2

* fix lint

* remove unused code

* fix lint after modified
2021-11-01 11:36:47 -03:00
Craig Rueda 6a63a21e06
chore: Bumping pyarrow / pandas (#17290)
* Bumping pyarrow / pandas

* Appeasing the pylint gods

* Adjusting UPDATING.md

* Buping testing requirements
2021-10-31 10:47:02 -07:00
Shiva Raisinghani 79ed0ae5de
docs(UPDATING): Adding downtime for #16756 (#17293)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2021-10-29 18:56:51 -07:00
AAfghahi 8a27c6760d
change to 422 for stop query (#17292) 2021-10-29 16:34:41 -07:00
AAfghahi 5948a9fd02
fix(AlertReportModal): Text Area Change (#17176)
* Text Area Change

* added unique key to component

* tests passing

* changed css

* data flow and naming convention
2021-10-29 15:30:20 -07:00
Hugh A. Miles II d0bad96b1a
fix: Allow users to update database in Dataset Edit Modal (#17265)
* add condition to fix save

* remove console.log
2021-10-29 14:19:37 -07:00
John Bodley b7bda7031e
fix: revert "feat(sqla): apply time grain to all temporal groupbys" (#17239)
* Revert "feat(sqla): apply time grain to all temporal groupbys (#16318)"

This reverts commit 9075e4206c.

* Update models.py
2021-10-29 11:57:58 -07:00
Lyndsi Kay Williams 456efc0c20
fix(reports): Owners no longer showing undefined in reports (#17223)
* Owners no longer showing undefined

* Reverted owners change

* removed print

* Owners now defined - frontend only solution!

* Remove arbitrary space
2021-10-29 10:17:47 -07:00
raghavSharmaSigmoid 0a660a1a38
fix: Updated connection string for Firebolt (#17242)
* New branch from superset for integration with firebolt sqlalchemy adapter

* Added db_engine_spec file for Firebolt

* Removed firebolt code from superset repo

* Deleted virtual env commit

* Adding time grain changes to firebolt.py

* Updated README.md

Added steps to install and run Superset with Firebolt SQLAlchemy Adapter

* Update README.md

Reduced installation steps. Using PyPi installation for adapter now

* Revert "Update README.md"

This reverts commit 5ed17c7a45.

* Revert "Updated README.md"

This reverts commit 45c5072649.

* added epoch methods, added test cases for firebolt db engine spec and edited setup.py

* Added license to files

* Added documentation for Firebolt-SQLAlchemy

* Removed trailing whitespace

* Updated connection string for Firebolt

Co-authored-by: apurva-sigmoid <89530372+apurva-sigmoid@users.noreply.github.com>
Co-authored-by: Apurva Anand <aapurva@sigmoidanalytics.com>
2021-10-29 20:13:17 +03:00
Beto Dealmeida 8ee50deac6
Drop constraint (#17275) 2021-10-29 09:33:25 -07:00
Kamil Gabryjelski fa44325a36
fix(explore): Metrics disappearing after removing metric from dataset (#17201)
* fix(explore): Metrics disappearing after removing metric from dataset

* fix test

* Apply fix to non-dnd controls

* Make adhoc metrics pick up changes from dataset columns

* Remove console log

* Fix bug in nondnd controls
2021-10-29 16:15:19 +02:00
Rosemarie Chiu ca6a1ecc9e
chore(doc): Update BigQuery Connection database connection UI into doc (#17191)
* Update google-bigquery.mdx

Update BigQuery Connection database connection UI

* fix grammar

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

* fix grammar

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

* pre-commit prettier

Co-authored-by: Geido <60598000+geido@users.noreply.github.com>
2021-10-29 09:14:47 -04:00
Étienne Boisseau-Sierra f0c0ef7048
fix(cli): fail CLI script on failed import/export (#16976)
* Test that failing export or import is done properly

For each CLI entry-point we will modify, we make sure that:

- a failing process exits with a non-0 exit code,
- an error is logged.

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>

* Exit process with error if export/import failed

Bubble exception up when failing import or export

During a CLI import or export of dashboards, if the process fails, the
exception it caught and a simple message is sent to the logger.
This makes that from a shell point of view, the script was successfull —
cf. #16956.

To prevent this, we want to ensure that the process exits with an error
(i.e., a non-0 exit-code) should the export or import fail mid-flight.

Signed-off-by: Étienne Boisseau-Sierra <etienne.boisseau-sierra@unipart.io>
2021-10-29 08:56:29 +01:00
jinghua-qa 9ef9adfd78
test: added some sanity test for native filter (#17231)
* add sanity native filter cypress e2e test

* add liscense

* fix front-end lint

* fix fail

* remove unuse import
2021-10-29 11:08:18 +08:00
John Bodley ce558e0764
chore: bump superset-ui to 0.18.17 (#17270)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-10-28 14:44:57 -07:00
Jolcik 37909aace0
feat: add possibility to set ingress class name in Helm chart (#17252)
* add possibility to set ingress class name

* remove ingress class annotation comment

Co-authored-by: Piotr Kostrzeński <piotr.kostrzenski@samba.tv>
2021-10-28 15:11:10 +01:00
Yongjie Zhao be6cca561d
chore: bump deckgl 0.4.13 (#17266) 2021-10-28 16:24:15 +08:00
XcYyCx 5aaa3330a6
feat: Make Jinja template applied in timestamp columns (#17237)
* Update models.py

* Add optional template processor to get_timestamp_expression()

* Update models.py
2021-10-28 11:18:03 +03:00
Phillip Kelley-Dotson 93f59e055e
chore: remove supersetTheme with withTheme (#17069)
* remove supersettheme

* migrate Datasourceeditor to rtl

* lint fix

* remove file

* fix import

* fix test

* fix lint

* spread tests and remove unused code

* fix lint
2021-10-27 12:42:56 -07:00
Ajay M 65f1644208
feat(dashboard): Add description to the native filter (#17025)
* Adding description works

* Add some tests

* Fix tests

* Styled look good

* Tests successful

* Address PR comments

* fix a test
2021-10-27 11:45:31 -07:00
Yongjie Zhao faf7c74e44
chore: bump superset-ui v0.18.16 (#17251)
* chore: import ES module from chart-controls

* chore: bump superset-ui v0.18.16
2021-10-27 23:35:48 +08:00
Ville Brofeldt 4316fe6ae6
fix(annotataion): handle required fields properly (#17234) 2021-10-27 08:42:28 +03:00
Ajay M 743f4b6512
Fix resetting does not clear form (#17217) 2021-10-26 19:13:47 -07:00
John Bodley b7e7ef2831
Revert "fix: the calculated columns explicit type convert into date (#14813)" (#16950)
This reverts commit 6bdbd2bf50.
2021-10-26 17:25:49 -07:00
Hugh A. Miles II 792efefcb4
Update setup.py (#17220) 2021-10-26 15:00:42 -04:00