Commit Graph

7041 Commits

Author SHA1 Message Date
Maxime Beauchemin
95a017aa2d
feat: add 'extra' column to saved_queries GET (#13662)
This column contains schedule information when the feature flag
`SCHEDULED_QUERIES` is enabled. Adding it here makes it available
through the REST API.
2021-03-19 21:38:06 +02:00
Grace Guo
fa072cd74e
fix: dashboard filter scope bug (#13695)
* fix: dashboard filter scope bug

* fix comments

* fix function/variables name
2021-03-19 10:39:09 -07:00
Ville Brofeldt
87d1afcc65
fix(cross-filters): expand relevant indicator sections (#13703) 2021-03-19 11:52:03 +02:00
Bruno Motta
375ded92ef
test: usePrevious hook (#13554) 2021-03-18 18:30:50 -07:00
AAfghahi
ebd4a917f7
refactor: Share sql lab query (#13630) 2021-03-18 17:07:24 -04:00
AAfghahi
df9352f2b4
fix: data column in SQL lab left panel open by default (#13624)
* fix table expand

* Left Panel Expand

* added tests

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-03-18 13:28:24 -07:00
simcha90
7e6beb5ebf
fix(native-filters): fix removing native filter (#13688)
* fix: fix removeing native filter

* fix: fix native-cross filters

* fix: fix native-cross filters

* fix: fix native-cross filters

* fix: fix function declaration
2021-03-18 21:11:50 +02:00
Bruno Motta
e6c5bf4d54
test: useChangeEffect (#13555) 2021-03-18 11:50:50 -07:00
Elizabeth Thompson
b97bbed2a9
fix: allow option to generate new query (#13488) 2021-03-18 14:42:31 -04:00
Ville Brofeldt
ecfcaea803
fix(dashboard): missing parents in directPathToFilter (#13691) 2021-03-18 19:43:41 +02:00
Ville Brofeldt
81b64204c7
fix(cross-filters): add a control panel to range filter (#13692) 2021-03-18 19:43:25 +02:00
Jesse Yang
69a5ed9a1e
fix: use FeatureFlags in @superset-ui/core (#13679) 2021-03-18 09:13:50 -07:00
Jesse Yang
08d0deb720
fix: clean up incorrect usage of TypeScript type in PropTypes (#13681) 2021-03-18 09:12:13 -07:00
simcha90
577ecc284f
feat(cross-filter): Cross filter badge (#13687) 2021-03-18 17:59:13 +02:00
Daniel Wood
9efe1a44ec
feat(helm): Add optional apt-get install to superset_bootstrap.sh (#13678)
* add conditional apt install

* move install switch to correct command.
2021-03-18 08:40:54 -07:00
Ville Brofeldt
13f7e0d755
feat(native-filters): add temporal support to select filter (#13622) 2021-03-18 16:15:43 +02:00
Beto Dealmeida
adc247b7e4
feat: add Databricks DB engine spec (#13682) 2021-03-18 09:19:15 +00:00
Lily Kuang
3f2e2c9976
fix(alert|report): allow null on chart and dashboard field (#13680)
* allow null on chart and dashboard field

* update api test
2021-03-18 09:17:50 +00:00
Erik Ritter
64785c20bd
feat: add warning metadata to tables and metrics (#13606) 2021-03-17 21:27:34 -07:00
Beto Dealmeida
db57f90a34
feat: better error message when adding DBs (#13601)
* WIP

* Adding tests

* Add unit tests

* Show error message

* Fix lint

* Fix after rebase
2021-03-17 20:29:26 -07:00
Rob DiCiuccio
697cdf26b3
Bump pyyaml to latest (#13658) 2021-03-17 14:41:02 -07:00
Kris Stern
abf2c87115
Make preliminary suggested changes to CONTRIBUTING.md (#13643) 2021-03-17 14:57:13 -04:00
simcha90
c0fc1ae018
fix(cross-filter): fix scheme py (#13665)
* fix: fix scehme py

* fix: fix scheme py
2021-03-17 19:53:40 +02:00
Lily Kuang
036fc3944d
chore: script for changelog (#13588)
* change log with section

* add risk flag for showing risk pull request

* update changlog.md

* lint mypy

* small fixes
2021-03-17 08:55:46 -07:00
Yongjie Zhao
7b74eb2730
chore(explore): added debounce in DateFilter (#13660) 2021-03-17 09:04:50 -06:00
simcha90
0e0c99b2fb
feat(cross-filters): Add scoping for cross filters (#13625)
* feat: cross filter modal

* refactor: add charts metadata

* refactor: add charts metadata

* feat: cross filters scoping

* fix: fix CR notes

* test: fix test

* lint: fix lint
2021-03-17 14:00:32 +02:00
Nikola Gigić
aa0cd64940
fix(explore): Add int and bool regex pattern (#13621)
* fix postgres regex string for bool and int

* move regex from postgres to bae

* move regex from postgres to base
2021-03-17 11:59:29 +02:00
Maxime Beauchemin
4bdb958ce6
fix: 'Run in SQL Lab' redirect bug (#13657) 2021-03-16 21:47:39 -07:00
Jesse Yang
bd1d6acb0c
fix(query): order by adhoc metrics should trigger group by (#13434)
* fix(query): properly select adhoc metrics in orderby

* Throw error when sql is empty

* Allow `metrics` to be None

* Always use alias in orderby for metrics

* Bump table chart version and migrate histogram to typescript

* Fix Histogram without groupby

* Fix Presto birth names test

* Raw records mode should not aggregate
2021-03-16 21:00:03 -07:00
Dmytro Mudrov
72d19b6b35
fix(sqllab): Table name and schema are encoded twice during fetching table metadata on SQL Lab page. (#13636)
Co-authored-by: dmitry.mudrov <dmitrym.mudrov@agileengine.com>
2021-03-16 19:18:08 -07:00
Beto Dealmeida
98a26e7628
fix: Slack dashboard has stale charts (#13655) 2021-03-16 16:40:23 -07:00
Daniel Vaz Gaspar
0819beaedc
fix: bump FAB to 3.2.1, SQLAlchemy fix (#13642) 2021-03-16 23:10:34 +00:00
Daniel Wood
65b4be7b51
Fix: Add SASL dependency module (#13608) 2021-03-16 15:42:53 -07:00
Elizabeth Thompson
bf424e3351
docs: add file for users to see status of feature flags (#13402)
* add file for users to see status of feature flags

* move comment

* update flags per feedback

* move to subfolder and improve docs

* move CODE_OF_CONDUCT to root
2021-03-16 14:11:17 -07:00
Lily Kuang
21cc49509f
chore: improve modal error handling (#13342)
* improve modal error handling

* update hook to handle string error message
2021-03-16 09:33:36 -07:00
Lily Kuang
10d88726db
update test (#13463) 2021-03-16 09:33:17 -07:00
Lily Kuang
f2c50f62ad
fix antd select dropdown issue (#13585) 2021-03-16 09:32:15 -07:00
ʈᵃᵢ
3078c84d40
feat(reports): SLACK_API_TOKEN as callable or str (#13634) 2021-03-16 10:06:29 -06:00
Geido
df5fb5a97c
test: Tests and dedicated directory for the SupersetResourceSelect Component (#13508)
* Refactor

* Clean up

* Add license

* Use findBy
2021-03-15 16:09:02 -07:00
Daniel Vaz Gaspar
1e88408418
fix: better handle datasource exceptions (#13578)
* fix: handle datasource injected security exception

* add tests

* fix error text on create update dbs

* fix lint

* revert create update message

* fix test

* add sqlalchemy exceptions
2021-03-15 22:46:51 +00:00
Jesse Yang
868e063b03
feat: add ErrorBoundary to chart controls (#13584) 2021-03-15 14:44:18 -07:00
Beto Dealmeida
714d262336
Update UPDATING.md (#13607)
Fix link
2021-03-15 14:37:08 -07:00
Nikola Gigić
335415f5a2
dynamic dttm fix for test_convert_dttm (#13626) 2021-03-15 23:14:50 +02:00
Lily Kuang
cd2f53ed7b
switch message content between chart and dashboard AlertReportModal (#13537) 2021-03-15 12:00:53 -07:00
Daniel Vaz Gaspar
d1e93078f4
fix: delete dataset columns and metrics on the REST API (#13389)
* feat: delete dataset columns and metrics on the REST API

* fix openapi spec

* change delete comparison to id

* delete columns and metrics on their namespace

* add missing licenses

* add failed test

* address comment
2021-03-15 18:14:26 +00:00
ʈᵃᵢ
4de6040d89
fix(dashboard|chart): use correct url for favorite_status and change request type to rison (#13557) 2021-03-15 10:53:16 -06:00
Daniel Wood
fc345b9ab1
fix(helm): Add missing extraConfigs template volume mapping and fix type error on template. (#13613)
* Add volume mapping for superset-extra-config

* Fix wrong type for VALUE, cannot use "." inside range.

Fixes Error: template: superset/templates/configmap-superset.yaml:30:16: executing "superset/templates/configmap-superset.yaml" at <.>: wrong type for value; expected chartutil.Values; got string
2021-03-15 08:09:45 -07:00
simcha90
a35825de7b
feat(filter-set): Filter set edge cases (#13576)
* refactor(native-filters): move data mask to root reducer

* refactor: update rest stuff for dataMask

* refactor: add ownCrrentState to explore

* fix: fix immer reducer

* fix: merge with master

* refactor: support explore dataMask

* refactor: support explore dataMask

* docs: add comment

* refactor: remove json stringify

* fix: fix failed cases

* feat: filter bat buttons start

* fix: fix CR notes

* fix: fix cascade filters

* fix: fix CR notes

* refactor: add clear all

* fix: fix CR notes

* fix: fix CR notes

* fix: fix CR notes

* feat: buttons in filter bar

* lint: update imports

* feat: add tabs for filter sets

* feat: add buttons to filter set

* feat: first phase add filter sets

* fix: undo FF

* refactor: continue filter sets

* fix: fix CR notes

* refactor: header

* fix: fix CR notes

* fix: fix CR notes

* refactor: continue filter sets

* lint: fix lint

* refactor: continue filter sets

* fix: fix filter bar opening

* refactor: continue filter sets

* refactor: continue filter sets

* refactor: continue filter sets

* feat: filters sets history

* feat: filters sets history

* fix: filter set name

* refactor: fix expand filters case

* fix: fix CR notes

* refactor: filter sets

* refactor: filter sets

* refactor: filter sets

* refactor: filter sets

* refactor: update sets

* feat: edit filter set

* refactor: add warning icon

* fix: fix CR notes

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

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

* fix: fix CR notes

* feat: filter set edge cases

* lint: fix lint

* lint: fix TS

* refactor: fix CR notes

* fix: fix CR notes

* fix: fix CR notes

Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-03-15 14:29:22 +02:00
Kamil Gabryjelski
ae66f5fa78
feat(explore): Drag and drop UX improvements (#13598)
* Create a metric immediately when saved metric is dropped

* Display borders around control boxes when metric or column is dragged

* Fix imports

* Display ghost button

* Rename placeholder to ghostButton
2021-03-15 12:47:13 +02:00
Erfan Mirzapour
6b30f55cfd
docs: correct sentence (#13611) 2021-03-13 18:57:55 -08:00