Commit Graph

8513 Commits

Author SHA1 Message Date
Yongjie Zhao 4f1d202430
chore: use official isort in pre-commmit (#17215) 2021-10-25 17:57:38 +08:00
Yongjie Zhao 31085e34ce
fix: CI is blocked by mypy checking (#17213) 2021-10-25 11:16:47 +08:00
Hugh A. Miles II b5246b29df
feat: Hide nav create with RBAC (#17157)
* recommit

* Update MenuRight.tsx
2021-10-23 03:47:56 -04:00
David Aaron Suddjian a63a01f158
small changes to dashboard->explore code (#17145) 2021-10-22 10:53:01 -07:00
Yongjie Zhao bedb8f4dff
fix(bigquery): calculated column cannot orderby in BigQuery (#17196)
* fix(bigquery): calculated column cannot orderby in BigQuery

* typo

* add ut

* fix lint
2021-10-22 22:42:58 +08:00
Ville Brofeldt 2ba046f228
fix(sqla): convert prequery results to native python types (#17195) 2021-10-22 12:33:44 +03:00
Youkyoung Cha 35cbcc4643
fix: auto refresh interval won't be updated (#17112)
* fix: auto refresh interval won't be updated

* leave only cirtical changes
2021-10-22 12:23:46 +03:00
Phillip Kelley-Dotson 824e62bd1f
fix: dropdown placement for cascading filters popover (#17046)
* inital fix

* remove content wrapper

* allow dropdown to overflow in long chart

* only pass through filtercontrol

* change to auto

* add ref and pass to child

* fix bug

* fix lint

* add type

* remove code

* add currrent param
2021-10-21 21:25:25 -06:00
Erik Ritter 80a459f43b
feat: support disabling domain sharding with a query param (#17177) 2021-10-21 12:49:59 -07:00
Geido 91199c30d8
Handle undefined (#17183) 2021-10-21 19:34:32 +03:00
Kamil Gabryjelski 860e481a97
fix(explore): timestamp format when copy datatable to clipboard (#17166)
* fix(explore): timestamp format when copy datatable to clipboard

* Fix test

* Fix test

* Use translation for aria label

* Memoize stringified cells

* Fix test
2021-10-21 16:05:14 +02:00
Geido e5a03423f9
chore(Dashboard): Disable save button in Native Filters when an error is present (#17037)
* Disable save on error

* Remove removed erroredFilter

* Fix cdisabled check
2021-10-21 16:43:58 +03:00
Yongjie Zhao 4c708af710
fix: avoid filters containing null value (#17168) 2021-10-21 18:20:38 +08:00
Hugh A. Miles II cd9e99402d
feat: Add prettier to pre-commit workflow (#17134)
* save

* fix

* fix pre-commit
2021-10-20 20:53:52 -04:00
Amit Miran 029ed90afb
fix: preventing sql lab None limit value (#17155)
* fix: preventing sql lab None limit value

* test: create a test for the fix

* pylint (#17172)

* add test (#17173)

Co-authored-by: Hugh A. Miles II <hughmil3s@gmail.com>
2021-10-20 23:43:14 +03:00
Hugh A. Miles II aa0f4d6c4f
use typing_extension instead (#17174) 2021-10-20 15:55:36 -04:00
Geido f580f6bcba
fix(Explore): Undefined owners (#17167)
* Reconcile owners data

* Fix on save
2021-10-20 09:45:58 -06:00
Michael S. Molina e32acd22fd
chore: Moves the datasource components to the components folder (#17130) 2021-10-20 08:13:24 -03:00
symmetricsfyi 20627755a5
docs: add Symmetrics to users list (#17028)
* Add Symmetrics 

Symmetrics provides intelligent metrics to help make connections and matches among job seekers, recruiters, staffers and employers

* Remove trailing space after heading
2021-10-19 21:03:31 +03:00
Phillip Kelley-Dotson 4cc095c10a
update ui packages to 18.14 (#17151) 2021-10-19 08:36:58 -07:00
John Bodley d38e686e63
Update druid.py (#17146) 2021-10-18 15:04:56 -07:00
AAfghahi dacf79719e
remove title from cancel svg (#17147) 2021-10-18 17:03:55 -04:00
Grace Guo 96f4421961
fix: sql lab crash caused by invalid template (#17133) 2021-10-18 11:09:23 -07:00
Ville Brofeldt d7834f17e3
fix(filter-indicator): show filters handled by jinja as applied (#17140) 2021-10-18 19:28:05 +02:00
John Bodley 565ee2318d
chore(druid): Explicitly cast col to TIMESTAMP (#17101)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-10-18 10:06:04 -07:00
Elizabeth Thompson ae4ced8da6
fix: update values for default timezone selector (#17124)
* update values for default timezone selector

* fix casing and comment

* Update TimezoneSelector.test.tsx
2021-10-18 09:39:20 -07:00
Kamil Gabryjelski 2ad9101d1e
perf(native-filters): Decrease number of unnecessary rerenders in native filters (#17115)
* perf(native-filters): decrease number of redundant rerenders

* More perf improvements

* lint fix
2021-10-18 14:56:52 +02:00
David Aaron Suddjian 57f869cf22
fix(explore): remove unnecessary parameters from the explore url (#17123)
* remove unnecessary parameters from the explore url

* refactor, test
2021-10-18 15:30:15 +03:00
simcha90 37944e18d6
feat(Filter-sets): connect to api (#17055)
* fix:fix get permission function

* feat: filtersets new

* feat: connect filter sets to api

* lint: fix lint

* doc: add comment
2021-10-17 09:56:54 +03:00
Hugh A. Miles II 40b88f04f6
feat: DBC UI Snowflake Form (#16856)
* update snowflake spec for dyanmic form

* feat(snowflake): Snowflake dynamic form (#16861)

* snowflake frontend

* snowflake frontend

* refactor(DB Connections): Build Snowflake Dynamic Form (#16875)

* moved all non-BasicParameters into own field

* refactored DB Connection Form made ValidatedInput

* quick fix

* fixed ValidatedInputField (#16934)

* add logic to check for required fields (#17022)

* fix

* fix linting

* remove host

* Update EncryptedField.tsx

Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2021-10-16 20:46:06 -04:00
Ajay M 9e6d5fc775
feat(dashboard): Let users re-arrange native filters (#16154)
* feat. flag: ON

* refactor filter tabs

* WIP

* Drag and Rearrange, styling

* refactoring dnd code

* Add apache license header

* Fix bug reported during PR review

* Minor fix on remove

* turn off filters

* Fix status

* Fix a test

* Address PR comments

* iSort fixes

* Add type key to the new filters

* Fix wrong attribute

* indent

* PR comments

* PR comments

* Fix failing tests

* Styling

* Fix remove filter

* Fix the drag issue

* Save works

* fix

* Write tests

* Style changes

* New Icon

* Grab & Grabbing Cursor

* Commented out code

* Fix tests, fix CI

* Fix failing tests

* Fix test

* Style fixes

* portal nodes dependency

* More style fixes

* PR comments

* add unique ids to collapse panels

* Filter removal bug fixed

* PR comments

* Fix test warnings

* delete filter tabs

* Fix the breaking test

* Fix warnings

* Fix the weird bug on cancel

* refactor

* Fix broken scope
2021-10-15 16:56:33 -07:00
David Aaron Suddjian 4a9107d7f1
chore: upgrade highlight.js (#17067) 2021-10-15 10:17:45 -07:00
Phillip Kelley-Dotson 98f6edd16a
upgrade to 18.3 (#17121) 2021-10-15 08:51:45 -07:00
Ville Brofeldt e055e59a19
chore: remove redundant po2json dev dependency (#17129) 2021-10-15 15:25:39 +03:00
simcha90 eebc953dd5
feat: Custom filters control (#17006)
* fix:fix get permission function

* feat: customize filter control

* fix: fix types

* fix: fix merge

* refactor: update according CR

* refactor: fix CR notes
2021-10-15 14:14:04 +03:00
Michael S. Molina 69604c316f
chore: Include codeowners for the Select component (#17102) 2021-10-15 07:29:35 -03:00
wijnanjo c9c669d179
fix for undefined userId (#17117)
Co-authored-by: jo.wijnant <jo.wijnant@kontron.com>
2021-10-15 01:08:57 -07:00
Lyndsi Kay Williams 5253193708
fix: Update package-lock.json of superset-frontend and cypress-base (#17125)
* Copied changes from original PR, minus package-lock.json files

* Reverted command name change

* Fixing superset-ui and package-lock.json

* superset-ui to 0.18.12

* Update cypress package-lock
2021-10-14 18:28:56 -07:00
Lyndsi Kay Williams 732e5891e5
test: Cypress 7.0.0 migration (#16911)
* Copied changes from original PR, minus package-lock.json files

* Reverted command name change

* Fixed package.json in superset-frontend

* Test adjustments
2021-10-14 17:01:11 -07:00
Lyndsi Kay Williams 635898a76d
fix(sqllab): Hover tooltip flashes in SQL Lab (#17068)
* Changed SQL Lab result column header-style width to max-content

* Changed .ant-tooltip-open to block and tooltip placement to topLeft

* Moved tooltip style changes to local implementation instead of global
2021-10-14 16:23:22 -07:00
Yongchan Hong 7a2e39449a
feat(config): Add none force-refresh option for auto refresh (#17039)
* feat(config): Add none force-refresh option for auto refresh

* use general config

* fix lint issues

* last lint fix
2021-10-14 21:31:10 +03:00
Ville Brofeldt 434b5767c9
fix: escape bind-like strings in virtual table query (#17111) 2021-10-14 18:59:28 +03:00
Beto Dealmeida 83a2f8346e
chore: enable BQ tests (#17017) 2021-10-14 08:07:47 -07:00
Daniel Vaz Gaspar d944503873
fix: Bump FAB to 3.3.4 (#17113) 2021-10-14 12:08:48 +01:00
Erik Ritter 031f594fa3
fix: prevent caching error pages (#17100) 2021-10-13 14:51:44 -07:00
dependabot[bot] 8d54deee4e
build(deps): bump lodash from 4.17.19 to 4.17.21 in /docs (#14577)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-13 16:05:16 -03:00
Kamil Gabryjelski 3ad7483dc1
fix(dashboard): race condition between hydrating dashboard and set active tabs (#17084)
* fix(dashboard): race condition between hydrating dashboard and set active tabs

* Fix linting

* Change variable name
2021-10-13 20:18:44 +02:00
Beto Dealmeida 40e9add641
fix: accept headers on import (#17080)
* fix: accept headers on import

* Add unit test
2021-10-13 10:06:00 -07:00
John Bodley b9ff85d9ea
chore(engine): Translate fractional time grains—requires @superset-ui bump (#17078)
* chore(engine): Translate fractional time grains

* Bump @superset-ui

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2021-10-12 21:40:48 -07:00
Hugh A. Miles II 959fd763a8
fix: Owners selection in dataset edit UX (#17063)
* boilerplate

* update owner select component

* this is working

* update onchange

* refactorig

* you need to useMemo or things break

* update test

* prettier

* move logic into bootstrap data endpoint

* address concerns

* oops

* oops

* fix test
2021-10-12 20:27:56 -04:00