Commit Graph

1671 Commits

Author SHA1 Message Date
Kamil Gabryjelski
09c44d05fd
feat(native-filters): Hide non-numeric columns in numeric range filter (#15385)
* feat(native-filters): Hide non-numeric columns in numeric range filter

* Return true if type_generic undefined

* Code review comments

* Replace any with string

* fix tests

* add missing columns to select

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-06-27 07:35:17 +03:00
Phillip Kelley-Dotson
f3f018423a
initial commit (#15392) 2021-06-25 14:48:03 -07:00
Michael S. Molina
bdb9b0a9be
chore: Rewrites dashboard IconButton component (#14174) 2021-06-25 15:15:20 -03:00
Michael S. Molina
1e8fb8b55c
chore: Migrates ControlHeader icons (#15265) 2021-06-25 15:12:42 -03:00
Michael S. Molina
a7e103765a
chore: Improves the Select component UI/UX - iteration 3 (#15363) 2021-06-25 11:01:39 -06:00
Phillip Kelley-Dotson
95b9e2e185
refactor: icon to icons for favestar component (#15371)
* initial commit

* initial commit

* fix cypress test

* fix favstar cypress test

* fix card view

* fix other card view
2021-06-25 09:48:22 -07:00
Phillip Kelley-Dotson
9330c6ed0d
initial commit (#15380) 2021-06-25 09:46:26 -07:00
Michael S. Molina
819118be13
fix: Enlarged select filter value (#15373)
* fix: Enlarged select filter value

* fix: Makes the label take the whole width

* fix: Moves the required icon before the cascade icon

* fix: Fixes the cascading icon overlap with big texts
2021-06-25 13:33:12 -03:00
Kamil Gabryjelski
53aa35177a
chore: bump @svgr/webpack to 5.5.0 (#15349) 2021-06-24 23:33:59 -06:00
Phillip Kelley-Dotson
a3f4e4ad9e
refactor: icon to icons in erroralert component (#15341)
* initial commit

* initial commit

* lint
2021-06-24 18:05:22 -07:00
Phillip Kelley-Dotson
a477505291
refactor: icon to icons for basicerror componenet (#15336)
* initial commit

* initial commit

* fix test

* lint fix

* Update superset-frontend/src/components/ErrorMessage/BasicErrorAlert.tsx

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>

* lint

Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2021-06-24 09:37:13 -07:00
stellalc7
680b447bc4
style(sqllab): update table count styling (#15200)
* Change text style and opacity

* Edit changes to text style and opacity for table length

* Edit changes to text style and opacity
2021-06-24 08:04:04 -07:00
Beto Dealmeida
241ee32f56
feat: custom error SQL Lab timeout (#15342)
* feat: custom error SQL Lab timeout

* Update test
2021-06-24 08:02:49 -07:00
Ville Brofeldt
b3cdff4995
fix(native-filters): show default text on filter scoping tree (#15351) 2021-06-24 11:01:24 +03:00
Kamil Gabryjelski
f0b64190b5
feat(native-filters): Set default scope by filters' and charts' datasets (#15302)
* feat(native-filters): Set default scope by filter's and charts datasets

* Fix undefined error

* Use JSON.stringify in dependency array

* Fix lint issue

* Lock scope after switching radio buttons

* Fix weird eslint issue

* Change prop names

* Implement useComponentDidUpdate

* Fix lint

* Refactor useComponentDidUpdate

* Remove screen.debug()
2021-06-24 09:23:35 +02:00
Ajay M
352656a398
Fix issue #15335 (#15339) 2021-06-24 10:09:15 +08:00
Phillip Kelley-Dotson
e1ceb7f7cc
refactor: Icon to icons for certifiedIcon (#15306)
* initial commit

* updated css

* fix lint
2021-06-23 14:49:17 -06:00
Erik Ritter
7a1223ca7d
Revert "build(webpack): use [contenthash] instead of [chunkhash] (#14942)" (#15285)
This reverts commit 821519fcfa.
2021-06-23 09:41:19 -07:00
Phillip Kelley-Dotson
f35ce394bf
refactor: migrate icon to icons in tablecollection (#15309)
* initial commit

* fix flaky test

* remove line
2021-06-23 09:40:06 -07:00
Beto Dealmeida
4b00c152cc
feat: implement specific errors for SQL Lab (#15206)
* RESULTS_BACKEND_NOT_CONFIGURED_ERROR

* DML_NOT_ALLOWED_ERROR

* INVALID_CxAS_QUERY_ERROR

* Fix lint

* Add more tests
2021-06-23 07:58:20 -07:00
Kamil Gabryjelski
b89ee0cb38
fix(native-filters): Assume that temporal columns exist if column_types is undefined (#15324)
* fix(native-filters): Assume that temporal columns exist if column_types is undefined

* Allow column_types to be an empty array
2021-06-23 12:09:58 +02:00
Kamil Gabryjelski
6324490dd3
fix(dashboard): Close FiltersBadge popover on window resize (#15305) 2021-06-23 10:14:41 +02:00
Yaozong Liu
f31d573561
feat(editable-title): move and scroll to the end (#15270) 2021-06-23 08:01:14 +03:00
Phillip Kelley-Dotson
c211f7df8e
refactor: icon to icons in DatasourceEditor (#15240)
* intial commit

* lint

* fix test

* fix lint

* remove console.

* Removing pixel placement override.

Co-authored-by: Evan Rusackas <evan@preset.io>
2021-06-22 15:07:09 -07:00
Michael S. Molina
fc1a62b78c
chore: Improves the Select component UI/UX - iteration 2 (#15235) 2021-06-22 16:04:01 -03:00
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
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
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
Matan Borenkraout
14598d4d5d
chore: add dry false config to CleanWebpackPlugin (#14691) 2021-06-21 10:21:45 +03:00
Phillip Kelley-Dotson
cee403212b
initail commit (#15261) 2021-06-19 19:06:10 -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
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
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
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
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
Phillip Kelley-Dotson
d30f3c8149
fix space (#15175) 2021-06-15 16:16:59 -07:00