Commit Graph

1527 Commits

Author SHA1 Message Date
Kamil Gabryjelski
63dc035d6a feat(explore): Remove default for time range filter and Metrics (#14661)
* feat(explore): Remove default for time range filter and Metrics

* Merge errors with same messages

* Fix e2e test

* Rename a variable

* Bump packages

* Fix unit tests
2021-05-25 15:55:41 +02:00
Einat Bertenthal
add35f9fe4 fix: set table name width to not hide icons when name is too long (#14489)
* fix: set table name width to now hide icons when name is too long

* fix: table style

Co-authored-by: einatnielsen <einat.bertenthal@nielsen.com>
2021-05-25 16:44:28 +03:00
Ville Brofeldt
9a96dac3a7 fix(native-filters): loop bug by simplify state handling (#14788) 2021-05-25 15:03:22 +03:00
simcha90
9bf07cc428 fix(native-filters): Manage default value of filters by superset (#14785)
* fix:fix get permission function

* feat: manage default value in superset
2021-05-25 11:25:13 +03:00
AAfghahi
252c64b397 fix: Additional ResultSet tests (#14741)
* fixing tests

* added testing

* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx

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

* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx

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

* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx

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

* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx

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

* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx

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

* removed decribe

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-05-24 17:42:09 -04:00
Beto Dealmeida
65f90096fd fix: use encodeURIComponent when getting table metadata (#14790) 2021-05-24 12:20:31 -07:00
Elizabeth Thompson
fbe6f16052 database modal should close on connect with tab layout (#14771) 2021-05-24 13:13:56 -04:00
Ville Brofeldt
e9657afe4b feat(native-filters): add search all filter options (#14710)
* feat(native-filters): add search all filter options

* add tests

* fix default value

* implement ILIKE operator

* rebump packages

* fix test

* address comments

* fix state changes coming from application

* fix debouncer
2021-05-24 16:33:59 +03:00
Yongjie Zhao
8484ee653f fix: extra query in Dashboard when native filter enabled (#14770) 2021-05-24 20:53:14 +08:00
Michael S. Molina
bee6f3ba8a chore: Improves the native filters UI/UX - iteration 2 (#14753) 2021-05-24 15:22:05 +03:00
simcha90
2b2a8c4bcd fix(native filters): Fix explore state (#14779)
* fix:fix get permission function

* fix: fix ownState for unsaved explore chart
2021-05-24 14:00:26 +03:00
Kamil Gabryjelski
d03c608ce1 fix(explore): DndColumnSelect not handling controls with "multi: false" (#14737)
* fix(explore): DndColumnSelect not handling controls with multi={false}

* Implement translations for singular and plural cases

* Fix test
2021-05-24 09:53:46 +02:00
Beto Dealmeida
9e13476714 feat: enable user impersonation in GSheets (#14767) 2021-05-22 13:46:36 -07:00
Beto Dealmeida
fb662698ce fix: add DB should not say it's Postgres (#14766) 2021-05-22 13:46:19 -07:00
Yongjie Zhao
d71b8b38d6 Revert "fix(dashboard): multiple query trigger when native filter enabled (#14734)" (#14762)
This reverts commit 88de4109e7.
2021-05-22 15:11:58 +08:00
Elizabeth Thompson
c7aee4e27b feat: save database with new dynamic form (#14583)
* split db modal file

* split db modal file

* hook up available databases

* add comment
2021-05-21 18:25:56 -04:00
Michael S. Molina
04d94d2b6c chore: Removes ColorSchemeControl.less (#14199) 2021-05-21 14:46:01 -07:00
Geido
fb6d21a168 fix(explore): Icons width (#14717)
* Revert width and margin

* Adjust width

* Increase margin
2021-05-21 14:41:55 -07:00
Phillip Kelley-Dotson
f96fea166c feat: make tabs sticky in homepage (#14695)
* inital commit

* lint

* fix loading state for edit activity

* add dep

* lint fix

* add condition

* lint being lint
2021-05-21 14:37:54 -07:00
Michael S. Molina
1e8b6eb848 fix: Fixes right menu layout in different screen sizes (#14689) 2021-05-21 11:21:21 -07:00
Yongjie Zhao
88de4109e7 fix(dashboard): multiple query trigger when native filter enabled (#14734)
* fix(dashboard): multiple query trigger when native filter enabled

* fix lint

* wip
2021-05-21 09:24:42 -07:00
Kamil Gabryjelski
c831655913 feat(native-filters): Highlight charts affected by focused native filter (#14693)
* Highlight charts affected by focused native filter

* Remove tabs animation on dashboard

* Remove a test that checks for "animated={true}" prop on tabs

* Move hooks types to a separate interface
2021-05-21 15:54:33 +02:00
Phillip Kelley-Dotson
29828f8552 fix: homepage card layout (#14725)
* initial commit

* ensure card lsize
2021-05-20 19:43:12 -07:00
Michael S. Molina
173c486d4a fix: Unable to clear default value in native select filter (#14739) 2021-05-20 19:42:33 -07:00
David Aaron Suddjian
0e86a6b81c fix(sqllab): don't store user in localstorage (#14722)
* fix(sqllab): remove user info from localstorage

* filter out user data when loading localstorage
2021-05-20 16:35:56 -07:00
Lyndsi Kay Williams
e4103c272e feat: Labeled Error-bound Input (#14530)
* Error Input Form created

* Adjusting styling

* testing complete

* Corrected component naming in Form

* testing complete

* Corrected component naming in Form

* Renamed stories file to appropriate name

* add image for alert

* Fixed test

* Switched from px to theme

* Adjusting LabeledErrorBoundInputProps

* validation now accepts a string

Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-05-20 14:01:27 -07:00
Michael S. Molina
d924223950 chore: Improves the native filters UI/UX - iteration 1 (#14714) 2021-05-20 19:52:01 +03:00
Yaozong Liu
ea37274180 fix(explore): fix clearing select data causes popover dismiss (#14221)
* fix(explore): fix clearing select data causes popover dismiss

* wip: lint

* wip: lint
2021-05-20 17:26:27 +03:00
Elizabeth Thompson
a9d888ad40 check limiting factor on query results (#14719) 2021-05-19 14:38:57 -07:00
David Aaron Suddjian
26c0b30ec9 fix(explore): add padding to the adhoc filter value select (#14679) 2021-05-19 14:08:41 -07:00
David Aaron Suddjian
152b0d0575 fix(explore): checkbox form control formatting (#14701)
* fix(explore): add inline option for the field that only gets used in one place

* typescriptify

* unnecessary component wrapping
2021-05-19 14:04:09 -07:00
Hugh A. Miles II
4160e45398 feat: Add headers for DatabaseModal (#14647)
* update styles sheets

* save this

* add backend

* update backend reference

* update styles

* my style updates

* sticky header
2021-05-19 13:20:02 -04:00
Hugh A. Miles II
ec0a7922fe feat: Add Parameters fields to GET Database (#14653) 2021-05-19 10:25:20 -04:00
Michael S. Molina
be8c176df2 chore: Removes less from SliceAdder (#14448) 2021-05-19 00:16:44 -07:00
Geido
a0881fb157 Add filter_box full height (#14657) 2021-05-19 00:13:16 -07:00
Evan Rusackas
c2bd684454 fix(Explore): fixes broken layout of tooltips (#14529)
* fix: moves LESS styles into Emotion, fixes broken layout of tooltips

* fix: tests

* style: linting

* style: better styling location
2021-05-18 21:55:09 -07:00
Beto Dealmeida
c3d1f1084e feat: redirect 404/500 to static pages (#14677)
* feat: redirect 404/500 to static pages

* Show pages only on html requests
2021-05-18 20:50:39 -07:00
Ajay M
90378ed94e fix(explore): #10098 boolean filter not working (#14567)
* Restrict operators when column is boolean

* refactor 'isOperatorRelevant' a little bit

* Include 'BOOLEAN' to handle presto

* Update tests

* number column should show bool operators

* fix test - some dbs translate true/false to 1/0

* Fix tests and add linting

* When column type is boolean, show bool operators

* Address PR comments - simplify conditions

* Fix a linting error

* Addressing PR comment - remove unused variables
2021-05-18 14:39:19 -07:00
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
Michael S. Molina
32f5f365d8 fix: Fixes email body when sharing a chart by email (#14664) 2021-05-18 00:43:36 -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
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
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