Commit Graph

7816 Commits

Author SHA1 Message Date
Maxime Beauchemin 8798da41a7
chore: rename 'Source' to 'Database' for consistency (#15021) 2021-06-07 10:34:52 -07:00
Ville Brofeldt de1b140617
chore(ci): fix ci conflict (#15016) 2021-06-07 18:27:54 +03:00
Ville Brofeldt d2a6e8cd20
fix(native-filters): avoid double load on initialization (#15012) 2021-06-07 13:47:02 +03:00
simcha90 1fc08523af
feat(native-filters): Support default to first value in select filter (#14869)
* fix:fix get permission function

* feat: add async filters support

* revert: revert ff

* feat: add async filters support

* fix: merge with master

* fix: remove tests

* lint: fix lint

* fix: fix CR notes

* fix: fix with master

* test: fix tests

* refactor: update logic for default first value

* fix: get requiredFirst

* fix: support instant

* docs: update text

* docs: fix comments

* docs: update texts
2021-06-07 13:41:19 +03:00
Ke Zhu a90e16850d
docs: required information for OAuth2 configuration (#15010) 2021-06-06 20:26:13 -06:00
Brian Childress 3138091044
Update index.mdx (#14990)
Correcting typo
2021-06-06 12:56:14 -04:00
Bonifacio de Oliveira e2d6015974
fix typos (#14950) 2021-06-04 22:29:02 -04:00
ʈᵃᵢ ff903486a8
docs: fix custom oauth config (#14997) 2021-06-04 21:44:27 -04:00
Beto Dealmeida 8e7f0237ab
fix: apply template_params on external_metadata (#14996)
* fix: apply template_params on external_metadata

* Fix test
2021-06-04 18:12:22 -07:00
Yongjie Zhao c8cf4b6bbf
fix: toggle fullscreen on the dashboard (#14979) 2021-06-04 22:24:57 +08:00
Ville Brofeldt 355223d3fe
feat(native-filters): add markers and number formatter + simple tests (#14981) 2021-06-04 16:22:54 +03:00
Kamil Gabryjelski 8c01c13d90
fix(native-filters): Fix "undefined" error after editing a filter (#14984)
* fix(native-filters): Fix "undefined" error after editing a filter

* Remove console log
2021-06-04 15:15:37 +02:00
Ville Brofeldt 6955ed287b
fix(native-filters): remove implied fetch predicate (#14982) 2021-06-04 13:45:53 +03:00
Ville Brofeldt 61a438a0cd
fix(native-filters): update cascaded filter state on change (#14980) 2021-06-04 14:01:44 +08:00
Ville Brofeldt 20b86f81e7
fix(filter box): replace freeform where clause with ilike (#14900) 2021-06-04 06:43:07 +03:00
Corbin Robb 004a6d9e54
refactor: Convert TableElement.jsx component from class to functional with hooks (#14830)
* Change TableElement from a class component to a functional component

* Replace class state checks in TableElement_spec.jsx with checks testing elements they change

* Refactor small bit of logic to use optional chaining

* Add optional chaining to some logic

* Fix IconTooltip and add IconTooltip to the collapse button

* Fix custom icon using IconToolTip so it better matches the original

* Update collapse/expand icon to use Icons component instead of importing from antdesign directly

* Fix eslint errors

* Clean up some code for readability

Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2021-06-03 16:04:56 -07:00
cccs-jc f652908a70
fix: renamed sqllab filters to _filters (#14971) 2021-06-03 21:22:50 +03:00
Ville Brofeldt 765e9dd932
feat(native-filters): apply cascading without instant filtering (#14966) 2021-06-03 17:48:46 +03:00
Ville Brofeldt 78d30896f3
chore: bump superset-ui to 0.17.53 (#14968) 2021-06-03 16:37:42 +03:00
Ville Brofeldt f94c6d2763
fix(native-filters): cascading filters not rendering in tab (#14964) 2021-06-03 12:04:23 +03:00
Yongjie Zhao e6bc7c99e7
feat: add type_generic and is_dttm to table metadata (#14863) 2021-06-03 08:20:47 +08:00
AAfghahi 53505c2acb
additional safeguard (#14953) 2021-06-02 12:02:22 -07:00
AAfghahi bf1358b665
feat: Adding FORCE_SSL as feature flag in config.py (#14934) 2021-06-02 14:51:33 -04:00
Kamil Gabryjelski 405f95b6af
feat(dashboard/native-filters): Hide filters out of scope of current tab (#14933)
* Optimize finding charts and tabs in scope

* Put filters out of scope in Collapse

* Use lastFocusedTabId instead of directPathToChild

* Fix tests

* Fix cypress test

* Uncomment e2e test
2021-06-02 20:38:18 +02:00
Yongjie Zhao 723a67156c
fix: time parser truncate to first day of year/month (#14945) 2021-06-02 21:26:37 +08:00
Yongjie Zhao f4de0dcb65
fix: is_temporal should overwrite is_dttm (#14894)
* fix: is_temporal should overwrite is_dttm

* move up
2021-06-02 18:00:15 +08:00
Michael S. Molina b6f00e69e1
chore: Improves the native filters UI/UX - iteration 6 (#14932) 2021-06-02 09:03:13 +03:00
Lyndsi Kay Williams 06945ccbcf
feat: Icon Button (#14818)
* Creating IconButton

* Changed naming: logo is now icon

* Hard-coded inset values for ellipses

* Removed default SVG

* Fixed test

* Removed logo from test
2021-06-01 20:47:42 -07:00
Elizabeth Thompson 8cc97e4790
feat: validation db modal (#14832)
* split db modal file

* hook up available databases

* use new validation component
2021-06-01 18:18:17 -04:00
AAfghahi fac6b7c207
fix: Remove Icon and align close button on DatasetModal (#14902)
* aligned DatabaseModal header

* revisions
2021-06-01 14:53:59 -04:00
AAfghahi eced510708
fix: Query History cosmetic issues (#14885)
* easiest fix

* Query History Cosmetic Issues

* added revisions

* beto revisions
2021-06-01 14:53:12 -04:00
cccs-jc eef489c667
feat: add support for filters in sqlLab (#14765) 2021-06-01 21:23:51 +03:00
Ville Brofeldt 66282c3313
chore: customize adhoc filter icon and fix creatable label (#14896)
* chore: customize adhoc filter icon and fix creatable label

* use common icon component

* simplify code
2021-05-31 09:45:12 +03:00
simcha90 e43112c5f9
feat(native-filter): Hide native filters (#14784)
* fix:fix get permission function

* feat: support showFilters

* fix: fix CR notes

* fix: fix lint issues
2021-05-31 09:05:57 +03:00
simcha90 50c5dcbb0a
test(native-filters): add test for Select filter (#14919)
* fix:fix get permission function

* test: tests for select filter
2021-05-31 09:02:46 +03:00
Geido d86880d49b
Revert style (#14840) 2021-05-30 23:11:57 -06:00
Ke Zhu 51935dd5ab
fix: permission denied when starting docker with uid 1000 (#14903) 2021-05-29 12:35:11 +01:00
Will Barrett b0418970ef
chore: upgrade bleach dependency (#14907) 2021-05-29 09:57:38 +03:00
rijojoseph07 a85f5c1344
feat(trino): add support for user impersonation (#14843)
* trino impersonation feature

* Extra options label update

* Update superset/db_engine_specs/trino.py

Co-authored-by: Đặng Minh Dũng <dungdm93@live.com>

Co-authored-by: rijojoseph01 <rijo.joseph@myntra.com>
Co-authored-by: Đặng Minh Dũng <dungdm93@live.com>
2021-05-29 09:54:18 +03:00
Will Barrett 1d78c43e27
Upgrade cryptography package (#14906) 2021-05-28 14:59:15 -07:00
Hugh A. Miles II 0eb34be789
leverage qs to create new tab (#14855) 2021-05-28 10:05:36 -07:00
Hugh A. Miles II 8f81fc0ad7
fix: Redshift parameters not rendering (#14888)
* Update redshift.py

* Update api_tests.py

* fixed test

* add file back
2021-05-28 12:57:15 -04:00
Kamil Gabryjelski 507d4d791f
chore: Bump @superset-ui/legacy-preset-chart-deckgl to 0.4.7 (#14871) 2021-05-28 17:30:21 +02:00
Kamil Gabryjelski f82a085175
feat(dashboard): Highlight tabs that contain a chart in scope of focused native filter (#14865)
* feat(dashboard): Highlight tabs that contain a chart in scope of focused native filter

* Optimizations and improvements

* Use Set instead of array

* Simplify logic

* Change variable name
2021-05-28 11:32:32 +02:00
Michael S. Molina 8519a09086
chore: Improves the native filters UI/UX - iteration 5 (#14882) 2021-05-28 10:29:16 +03:00
Geido fce8ac27f0
Add style (#14839) 2021-05-28 09:32:51 +03:00
Ville Brofeldt b72e5e0aae
feat(native-filters): improve inverse selection indicators (#14873) 2021-05-28 07:45:37 +03:00
Yongjie Zhao acbbced20b
fix: timerange in filter box error (#14890) 2021-05-28 11:28:58 +08:00
Beto Dealmeida 2313e3ef4f
fix: show error on invalid import (#14851)
* fix: show error on invalid import

* Add unit test

* Remove unused imports

* Fix tests
2021-05-27 14:46:41 -07:00
Beto Dealmeida 8febd81baf
feat: validate database parameters (#14883) 2021-05-27 14:46:28 -07:00