Commit Graph

7925 Commits

Author SHA1 Message Date
Grace Guo 5b2eb8d933
Revert "fix: SQL Lab show "Refetch Results" button while fetching new query results (#15109)" (#15301)
This reverts commit 408d58f937.
2021-06-22 11:08:29 -07:00
Ben Reinhart ab153e66cc
feat: Synchronously return cached charts (#15157)
* feat: Synchronously return cached charts

* Fix lint issue

* Fix python lint error

* Change getChartDataRequest to return response

* Fix lint errors

* Add test

* explore_json: skip cached data check for forced refresh

Co-authored-by: Rob DiCiuccio <rob.diciuccio@gmail.com>
2021-06-22 10:00:57 -07:00
AAfghahi 4d48f0426d
adding new feature flag (#15238) 2021-06-22 11:06:54 -04:00
Ville Brofeldt cef3dc0b02
fix(native-filters): improve time range filter performance (#15295)
* fix time range default value

* defer time filter rendering to inView event

* avoid double fetching of time ranges

* lint

* move set to resolved promise
2021-06-22 14:38:16 +03:00
simcha90 048609d120
feat(native-filters): Show/Highlight errored/focused status (#15276)
* fix:fix get permission function

* feat: show error status for required filters

* test: fix tests

* refactor: fix CR notes
2021-06-22 14:25:08 +03:00
Daniel Wood 19486780a2
fix(helm): Use import_datasources.yaml, if it exists (#14704) 2021-06-21 17:53:39 -06:00
ofekisr cd0e03a57f
chore: encapsulate flask app into superset app (#15281) 2021-06-21 16:05:05 +03:00
Ville Brofeldt b28d7eace3
fix(native-filters): default value checkbox in config modal (#15257)
* fix(native-filters): default value checkbox in config modal

* disable checkbox if required

* simplify styling logic

* make default value mandatory if checked

* address comments
2021-06-21 15:58:30 +03:00
ofekisr 2792ddc9b5
refactor: move SupersetAppInitializer to specific initialization package (#15278) 2021-06-21 13:22:23 +03:00
ofekisr b1689aa93b
chore move calling configure_feature_flags more earlier (#15223)
Co-authored-by: Ofeknielsen <ofek.israel@nieslen.com>
2021-06-21 10:35:18 +03:00
Matan Borenkraout 14598d4d5d
chore: add dry false config to CleanWebpackPlugin (#14691) 2021-06-21 10:21:45 +03:00
Amit Miran a7f89b891c
chore(docs): update releasing docs (#15040) 2021-06-20 19:35:05 +03:00
Phillip Kelley-Dotson cee403212b
initail commit (#15261) 2021-06-19 19:06:10 -07:00
Ville Brofeldt f24264ccdc
feat(native-filters): add support for import/export dashboard (#15253)
* feat(native-filters): add support for import/export

* fix test and non-dataset filters

* lint
2021-06-19 08:29:40 +03:00
Ville Brofeldt 822eb2e27e
feat(sql): add jinja support to metrics and expressions (#15247)
* feat(sql): add jinja support to metrics and expressions

* add test
2021-06-19 08:29:04 +03:00
Daniel Wood a1027152ba
add ascend engine spec (#14682) 2021-06-18 10:35:55 -07:00
Andrew Bastian 2cf99467fc
chore: Add height/width TrashIcon SVG(18px/18px)-Edit Dataset modal (#14956)
* Add min-height/width TrashIcon SVG(18px/18px)-Edit Dataset modal

* Reworked styling to be inline on SVG component via CSS from `emotion`

* Changed parameter from `css` to 'style'

* Fixed lint error.

* Changed `style` back to `css`

Co-authored-by: andrewbastian <andrewbastian@hosaka-deck.lan>
2021-06-18 08:50:11 -07:00
Ke Zhu 745b57745a
docs: Fix naming: Flask-Cache -> Flask-Caching (#15233) 2021-06-17 20:17:03 -06:00
Kamil Gabryjelski c7c63751e9
feat(native-filters): Hide time filters if loaded datasets don't have temporal columns (#15225)
* feat(native-filters): Hide time filters if loaded datasets don't have temporal columns

* Remove "px" suffixes to fix warnings

* Disable an option instead of hiding filter types

* Fix tests

* Add 2 more tests
2021-06-17 16:51:11 +02:00
Michael S. Molina ea8507b4e2
fix: Filter bar not occupying 100% height when filter sets FF unset (#15228) 2021-06-17 16:38:14 +03:00
simcha90 388eb01f06
feat(native-filters): Disable Apply button if filter required (#15222)
* fix:fix get permission function

* fix: fix select first value by clear all

* lint: fix lint

* feat: disable select on missed value

* fix: refactor ff

* feat: connect nulls for line chart

* lint: fix lint

* docs: fix message

* fix: fix CR comments

* fix: fix Collapsed items

* fix: fix Collapsed items
2021-06-17 16:35:33 +03:00
Ville Brofeldt 1269cc2f88
fix(examples): calendar chart metric should be metrics (#15173)
* fix(examples): calendar chart metric should be metrics

* fix presto test
2021-06-17 14:55:50 +03:00
Ville Brofeldt 7237324983
chore: bump superset-ui to 0.17.58 (#15220) 2021-06-17 11:21:27 +03:00
simcha90 fe5381dcb8
fix(native-filters): Fix Select `Default First Value` by clicked `Clear All` (#15219)
* fix:fix get permission function

* fix: fix select first value by clear all

* lint: fix lint
2021-06-17 11:14:21 +03:00
Yaozong Liu e5187a479a
fix(dashboard): fix nested tab (#15134) 2021-06-16 23:31:52 -06:00
Phillip Kelley-Dotson cb10427b1e
fix dataset select list (#15203) 2021-06-16 21:56:40 -06:00
Hugh A. Miles II 965dacdb33
fix: Fix dremio dialect not having a `driver` field (#15198)
* Update __init__.py

* Update superset/db_engine_specs/__init__.py

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

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-06-16 20:02:02 -04:00
Grace Guo 408d58f937
fix: SQL Lab show "Refetch Results" button while fetching new query results (#15109)
* fix: SQL Lab show "Refetch Results" button while fetching new query results

* fix comments
2021-06-16 16:57:31 -07:00
ʈᵃᵢ 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