Commit Graph

7490 Commits

Author SHA1 Message Date
Ajay M
84e8dc71f6
feat(dashboard): View query of the chart in dashboard (#14667)
* Extract view query component out

* Typo correction

* Fix and rename tests

* Remove logs, and test code

* Rename file - fix tests

* Fix a typo

* Linting errors, add Apache License Header
2021-05-18 13:17:11 -07:00
AAfghahi
a7a011cce5
feat: Better return messages in SQL Editor (#14381)
* Sqllab limit

* Add migration script

* Set default values

* initial push

* revisions

* moving migration to separate PR

* revisions

* Fix apply_limit_to_sql

* all but tests

* added unit tests

* result set

* first draft

* revisions

* made user required prop, added it to all places ResultSet is imported

* changed QueryTable test to allow for useSelector

* Query Table working

* working with heights

* fixed scrolling

* got rid of animated

* fixed tests, revisions

* revisions

* revisions

* heights

* fun with heights

* alert state

* aaron helped me fix this

* better alert messages

* fixed result set test

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-05-18 11:02:06 -07:00
Rob DiCiuccio
5776dcb61a
Update docs for GLOBAL_ASYNC_QUERIES_TRANSPORT (#14558) 2021-05-18 11:01:43 -04:00
Michael S. Molina
32f5f365d8
fix: Fixes email body when sharing a chart by email (#14664) 2021-05-18 00:43:36 -07:00
Beto Dealmeida
971f5883f0
feat: add SSL to new DB parameters (#14673)
* feat: add SSL to new DB parameters

* Fix test

* Raise if cls.encryption_parameters is empty
2021-05-17 21:27:43 -07:00
Yaozong Liu
2320bd44d4
fix(sqllab): fix error message (#14651) 2021-05-17 16:20:03 -07:00
Geido
b5e9854ddc
Fix tooltip position (#14656) 2021-05-17 15:49:06 -07:00
Geido
9a9f093e63
Add max width (#14663) 2021-05-17 15:31:09 -07:00
Geido
7a050c59e4
fix(explore): Fix column number calculation (#14665)
* Fixes columns calc

* Fix type
2021-05-17 15:30:12 -07:00
AAfghahi
852842028a
make config method optional (#14668) 2021-05-17 17:09:20 -04:00
Phillip Kelley-Dotson
3ad8b546e6
fix: nav submenu dropdown styles (#14580)
* fix nav submenu dropdown styles

* lint

* fix mobile view styles

* run lint

* address comments

* undo comit lock files

* Update superset-frontend/src/common/components/index.tsx

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

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-05-17 13:58:02 -07:00
Michael S. Molina
fd8b2cb89b
fix: Fixes group by control icon colors (#14674) 2021-05-17 13:53:32 -07:00
Geido
ea96d95622
Clear search (#14655) 2021-05-17 13:30:16 -07:00
Ben Reinhart
eb9dafc872
chore: Register dynamic plugins and add feature checks (#14650)
* chore: Register dynamic plugins and add feature checks

* Disable pylint warning
2021-05-17 11:18:56 -07:00
Michael S. Molina
9deb7aa3c1
chore: Replaces Icon with Icons component - iteration 1 (#14469) 2021-05-17 10:24:56 -07:00
Michael S. Molina
4e6169e0f9
chore: Adjust language picker theme to match other menus (#14644) 2021-05-17 10:24:30 -07:00
Michael S. Molina
1b47902e47
chore: Removes react-bootstrap and react-bootstrap-slider (#14641) 2021-05-17 10:22:22 -07:00
AAfghahi
4f5c537250
feat: Configuration Method and expanded parameters for Database Model (#14451)
* db migration for dbs

* first draft at logic

* added unit tests

* revisions

* use strings for db values

* lint and revisions to tests

* changed test back

* added revisions for testing

* Update superset/databases/commands/update.py

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

* Update superset/databases/schemas.py

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

* Update superset/models/core.py

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

* Update superset/databases/commands/update.py

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

* got rid of extra imports added new test

* Update superset/databases/schemas.py

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

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-05-14 18:19:17 -07:00
AAfghahi
b064cc12ff
feat: Adding configuration_method column to Database Model (#14433)
* db migration for dbs

* changing naming conventions

* added in new migration

* made server default an enum

* added enum to migration file

* removed enum import
2021-05-14 16:56:00 -07:00
Phillip Kelley-Dotson
60f903ff58
fix: fix submenu header double line (#14631)
* fix submenu header

* remove unused css

* lint

* address comment

* address more comments
2021-05-14 14:57:54 -07:00
David Aaron Suddjian
884ded0507
fix: roles undefined on public dashboards (#14648) 2021-05-14 14:28:47 -07:00
Beto Dealmeida
ba5d66cb0a
fix: DB parameter validation (#14636) 2021-05-14 14:07:34 -07:00
Ben Reinhart
6d9d362ca8
chore: use before_request hook for dynamic routes (#14568)
* chore: use before_request hook for dynamic routes

* Shorten hook names

* Introduce with_feature_flags and update thumbnail tests

* Disable test that fails in CI but not locally

* Add test for reports
2021-05-14 12:49:25 -07:00
David Aaron Suddjian
f16c708fab
fix(dashboard): check edit permissions correctly on frontend (#14626)
* fix(dashboard): check edit permissions correctly on frontend

* fix types, appease linter

* handle nulls better
2021-05-14 12:18:38 -07:00
Michael S. Molina
9cb4a4602f
fix: Fixes top level tabs and automatic scroll (#14624) 2021-05-14 11:50:20 -07:00
Geido
3466cb253e
Fix class name (#14609) 2021-05-14 11:05:52 -07:00
John Bodley
c55418d020
chore: Bump pip-compile-multi (#14633)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-05-15 05:06:40 +12:00
Cedric Gampert
74473e2ad1
fix: do not render favorite favStars and filters for anonymous user (#14120)
* fix: do not render favorite favStar and filter for anonymous user

* fix: prevent anonymous user to trigger the favstar view route

* fix: lint over previous commit

* fix: linter follow-up
2021-05-14 08:05:50 -07:00
Ville Brofeldt
97c9e37c24
perf: memoize db_engine_spec in database (#14638)
* perf: memoize db_engine_spec in sqla table classes

* remove extended cypress timeouts
2021-05-14 12:49:35 +03:00
Evan Rusackas
bf90885828
fix: Removing specific column widths, letting things flex naturally. (#14637) 2021-05-14 12:12:37 +03:00
Phillip Kelley-Dotson
e4e23ea487
fix: fix adhocpopovers tab animate. (#14478)
* fix popover

* addd tabs default css

* fix lint

* fix tests

* address comments

* lint fix

* fix test

* lint
2021-05-13 20:30:27 -07:00
John Bodley
2bd0b62902
fix: Use simplejson for Flask JSON encoding (#14627)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-05-14 15:13:29 +12:00
Michael S. Molina
e4d24242b4
refactor: Bootstrap to AntD - NavDropdown (#14557) 2021-05-13 14:54:09 -07:00
Michael S. Molina
d31958cbd2
fix: Fixes #12672 (#14525) 2021-05-13 12:53:24 -07:00
Hugh A. Miles II
3a81e6aee8
change name to Basic instead of Base (#14625) 2021-05-13 15:05:37 -04:00
Geido
1e601483e3
fix(explore): Filters Tooltip is not showing the full content (#14618)
* Add getTooltipTitle

* Fix tests
2021-05-13 10:03:22 -07:00
Evan Rusackas
568061e8d4
feat: bumping echarts plugin, adding new treemap plugin (#14560)
* chore: bumping echarts plugin

* feat: Upgrading to new treemap

* bump @superset-ui/plugin-chart-echarts 0.17.47

Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-05-13 22:52:17 +08:00
Ville Brofeldt
3f6bd1e4a4
feat: add generic type to column payload (#14547)
* feat: add generic type to column payload

* feat: add generic type to column payload

* xit flaky test
2021-05-13 09:36:09 +03:00
Evan Rusackas
ad699e8b48
fix: don't show busted label for unknown data types (#14585) 2021-05-12 23:16:54 -07:00
Michael S. Molina
331eb10fb9
refactor: Bootstrap to AntD - Form - iteration 4 (#14546) 2021-05-12 23:01:43 -07:00
Phillip Kelley-Dotson
3eef38f309
refactor: change xsm Icons and dnd icons to new dynamic icons (#14419)
* intial commit

* fix test and add more icons

* fix lint
2021-05-12 22:52:25 -07:00
Phillip Kelley-Dotson
5f7722cb36
fix: error icon spacing in explore (#14597)
* fix error message icon

* lint
2021-05-12 22:42:40 -07:00
Beto Dealmeida
31f406a526
feat: API endpoint to validate databases using separate parameters (#14420)
* feat: new endpoint for validating database parameters

* Rebase

* Remove broken tests
2021-05-12 18:32:10 -07:00
Ville Brofeldt
f1c32b9576
feat(native-filters): add sort metric to select (#14590) 2021-05-12 23:28:45 +03:00
Hugh A. Miles II
76a06a78da
use pre-commit instead (#14581) 2021-05-12 16:16:18 -04:00
Hugh A. Miles II
0d240c3841
fix: properly keep state on queryEditorSetSql on tabstateview PUT (#14579)
* send queryid up with setSQL

* pass latest query id

* update

* cleanup
2021-05-12 15:20:26 -04:00
Phillip Kelley-Dotson
bfbf767663
fix: dashboard side actions (#14587)
* fix dashboard side actions

* lint being lint
2021-05-12 11:47:29 -07:00
Grace Guo
ada380982b
fix: bring back dashboard perf logger (#14584)
* fix: bring back dashboard perf logger

* add test
2021-05-12 08:25:46 -07:00
Evan Rusackas
6d786d4d47
fix: Adds space under dataset change warning (#14582)
* fix: Adding a little margin under the warning about changing datasets

* feat: moves Alert spacing from a css override to an Alert prop

* fix: prop needs to be optional... proptional

* fix: moving the typing to a better spot, adding the new prop to storybook.

* style: linting
2021-05-12 10:44:14 +08:00
dependabot[bot]
7d28225c79
build(deps): bump ssri from 6.0.1 to 6.0.2 in /docs (#14227)
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-11 13:12:47 -07:00