Commit Graph

8138 Commits

Author SHA1 Message Date
Beto Dealmeida
880a3e27a2 fix: update table ID in query context on chart import (#16374)
* fix: update table ID in query context on chart import

* Fix test

(cherry picked from commit adebc0997b)
v2021.31.12
2021-08-20 11:58:12 -07:00
Beto Dealmeida
cd794f20e0 fix: import dashboard w/o metadata 2021-08-20 11:57:06 -07:00
Phillip Kelley-Dotson
bbbc1be805 change filter (#16280)
(cherry picked from commit f581e0402b)
v2021.31.11
2021-08-19 20:02:23 -07:00
Kamil Gabryjelski
8abf9c24d0 feat(explore): make dnd controls clickable (#16119)
* Make ghost buttons clickable

* Popover for column control

* Make column dnd ghost button clickable

* Prefill operator only if column is defined

* Remove data-tests

* lint fix

* Hide new features behind a feature flag

* Change ghost button texts

* Remove caret for non clickable columns

(cherry picked from commit 203c311ca3)
v2021.31.10
2021-08-19 13:41:17 -07:00
Geido
c178bbddcb fix(Explore): Show the tooltip only when label does not fit the container in METRICS/FILTERS/GROUP BY/SORT BY of the DATA panel (#16060)
* Implement dynamic tooltip

* Normalize and consolidate

* Clean up

* Refactor and clean up

* Remove unnecessary var

* Fix type import

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

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

* Remove unnecessary styled span

* Show full tooltip title

* Force show tooltip

* Force show tooltip D&D off

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
(cherry picked from commit a1e18ed110)
2021-08-19 13:05:04 -07:00
Beto Dealmeida
906124a69a fix: columns/index rebuild (#16355)
(cherry picked from commit 37f09bd296)
2021-08-19 10:46:18 -07:00
Beto Dealmeida
8d92d731fd fix: send CSV pivoted in reports (#16347)
(cherry picked from commit ec8d3b03e4)
2021-08-19 10:44:18 -07:00
Beto Dealmeida
0145f21def feat: improve embedded data table in text reports (#16335)
* feat: improve HTML table in text reports

* Remove unused import

* Update tests

* Fix test

(cherry picked from commit afb8bd5fe6)
2021-08-19 10:44:08 -07:00
Kamil Gabryjelski
86dd052e0e fix(explore): reordering columns with dnd sometimes glitching (#16322)
* fix(explore): reordering columns with dnd sometimes glitching

* Fix metrics and filters popover being stale after reordering

(cherry picked from commit a547dcb73e)
2021-08-19 10:42:33 -07:00
Kamil Gabryjelski
6550d56560 feat(explore): make dnd controls clickable (#16119)
* Make ghost buttons clickable

* Popover for column control

* Make column dnd ghost button clickable

* Prefill operator only if column is defined

* Remove data-tests

* lint fix

* Hide new features behind a feature flag

* Change ghost button texts

* Remove caret for non clickable columns

(cherry picked from commit 203c311ca3)
2021-08-19 10:38:18 -07:00
Evan Rusackas
89df102300 chore: bump superset-ui to v0.17.85 (#16350)
(cherry picked from commit 42cd21e383)
2021-08-19 10:28:59 -07:00
Elizabeth Thompson
68756c8ff5 adjust initial state (#16329)
(cherry picked from commit efe850b731)
2021-08-19 10:28:58 -07:00
Elizabeth Thompson
61ae7166f7 pass correct report_format (#16306)
(cherry picked from commit 4960b5ee2b)
2021-08-19 10:28:57 -07:00
Beto Dealmeida
9916c3c0a2 fix: allow reports to update query_context (#16303)
(cherry picked from commit 7a284bb9e8)
2021-08-19 10:28:57 -07:00
Beto Dealmeida
08960aa5c9 fix: improve pivot post-processing (#16289)
* fix: improve pivot post-processing

* Add tests

* Trim space from column name

(cherry picked from commit ac8e54d909)
2021-08-19 10:28:57 -07:00
AAfghahi
0dc73c56d0 timezone editor (#16281)
(cherry picked from commit f5fbfef618)
2021-08-19 10:28:57 -07:00
Ville Brofeldt
0ce0ad42e7 fix(explore): let admin overwrite slice (#16290)
(cherry picked from commit d13b081cfe)
2021-08-19 10:28:56 -07:00
Beto Dealmeida
a9a5d6e544 fix: pivot col names in post_process (#16262)
(cherry picked from commit 542b864e61)
2021-08-19 10:28:56 -07:00
Elizabeth Thompson
966b417035 check roles before fetching reports (#16260)
(cherry picked from commit 3709131089)
2021-08-14 15:47:17 -07:00
Beto Dealmeida
525b88f42e fix: pivot columns with ints for name (#16259)
(cherry picked from commit 9b2dffeb1d)
2021-08-14 15:47:03 -07:00
Phillip Kelley-Dotson
a1f9f02524 fix examples tab for dashboard (#16253)
(cherry picked from commit a5dbe6a14d)
2021-08-14 15:46:34 -07:00
Phillip Kelley-Dotson
f8d3037c25 chore: bump superset-ui packages to 0.17.84 (#16251)
* initial bump

* commit pack-lock file

(cherry picked from commit f94695480a)
2021-08-14 15:46:16 -07:00
Kamil Gabryjelski
bbc8dadc83 fix(explore): metric label disappearing in some scenarios (#16190)
(cherry picked from commit 98fc29cbbb)
2021-08-13 11:12:52 -07:00
Kamil Gabryjelski
a1b297c133 fix(dashboard): cross filter chart highlight when filters badge icon clicked (#16233)
* fix(dashboard): cross filter chart highlight when filters badge icon pressed

* Fix tests

* Fix tests

* break out label logic

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
(cherry picked from commit 517a678cd7)
2021-08-13 11:12:34 -07:00
Ville Brofeldt
f0fb37fda9 feat(dao): admin can remove self from object owners (#15149)
(cherry picked from commit d6f9c48aa1)
2021-08-13 11:11:56 -07:00
Beto Dealmeida
af1a63b672 fix: skip perms on query context update (#16250)
(cherry picked from commit 2611681de9)
2021-08-13 11:08:43 -07:00
AAfghahi
c8b7a99ca7 feat: Added multi-regional IPs to Database Connections (#16170)
* added google alert

* multi-regional IPs

* beto revisions

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

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

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

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

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

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

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit 2dc0bdda5d)
2021-08-13 11:07:23 -07:00
Evan Rusackas
dc4ab8da94 fix: Remove Advanced Analytics tag for 2 charts (#16240)
* removing AA tag from TimeTableChartPlugin

* package bump for echarts (removes AA tag there)

* package-lock bump for new echarts plugin

(cherry picked from commit cdcc161846)
2021-08-13 11:07:00 -07:00
Beto Dealmeida
f2ab391f99 fix: validate_parameters and query (#16241)
* fix: validate_parameters and query

* add onQueryChange

(cherry picked from commit 5d3d6b6eae)
2021-08-13 11:06:21 -07:00
Arash
728c457d4b changed Slack Channels
(cherry picked from commit 7142b4c64a)
2021-08-12 13:32:01 -07:00
Michael S. Molina
624d521f8e fix: Multiple dashboard refresh triggers for the same session (#16094)
(cherry picked from commit 07f33998ac)
2021-08-12 13:30:42 -07:00
Phillip Kelley-Dotson
7e0dee618d fix: sorting on "Modified By" in chart table (#16208)
* initial fix

* Update ChartList.tsx

change sort to first name

(cherry picked from commit b4555dfa4f)
2021-08-12 13:30:13 -07:00
Phillip Kelley-Dotson
c06383088b initial fix (#16212)
(cherry picked from commit c79de7abd7)
2021-08-12 13:29:50 -07:00
Kamil Gabryjelski
4161c128c9 fix(explore): conditional formatting value validators (#16230)
* fix(explore): conditional formatting value validators

* Fix typing, make validator more generic

* Remove commented code

(cherry picked from commit a16e290765)
2021-08-12 13:29:20 -07:00
Elizabeth Thompson
9ab34c9fb0 fix: remove encryption from db params (#16214)
* remove encryption from db params

* Update superset/db_engine_specs/base.py

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

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit 67c4c0116e)
2021-08-12 13:28:54 -07:00
Steven Uray
32f1dae38d Getting files from preset-io:arash/fixMessages with git checkout on commit d256edfc3a 2021-08-11 15:47:32 -07:00
Ville Brofeldt
03a67f7ff1 chore: bump superset-ui to 0.17.82 (#16186)
(cherry picked from commit 4df3672baa)
2021-08-11 15:44:01 -07:00
Kamil Gabryjelski
de615eb79e fix(explore): adhoc metrics popover resets label after hovering outside (#16196)
* fix(explore): adhoc metrics popover resets label after hovering outside

* Remove irrelevant tests and skip rest

* Use ensureIsArray

(cherry picked from commit ccfc95fbe6)
v2021.31.2
2021-08-11 09:40:25 -07:00
Junlin Chen
9fb638da6f chore: switch back tag name to popular from highly-used (#16174)
* chore: switch back tag name to popular from highly-used

* new package lock

* new package lock with npm 7

* fix lint

* remove package changes

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit 9841c78967)
2021-08-11 09:39:15 -07:00
Phillip Kelley-Dotson
60ceb9213f fix: ensure created user entities do not show inside examples (#16176)
* initial commit

* fix lint

* Update superset-frontend/src/views/CRUD/utils.tsx

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

* Update superset-frontend/src/views/CRUD/utils.tsx

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

* Update superset-frontend/src/views/CRUD/utils.tsx

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

Co-authored-by: Evan Rusackas <evan@preset.io>
(cherry picked from commit a0c9b9d9c2)
2021-08-11 09:38:59 -07:00
Phillip Kelley-Dotson
7458292ca9 fix: change listivew card layouts to the new homepage card layout (#16171)
* initial commit

* removing CardStylesOverrides (unused)

Co-authored-by: Evan Rusackas <evan@preset.io>
(cherry picked from commit a30d884cfc)
2021-08-11 09:38:36 -07:00
AAfghahi
adb3ebbba3 feat: Changing Dataset names (#16199)
* added google alert

* changing Dataset Names

(cherry picked from commit 6c304b83a9)
2021-08-11 09:38:17 -07:00
Elizabeth Thompson
c5f07bc6c1 update covid dashboard (#16183)
(cherry picked from commit 3aefa6925b)
2021-08-11 09:38:00 -07:00
AAfghahi
81d2d32dbf feat: CLI cleanup (#16178)
* added google alert

* removing datasets from cli

(cherry picked from commit 6df16c4b1f)
2021-08-11 09:37:37 -07:00
Elizabeth Thompson
cce369ee00 feat: change query predicate to text (#16160)
* change query predicate to text

* make input multiline

* remove value that is too long for the downgrade

* keep logging lint rule

(cherry picked from commit 628169a171)
2021-08-11 09:37:14 -07:00
David Aaron Suddjian
d95721cb14 fix(dashboard): user id can be null when there is an anonymous user (#15592)
(cherry picked from commit 23072161e2)
2021-08-11 09:36:56 -07:00
Kamil Gabryjelski
0a91bc8c3f fix(explore): revert dnd column dependency array change to fix infinite rerenders (#16115)
* fix(explore): revert dnd column dependency array change to fix infinite rerenders

* Remove console.log

* Remove comment

(cherry picked from commit 772da8de63)
2021-08-11 09:34:09 -07:00
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