Commit Graph

8091 Commits

Author SHA1 Message Date
Beto Dealmeida
13f01ac2ab fix: isDynamic function (#16175)
* fix: isDynamic function

* trigger tests

(cherry picked from commit 9f52c103ac)
2021-08-11 09:33:49 -07:00
Beto Dealmeida
705bad9792 fix: revert data endpoint name (#16162)
(cherry picked from commit 7b3fce7e81)
2021-08-11 09:33:23 -07:00
Elizabeth Thompson
86d079b31c add config to hide some user menu items (#16156)
(cherry picked from commit 5488a8a948)
2021-08-11 09:33:05 -07:00
Elizabeth Thompson
b4d4d1cc88 feat: add chart image info to reports from charts (#16158)
* refetch reports on props update

* add chart types to reports

(cherry picked from commit a3102488a1)
2021-08-11 09:32:45 -07:00
Phillip Kelley-Dotson
7c5546586c fix: ensure that users viewing chart does not automatically save edit data (#16077)
* add last_change_at migration

* add last_saved_by db migration

* finish rest of api migration

* run precommit

* fix name

* run precommitt

* remove unused mods

* merge migrations

* Update superset/migrations/versions/6d20ba9ecb33_add_last_saved_at_to_slice_model.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/migrations/versions/6d20ba9ecb33_add_last_saved_at_to_slice_model.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Update superset/migrations/versions/f6196627326f_update_chart_permissions.py

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* fix test

* precommit

* remove print

* fix test

* change test

* test commit

* test 2

* test 3

* third time the charm

* fix put req

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit f0e3b68cc2)
2021-08-11 09:32:28 -07:00
Phillip Kelley-Dotson
5895af50f5 feat: add sticky state to tables and loadingcards state. (#16102)
* initial feat commit

* fix chart and dash rendering onload

* Update superset-frontend/src/views/CRUD/welcome/Welcome.tsx

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

* fix jumpyness and add const

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
(cherry picked from commit a70248736f)
2021-08-11 09:32:10 -07:00
Michael S. Molina
baeac9dc97 fix: Safari is not showing scroll bars in Explore (#16089)
(cherry picked from commit 273ab3d257)
2021-08-11 09:31:52 -07:00
Ville Brofeldt
9e21009db3 feat(cross-filters): add support for temporal filters (#16139)
* feat(cross-filters): add support for temporal filters

* fix test

* make filter optional

* remove mocks

* fix more tests

* remove unnecessary optionality

* fix even more tests

* bump superset-ui

* add isExtra to schema

* address comments

* fix presto test

(cherry picked from commit 63ace7b288)
2021-08-11 09:31:32 -07:00
Yongjie Zhao
79e4253230 fix: boolean type into SQL 'in' operator (#16107)
* fix: boolean type into SQL 'in' operator

* fix ut

* fix ut again

* update url

* remove blank line

(cherry picked from commit bb1d8fe4ef)
2021-08-11 09:31:14 -07:00
Hugh A. Miles II
520284a4a4 fix: turn on SSL in database edit form show 500 error (#16151)
* fix error for query.update

* converrt before making request

* fix query params

* remove unchanged files

* this

* update tsconfig

(cherry picked from commit 3f86a54ac1)
2021-08-11 09:30:55 -07:00
Lyndsi Kay Williams
bb78d492e9 additional params field fixed (#16161)
(cherry picked from commit 3712ee02fa)
2021-08-11 09:30:36 -07:00
Kamil Gabryjelski
1e9f1de563 chore(explore): bump deckgl to 0.4.9 (#16086)
(cherry picked from commit af204ff449)
2021-08-11 09:30:17 -07:00
Michael S. Molina
d00a2c2899 fix: Fix the Select unselect for object values (#16062)
(cherry picked from commit 1917464d2b)
2021-08-11 09:29:59 -07:00
Kamil Gabryjelski
0b07566346 fix(explore): dnd error when dragging metric if multi: false (#16088)
* fix(explore): dnd error when dragging metric if multi: false

* Fix error for non-dnd controls

(cherry picked from commit b7cc89c6d4)
2021-08-11 09:29:40 -07:00
AAfghahi
c0572c5302 feat: added google alert to DB Connection Form (#16095)
* added google alert

* using superset_text

* made google alert public and others private

* Hugh revisions

(cherry picked from commit a51851308b)
2021-08-11 09:29:14 -07:00
Yongjie Zhao
4b4f6b9c1d fix: virtual dataset wont work (#16132)
(cherry picked from commit 3bbcc30d69)
2021-08-11 09:28:57 -07:00
AAfghahi
ffa4226f10 fix: change Alert Permissions (#16118)
* added google alert

* reworked permissions

(cherry picked from commit 606a7bf429)
2021-08-11 09:28:37 -07:00
AAfghahi
64d54d6fdd feat: better errors for report in charts and dashboard (#16131)
* added google alert

* better errors and report actions

(cherry picked from commit 5ce38839e7)
2021-08-11 09:28:15 -07:00
Geido
fa7a5249ea Adjust width (#16092)
(cherry picked from commit b07c80a839)
2021-08-11 09:27:55 -07:00
Maxime Beauchemin
f8f3b7abbb chore: add stats logging to thumbnail api (#16133)
(cherry picked from commit df50a47777)
2021-08-11 09:27:19 -07:00
Kamil Gabryjelski
83661aee99 chore(explore): change dnd placeholders (#16116)
* chore(explore): change dnd placeholders

* Fix tests and lint

(cherry picked from commit 6ac4f4ef2f)
2021-08-11 09:26:48 -07:00
ʈᵃᵢ
9976250954 fix: move watermark to about section (#16097)
(cherry picked from commit b80f018691)
2021-08-11 09:26:26 -07:00
David Aaron Suddjian
08e64048fa fix(explore): drag & drop column select component triggering onChange unnecessarily (#16073)
* fix(explore): avoid sync until after first render

* fix example

(cherry picked from commit e6292a89bb)
2021-08-11 09:25:57 -07:00
Beto Dealmeida
18f551580e fix: migrate_roles (#16098)
(cherry picked from commit 28c383af68)
v2021.31.1
2021-08-06 10:08:54 -07:00
Beto Dealmeida
d85875d962 fix: load tabbed dash only for tests (#16091)
(cherry picked from commit b72fd7b9f4)
2021-08-06 10:08:54 -07:00
AAfghahi
31f994b090 change button color (#16093)
(cherry picked from commit e6274e0764)
2021-08-06 10:08:54 -07:00
Beto Dealmeida
a16605cf01 chore: simplify chart permissions (#16078)
(cherry picked from commit 1dbd1e9f02)
2021-08-06 10:08:54 -07:00
Kamil Gabryjelski
e70bcc7283 chore(explore): Create new entrypoints for Echarts Timeseries (#15942)
* feat(explore): Create new entrypoints for Echarts Timeseries

* Change order of some charts

* bump superset-ui

* also bump echarts package

* fix UT

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
(cherry picked from commit a59d458e41)
2021-08-06 10:08:54 -07:00
Hugh A. Miles II
980c38d1b7 fix: Remove grey bar for TableElement component when metadata is empty (#16054)
* create serialize json function

* remove grey space with no metadata

* remove console log

(cherry picked from commit 11a2d4dfdd)
2021-08-06 10:08:54 -07:00
Ville Brofeldt
87fad13f89 feat(explore): add automatic conditional formatter to pivot table v2 (#16045)
(cherry picked from commit 7ef97a54e2)
2021-08-06 10:08:54 -07:00
AAfghahi
a1a71ee6e1 fix: Adding report bug (#16065)
* report add fix

* added theme

(cherry picked from commit 4359650b7d)
2021-08-06 10:08:54 -07:00
Ville Brofeldt
feab690b8d fix(native-filters): add support for boolean cols to select (#16061)
(cherry picked from commit 86cecaeec5)
2021-08-06 10:08:54 -07:00
Ville Brofeldt
b7d9be449d chore: bump superset-ui to 0.17.78 (#16058)
(cherry picked from commit 7332055ff6)
2021-08-06 10:08:53 -07:00
Beto Dealmeida
69c5cd7922 feat: handle subtle bug with load-examples (#16052) 2021-08-03 12:44:44 -07:00
Yongjie Zhao
430ebe18aa fix: sync columns in explore page (#16042) 2021-08-03 09:49:08 -07:00
Rob DiCiuccio
04622529df Revert a7f247b472 (#16039) 2021-08-03 09:27:45 -07:00
Beto Dealmeida
ec22acb786 fix: handle schemas_allowed_for_csv_upload serde (#16038)
* fix: handle schemas_allowed_for_csv_upload serde

* Add migration
2021-08-03 09:10:32 -07:00
Erik Ritter
7c059cda39 fix: make dataset update methods static instead of global (#16044) 2021-08-03 08:47:52 -07:00
Beto Dealmeida
7b15b7690d fix: DB exported with incorrect type (#16037)
* fix: DB exported with incorrect type

* Fix export as well
2021-08-03 08:35:48 -07:00
Hugh A. Miles II
4cb79e5017 fix: Fix long dashboards screenshot emails (#15954)
* create serialize json function

* create new setting for reports

* cleanup

* address comments

* up the attributes
2021-08-02 16:37:34 -04:00
John Bodley
41e8190575 chore: Use datetime.timedelta for defining durations in config (#16029)
* chore: use datetime.timedelta for defining durations

* Update config.py
2021-08-03 08:22:30 +12:00
Kamil Gabryjelski
5917407b9c fix(explore): filter popover opening after removing a filter (#16024) 2021-08-02 22:01:17 +02:00
John Bodley
c0615c55df fix: Ensure table uniqueness on update (#15909)
* fix: Ensure table uniqueness on update

* Update models.py

* Update slice.py

* Update datasource_tests.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-08-03 07:45:55 +12:00
Michael S. Molina
76a13dfc9a fix: Modal is blinking when opening (#16035) 2021-08-02 16:18:54 -03:00
Geido
39913d286a Implement sectionId (#16022) 2021-08-02 12:12:36 -07:00
Ville Brofeldt
c8a8347b43 chore: bump superset-ui to 0.17.77 (#16034) v2021.31.0 2021-08-02 11:48:54 -07:00
Yongjie Zhao
3f57ea76db fix: missing mulitiple metrics on pivot operator (#16026)
* fix: missing mulitiple metrics on pivot operator

* code smell
2021-08-02 11:37:10 -07:00
Michael S. Molina
a889cb3505 chore: Auto focus the viz gallery select (#16025) 2021-08-02 14:59:17 -03:00
Elizabeth Thompson
e0576786c3 add feature flag to header bar (#16031) 2021-08-02 10:57:29 -07:00
ʈᵃᵢ
39db6a73ee docs: update api 2 (#16032)
* docs: update api

* recompile
2021-08-02 13:31:15 -04:00