Commit Graph

7847 Commits

Author SHA1 Message Date
ʈᵃᵢ 91e424bbb4
fix(logging): downgrade csv export log to debug (#15123)
* fix(logging): downgrade csv export log to debug

* blacking

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2021-06-16 16:53:45 -07:00
Daniel Wood 5e543e3b9e
fix(aarch64): Bump pyarrow version to 4.0.1 (#14891)
* Bump pyarrow to v4 for aarch64 compatibility.

* Update base.txt

* Bump to 4.0.1
2021-06-16 14:19:32 -07:00
Daniel Wood 70afa08190
fix(helm): Set working defaults for google OAuth2 example (#13614)
* Rebase and lint

* Fix whitespace

Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
2021-06-16 23:38:57 +03:00
Phillip Kelley-Dotson ca89292faa
refactor: refactor Icon to Icons in sqlEditor component (#14463)
* add triangle-down

* lint fix

* add suggestions
2021-06-16 14:14:36 -06:00
Beto Dealmeida d625f5f111
feat: show rich error messages on past failed queries (#15158)
* feat: store SIP-40 error payload with queries

* Set errors in query on load
2021-06-16 12:58:14 -07:00
Yaozong Liu e689b0d445
fix(dashboard): duplicated toast (#15138) 2021-06-16 21:44:37 +03:00
Geido d578ae9897
feat: Select component (Iteration 1) (#15121)
* Implement initial structure

* Add aria-label

* Rename files

* Refactor single mode new options

* Clean up

* Add select at every corner in storybook

* Clean up

* Add pagination

* Move selected options at the top

* Clean up

* Add license

* Refactor

* Improve pagination

* Fetch when allowNewOptions

* Clean up
2021-06-16 11:05:58 -06:00
Michael S. Molina dafaaaeb28
chore: Changes the dashboard highlight color when selecting a filter (#15192) 2021-06-16 15:45:31 +02:00
Michael S. Molina fc8ad4f984
chore: Makes the refresh button only appear when the filter has a dataset (#15194) 2021-06-16 16:07:23 +03:00
Michael S. Molina 4289929745
chore: Allows the user to force fetch the default values (#15178) 2021-06-16 14:17:34 +03:00
Michael S. Molina 0c22266041
chore: Improves the native filters bar layout (#15115) 2021-06-16 14:17:14 +03:00
Ville Brofeldt 83602923f5
feat(api): add featured datatypes to dashboard dataset ep (#15188) 2021-06-16 12:36:11 +03:00
Daniel Wood 6edf3404a7
fix(docker/helm): Make webserver query timeout adjustable (#15007)
* Allow timeout override, but keep default if unset

* Add template placeholder values for timeout change

* Bump chart version

* linting

* remove whitespace
2021-06-16 09:23:47 +03:00
Daniel Wood 9282c58654
feat(helm): Make local admin optional (#14703)
* Make local admin optional

* fix for linting
2021-06-16 09:22:18 +03:00
Beto Dealmeida ffdbcbd16e
fix: ignore errors in GetLog (#15181) 2021-06-15 16:33:59 -07:00
Phillip Kelley-Dotson d30f3c8149
fix space (#15175) 2021-06-15 16:16:59 -07:00
Corbin Robb b179863e25
refactor: Convert TableElement to TypeScript (#14978)
* Convert TableElement to typescript

* Change type names to better match naming conventions in other files

* Fix import order and update tests on TableElement

* Remove defaultProps

* Destructure the props

* Use Rest and Spread syntax to condense props destructuring

* Fix TypeScript errors and add comment to explain antd props and types weirdness

* Remove comment, add consistency with other files, and use method chaining to make more concise

Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2021-06-15 13:29:45 -07:00
Elizabeth Thompson 7dc0cee5be
add another wait for chart element (#15108) 2021-06-15 10:00:36 -07:00
David Aaron Suddjian 7b87eb15bd
fix: use npm v7 in docker compose (#15160) 2021-06-15 09:43:43 -07:00
Beto Dealmeida 75018bf99f
fix: Presto postgres test (#15163) 2021-06-15 07:10:50 -07:00
Kamil Gabryjelski 5316dc89a8
fix(dashboard): Prevent rerendering View Query modal on window resize (#15172)
* fix(dashboard): Prevent rerendering View Query modal on window resize

* Fix lint
2021-06-15 13:16:31 +02:00
Matan Borenkraout 53225e8d17
refactor(explore): remove side effect in render from CalendarFrame for DatePicker (#15147) 2021-06-15 13:26:42 +03:00
Ville Brofeldt 9c3c3fa125
feat(native-filters): add optional time col to time range (#15117) 2021-06-15 13:25:28 +03:00
Kamil Gabryjelski 9ba2983f42
chore: Bump plugin-chart-pivot-table to 0.17.57 (#15168)
* chore: Bump plugin-chart-pivot-table to 0.17.57

* Bump other superset-ui packages to 0.17.56

* Fix package-lock
2021-06-15 12:02:40 +02:00
Michael S. Molina b3c197903c
chore: Scrolls top when opening a select filter (#15141) 2021-06-15 10:10:23 +02:00
Beto Dealmeida 90d9097841
fix: validate DB-specific parameters (#15155)
* fix: validate DB-specific parameters

* Fix lint

* Update test

* Fix lint/test

* Fix lint

* Update superset/databases/api.py
2021-06-14 18:44:18 -07:00
ʈᵃᵢ 98ec365374
feat(webpack): configure publicPath via ASSET_BASE_URL env var (#15105) 2021-06-14 18:55:58 -06:00
Phillip Kelley-Dotson e2abf59534
feat(Explore): add sort to edit dataset modal (#14872)
* inital commit

* refac

* fix ui issues and sort

* fix lint

* add suggestions

* lint

* add suggestions

* add enum

* add enum to inter
2021-06-14 15:20:22 -07:00
Rob DiCiuccio 7a21f9afa7
chore: Disable comment logging for ephemeral envs (#15156)
* Disable comment logging

* Update CODEOWNERS
2021-06-14 14:31:36 -07:00
Ajay M 045fa1bc7a
feat(dashboard): Let users download full CSV of a table (#15046)
* - Convert SliceHeader to TSX in progress
- Add menu option to download full CSV. Probably will change it

* Add Download Full CSV feature, and tests

* Added more tests, more TS fixes

* Added feature flag

* Update @superset-ui package versions

* Update @superset-ui packages versions

* use backend config instead of hardcoding number of rows

* Update tests

* front end test fix

* Lint fixes and test fixes
2021-06-14 14:26:18 -07:00
Erik Ritter 6ed0a3a9e0
chore: update documentation for frontend feature flags (#15093) 2021-06-14 10:46:50 -07:00
stellalc7 448c689988
Fix typo in contributing.md (#15152) 2021-06-14 13:23:51 -04:00
Hugh A. Miles II 143a1b0650
fix: Test connection before starting on create transaction (#15100)
* test connection before starting on create transaction

* Update create.py
2021-06-14 12:44:27 -04:00
Michael S. Molina 82ad053e50
fix: Filter overlay in dashboard when scrolling (#15140) 2021-06-14 15:34:36 +02:00
Kamil Gabryjelski 3866044938
fix(native-filters): Don't send unnecessary PUT request on dashboard render (#15146)
* fix(native-filters): Don't send unnecessary PUT request on dashboard render

* Run native filters scopes only if feature flag is enabled

* Change action name

* Run native filters scopes only if at least 1 filter added

* Fix lint
2021-06-14 14:33:59 +02:00
gordern 57035c1b93
fix: improve dashboard fullscreen text (#15139) 2021-06-14 17:54:37 +08:00
Yaozong Liu 856a2bd5ed
fix(explore): fix y-axis lower bound 0 value (#15091) 2021-06-13 11:24:39 +08:00
Phillip Kelley-Dotson 8e6a5a6f52
chore: Homepage cleanup (#14823)
* initial commit

* update welcome

* fix lint

* add enum

* more choring

* fix lint

* redo logic for api stick api calls

* fix test

* fix chart test

* lint fix and remove unused code

* fix flicker and add suggestions

* lint

* fix test

* add suggestions

* add suggestions and fix test

* revert packagelock

* fix space
2021-06-11 18:47:42 -07:00
Beto Dealmeida 53df152362
feat: show spinner on exports (#15107)
* feat: show spinner on exports

* Set cookie only if token is passed

* Use iframe

* Small fixes

* Fix lint

* Remove stale test

* Add explicit type
2021-06-11 17:25:00 -07:00
Kamil Gabryjelski ff2d5888d9
feat(native-filters): Defer loading filters data until filter is visible (#15120)
* feat(native-filters): Defer running query until native filter is in view

* Fix default values not displaying
2021-06-11 11:10:16 -07:00
Roberto Cruz 535ca736d7
docs: add Ontruck to users list (#14928) 2021-06-11 13:05:21 -04:00
Kamil Gabryjelski 51f0d4fd98
feat(native-filters): Hide filters which don't affect any visible charts (#15063)
* feat(native-filters): Hide filters which don't affect any visible charts

* Fix lint errors

* Add comments

* Code review fix

* Fix tests

* Refactor logic in FilterControls
2021-06-11 13:41:08 +02:00
Ville Brofeldt 5e825cf063
fix(native-filters): handle descending sorting correctly (#15112) 2021-06-11 11:44:16 +03:00
Kamil Gabryjelski 3456dd571c
fix(native-filters): fix Select filter crashing when changing filter type (#15090) 2021-06-10 18:11:31 -06:00
Ke Zhu 31da394676
Stop using deprecated task API (#15062) 2021-06-10 17:57:12 -06:00
Maxime Beauchemin 7d5bc2438a
chore: rename 'tables' to 'datasets' in error message (#15078) 2021-06-10 17:56:26 -06:00
Beto Dealmeida cc2b4fe3f4
fix: show custom errors in SQL Lab (#14959)
* fix: show custom errors in SQL Lab

* Fix lint

* Fix test

* Update superset/views/base.py

Co-authored-by: ʈᵃᵢ <tai@apache.org>

* Fix lint

* Debug failing test

* Remove print()

* Debug flaky tests

* Fix test

Co-authored-by: ʈᵃᵢ <tai@apache.org>
2021-06-10 15:20:31 -07:00
Ajay M f8b270d419
fix(explore): Explore page boolean filter is broken for Presto DB (#14952)
* Front end update - modify OPERATORS, to have SQL operation and display value

* Updated tests

* More tests

* Remove OPERATOR imports

* Fix break tests

* PR comments

* fix issue with comparator loading

* rename a variable

* Linting
2021-06-10 09:08:04 -07:00
Ville Brofeldt c0eff8faf6
fix(native-filters): empty label indicator (#15084) 2021-06-10 16:56:55 +03:00
Ville Brofeldt 6c9f15a6e4
fix(native-filters): show error if default value query failed (#15005)
* fix(native-filters): show error if query failed

* address comments
2021-06-10 16:56:31 +03:00