Grace Guo
1c4cb28e91
fix: double click slq lab table cell ( #15400 )
2021-06-28 17:05:46 +03:00
Marek Šuppa
93447d1903
Update Header.jsx ( #13467 )
...
* Fix typo in the warning that gets displayed with the `positionJSON` is too large/long.
2021-06-28 17:02:41 +03:00
Ville Brofeldt
ddcf461749
fix(native-filters): show human readable time grain label in indicator ( #15411 )
...
* fix(native-filters): show human readable time grain label in indicator
* lint
* simplify
2021-06-28 13:35:14 +03:00
cccs-RyanS
b9b903f8e6
feat: Adding a show all button to the column/metrics list in the explore view (Allow more than 50 columns to be shown) ( #15153 )
...
* Adding a show all button to the column/metrics list in the explore view
* Update superset-frontend/src/explore/components/DatasourcePanel/index.tsx
Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com>
* Update superset-frontend/src/explore/components/DatasourcePanel/index.tsx
Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com>
* Fixing typo
Co-authored-by: cccs-rc <62034438+cccs-rc@users.noreply.github.com>
2021-06-27 23:16:53 +03:00
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
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
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
ʈᵃᵢ
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
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
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
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
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
Michael S. Molina
1468026883
chore: Improves the native filters UI/UX - iteration 7 ( #15017 )
2021-06-10 15:24:00 +03:00
Ville Brofeldt
8aaa6036d7
fix(native-filters): remove hard-coded default time range ( #15015 )
...
* fix(native-filters): use default for time range from explore
* fix tests
2021-06-10 14:49:37 +03:00
Ville Brofeldt
65714cc201
fix(dnd): add isExtra prop to Option ( #15080 )
2021-06-10 12:13:20 +03:00
Yongjie Zhao
834bb9409d
fix(datasets): consistent dataset list ( #15014 )
2021-06-10 10:05:33 +08:00
Erik Ritter
e8414dfb52
fix: disappearing tooltips on dashboards ( #15073 )
2021-06-09 18:41:40 -07:00
Beto Dealmeida
4d24d4dc9a
fix: confirm overwrite and password on import ( #15056 )
...
* fix: confirm overwrite and password on import
* Add tests
2021-06-09 18:05:31 -07:00
Beto Dealmeida
1db92cc13a
feat: spinner for imports ( #15055 )
...
* Update tests
* feat: spinner for imports
* Use loading button instead
* Small fixes
* Small fix
2021-06-09 16:14:49 -07:00
AAfghahi
2d3f552b51
adding fetching to query status ( #15064 )
2021-06-09 16:11:49 -07:00
Beto Dealmeida
256e1452fe
feat: style import button ( #15057 )
...
* feat: style import button
* Update tests
* Update test
2021-06-09 15:40:53 -07:00
Elizabeth Thompson
0c470feaef
move metric parsing to state instantiation ( #15069 )
2021-06-09 14:54:25 -07:00
ʈᵃᵢ
821519fcfa
build(webpack): use [contenthash] instead of [chunkhash] ( #14942 )
2021-06-09 13:59:17 -06:00
Beto Dealmeida
3f527c7a45
fix: font regression in SQL Lab ( #14960 )
...
* fix: font regression in SQL Lab
* Fix tests
2021-06-08 15:52:57 -07:00
Lyndsi Kay Williams
6cc179b7bf
close icon aligned ( #14870 )
2021-06-08 13:10:13 -04:00
Lyndsi Kay Williams
94c86c3837
Centered down-arrow icons in top navbar ( #14846 )
2021-06-08 13:09:35 -04:00
Michael S. Molina
1af91ed756
fix: Adds left padding to dashboard edit mode when filter bar is closed ( #15024 )
2021-06-08 15:58:15 +03:00
Ville Brofeldt
efd7007701
fix(native-filters): show overridden chart name on scoping tree ( #15038 )
2021-06-08 14:55:11 +03:00
Kamil Gabryjelski
0e07a5ca03
fix(explore): Datepicker glitch on hover outside the modal ( #15033 )
2021-06-08 07:46:09 +02:00
Geido
a1ca0b2e6b
Add ming-height to empty tab ( #14878 )
2021-06-07 22:55:16 -06:00
Geido
12fcb3132c
Remove nowrap ( #14954 )
2021-06-07 22:50:05 -06:00
Elizabeth Thompson
21aa3daae3
display all metric results in editor ( #15031 )
2021-06-07 19:12:56 -07:00
David Aaron Suddjian
cf15fe0d03
fix(dashboard): custom css should be removed on unmount ( #15025 )
...
* fix(dashboard): custom css should be removed on unmount
* better comment
* remove unnecessary typecast
* move type to top level scope
2021-06-07 14:04:56 -07:00
Ville Brofeldt
422c32cb7d
feat(filter-box): hide druid options if druid not enabled ( #14921 )
...
* feat(filter-box): hide druid options if druid not enabled
* add bootstrap export
2021-06-07 13:49:56 -06:00
AAfghahi
7f4e036433
fix: adding additional configs and colors for queryHistory ( #14995 )
...
* added additional configs and colors for queryHistory
* added condition to status icon
* Update superset-frontend/src/SqlLab/components/QueryTable/index.jsx
* Update superset-frontend/src/SqlLab/components/QueryTable/index.jsx
2021-06-07 14:10:28 -04:00
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
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
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
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
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
Hugh A. Miles II
0eb34be789
leverage qs to create new tab ( #14855 )
2021-05-28 10:05:36 -07: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
Kamil Gabryjelski
281d637674
Don't run query when control panel has errors ( #14687 )
2021-05-27 08:13:17 -07:00
AAfghahi
877201f1e0
margin style ( #14849 )
2021-05-27 10:39:19 -04:00
Michael S. Molina
a6d54b681b
chore: Improves the native filters UI/UX - iteration 4 ( #14854 )
2021-05-27 13:37:36 +03:00
Geido
ad4ce83327
fix(native-filter): Default value multi-select height in native filters ( #14816 )
...
* Fix height
* Fix height sidebar
* Move style
2021-05-27 13:05:58 +03:00
Ville Brofeldt
2b4e0ec9e0
feat(native-filters): sort selected values on blur ( #14842 )
...
* feat(native-filters): sort selected values on blur
* remove new icons
2021-05-27 09:36:33 +03:00
Yongjie Zhao
9f54231af1
fix: filterbox apply single value ( #14841 )
...
* fix: filterbox apply single value
* fix ci
* fix e2e
2021-05-27 14:00:48 +08:00
Ville Brofeldt
bd2c087f78
fix(native-filters): remove indicators outside scope ( #14838 )
...
* fix(native-filters): remove indicators outside scope
* lint
2021-05-27 07:53:52 +03:00
AAfghahi
80d22f5b33
report dropdown ( #14852 )
2021-05-26 17:17:35 -04:00
Ville Brofeldt
e466066229
chore(native-filters): introduce experimental feature flag ( #14814 )
...
* chore(native-filters): introduce experimental feature flag
* break out util and add tests
* fix import
2021-05-26 17:20:33 +03:00
Einat Bertenthal
3224e75193
feat: show max tag count in select filter ( #14486 )
...
Co-authored-by: einatnielsen <einat.bertenthal@nielsen.com>
2021-05-26 14:17:58 +03:00
Michael S. Molina
0c0eccb81a
chore: Improves the native filters UI/UX - iteration 3 ( #14824 )
2021-05-26 10:49:00 +03:00
Einat Bertenthal
dfe030b835
feat: chart gallery search improvement ( #14484 )
...
* feat: chart gallery search improvement
* test: adding unit test for VizTypeControl
* fix: lint errors
Co-authored-by: einatnielsen <einat.bertenthal@nielsen.com>
2021-05-25 18:41:53 +03:00
Kamil Gabryjelski
63dc035d6a
feat(explore): Remove default for time range filter and Metrics ( #14661 )
...
* feat(explore): Remove default for time range filter and Metrics
* Merge errors with same messages
* Fix e2e test
* Rename a variable
* Bump packages
* Fix unit tests
2021-05-25 15:55:41 +02:00
Einat Bertenthal
add35f9fe4
fix: set table name width to not hide icons when name is too long ( #14489 )
...
* fix: set table name width to now hide icons when name is too long
* fix: table style
Co-authored-by: einatnielsen <einat.bertenthal@nielsen.com>
2021-05-25 16:44:28 +03:00
Ville Brofeldt
9a96dac3a7
fix(native-filters): loop bug by simplify state handling ( #14788 )
2021-05-25 15:03:22 +03:00
simcha90
9bf07cc428
fix(native-filters): Manage default value of filters by superset ( #14785 )
...
* fix:fix get permission function
* feat: manage default value in superset
2021-05-25 11:25:13 +03:00
AAfghahi
252c64b397
fix: Additional ResultSet tests ( #14741 )
...
* fixing tests
* added testing
* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/spec/javascripts/sqllab/ResultSet_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* removed decribe
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-05-24 17:42:09 -04:00
Beto Dealmeida
65f90096fd
fix: use encodeURIComponent when getting table metadata ( #14790 )
2021-05-24 12:20:31 -07:00
Elizabeth Thompson
fbe6f16052
database modal should close on connect with tab layout ( #14771 )
2021-05-24 13:13:56 -04:00
Ville Brofeldt
e9657afe4b
feat(native-filters): add search all filter options ( #14710 )
...
* feat(native-filters): add search all filter options
* add tests
* fix default value
* implement ILIKE operator
* rebump packages
* fix test
* address comments
* fix state changes coming from application
* fix debouncer
2021-05-24 16:33:59 +03:00
Yongjie Zhao
8484ee653f
fix: extra query in Dashboard when native filter enabled ( #14770 )
2021-05-24 20:53:14 +08:00
Michael S. Molina
bee6f3ba8a
chore: Improves the native filters UI/UX - iteration 2 ( #14753 )
2021-05-24 15:22:05 +03:00
simcha90
2b2a8c4bcd
fix(native filters): Fix explore state ( #14779 )
...
* fix:fix get permission function
* fix: fix ownState for unsaved explore chart
2021-05-24 14:00:26 +03:00
Kamil Gabryjelski
d03c608ce1
fix(explore): DndColumnSelect not handling controls with "multi: false" ( #14737 )
...
* fix(explore): DndColumnSelect not handling controls with multi={false}
* Implement translations for singular and plural cases
* Fix test
2021-05-24 09:53:46 +02:00
Beto Dealmeida
9e13476714
feat: enable user impersonation in GSheets ( #14767 )
2021-05-22 13:46:36 -07:00
Beto Dealmeida
fb662698ce
fix: add DB should not say it's Postgres ( #14766 )
2021-05-22 13:46:19 -07:00
Yongjie Zhao
d71b8b38d6
Revert "fix(dashboard): multiple query trigger when native filter enabled ( #14734 )" ( #14762 )
...
This reverts commit 88de4109e7
.
2021-05-22 15:11:58 +08:00
Elizabeth Thompson
c7aee4e27b
feat: save database with new dynamic form ( #14583 )
...
* split db modal file
* split db modal file
* hook up available databases
* add comment
2021-05-21 18:25:56 -04:00
Michael S. Molina
04d94d2b6c
chore: Removes ColorSchemeControl.less ( #14199 )
2021-05-21 14:46:01 -07:00
Geido
fb6d21a168
fix(explore): Icons width ( #14717 )
...
* Revert width and margin
* Adjust width
* Increase margin
2021-05-21 14:41:55 -07:00
Phillip Kelley-Dotson
f96fea166c
feat: make tabs sticky in homepage ( #14695 )
...
* inital commit
* lint
* fix loading state for edit activity
* add dep
* lint fix
* add condition
* lint being lint
2021-05-21 14:37:54 -07:00
Michael S. Molina
1e8b6eb848
fix: Fixes right menu layout in different screen sizes ( #14689 )
2021-05-21 11:21:21 -07:00
Yongjie Zhao
88de4109e7
fix(dashboard): multiple query trigger when native filter enabled ( #14734 )
...
* fix(dashboard): multiple query trigger when native filter enabled
* fix lint
* wip
2021-05-21 09:24:42 -07:00
Kamil Gabryjelski
c831655913
feat(native-filters): Highlight charts affected by focused native filter ( #14693 )
...
* Highlight charts affected by focused native filter
* Remove tabs animation on dashboard
* Remove a test that checks for "animated={true}" prop on tabs
* Move hooks types to a separate interface
2021-05-21 15:54:33 +02:00
Phillip Kelley-Dotson
29828f8552
fix: homepage card layout ( #14725 )
...
* initial commit
* ensure card lsize
2021-05-20 19:43:12 -07:00
Michael S. Molina
173c486d4a
fix: Unable to clear default value in native select filter ( #14739 )
2021-05-20 19:42:33 -07:00
David Aaron Suddjian
0e86a6b81c
fix(sqllab): don't store user in localstorage ( #14722 )
...
* fix(sqllab): remove user info from localstorage
* filter out user data when loading localstorage
2021-05-20 16:35:56 -07:00
Lyndsi Kay Williams
e4103c272e
feat: Labeled Error-bound Input ( #14530 )
...
* Error Input Form created
* Adjusting styling
* testing complete
* Corrected component naming in Form
* testing complete
* Corrected component naming in Form
* Renamed stories file to appropriate name
* add image for alert
* Fixed test
* Switched from px to theme
* Adjusting LabeledErrorBoundInputProps
* validation now accepts a string
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-05-20 14:01:27 -07:00
Michael S. Molina
d924223950
chore: Improves the native filters UI/UX - iteration 1 ( #14714 )
2021-05-20 19:52:01 +03:00
Yaozong Liu
ea37274180
fix(explore): fix clearing select data causes popover dismiss ( #14221 )
...
* fix(explore): fix clearing select data causes popover dismiss
* wip: lint
* wip: lint
2021-05-20 17:26:27 +03:00
Elizabeth Thompson
a9d888ad40
check limiting factor on query results ( #14719 )
2021-05-19 14:38:57 -07:00
David Aaron Suddjian
26c0b30ec9
fix(explore): add padding to the adhoc filter value select ( #14679 )
2021-05-19 14:08:41 -07:00
David Aaron Suddjian
152b0d0575
fix(explore): checkbox form control formatting ( #14701 )
...
* fix(explore): add inline option for the field that only gets used in one place
* typescriptify
* unnecessary component wrapping
2021-05-19 14:04:09 -07:00
Hugh A. Miles II
4160e45398
feat: Add headers for DatabaseModal ( #14647 )
...
* update styles sheets
* save this
* add backend
* update backend reference
* update styles
* my style updates
* sticky header
2021-05-19 13:20:02 -04:00
Hugh A. Miles II
ec0a7922fe
feat: Add Parameters fields to GET Database ( #14653 )
2021-05-19 10:25:20 -04:00
Michael S. Molina
be8c176df2
chore: Removes less from SliceAdder ( #14448 )
2021-05-19 00:16:44 -07:00
Geido
a0881fb157
Add filter_box full height ( #14657 )
2021-05-19 00:13:16 -07:00
Evan Rusackas
c2bd684454
fix(Explore): fixes broken layout of tooltips ( #14529 )
...
* fix: moves LESS styles into Emotion, fixes broken layout of tooltips
* fix: tests
* style: linting
* style: better styling location
2021-05-18 21:55:09 -07:00
Beto Dealmeida
c3d1f1084e
feat: redirect 404/500 to static pages ( #14677 )
...
* feat: redirect 404/500 to static pages
* Show pages only on html requests
2021-05-18 20:50:39 -07:00
Ajay M
90378ed94e
fix(explore): #10098 boolean filter not working ( #14567 )
...
* Restrict operators when column is boolean
* refactor 'isOperatorRelevant' a little bit
* Include 'BOOLEAN' to handle presto
* Update tests
* number column should show bool operators
* fix test - some dbs translate true/false to 1/0
* Fix tests and add linting
* When column type is boolean, show bool operators
* Address PR comments - simplify conditions
* Fix a linting error
* Addressing PR comment - remove unused variables
2021-05-18 14:39:19 -07:00
Ajay M
84e8dc71f6
feat(dashboard): View query of the chart in dashboard ( #14667 )
...
* Extract view query component out
* Typo correction
* Fix and rename tests
* Remove logs, and test code
* Rename file - fix tests
* Fix a typo
* Linting errors, add Apache License Header
2021-05-18 13:17:11 -07:00
AAfghahi
a7a011cce5
feat: Better return messages in SQL Editor ( #14381 )
...
* Sqllab limit
* Add migration script
* Set default values
* initial push
* revisions
* moving migration to separate PR
* revisions
* Fix apply_limit_to_sql
* all but tests
* added unit tests
* result set
* first draft
* revisions
* made user required prop, added it to all places ResultSet is imported
* changed QueryTable test to allow for useSelector
* Query Table working
* working with heights
* fixed scrolling
* got rid of animated
* fixed tests, revisions
* revisions
* revisions
* heights
* fun with heights
* alert state
* aaron helped me fix this
* better alert messages
* fixed result set test
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-05-18 11:02:06 -07:00
Michael S. Molina
32f5f365d8
fix: Fixes email body when sharing a chart by email ( #14664 )
2021-05-18 00:43:36 -07:00
Yaozong Liu
2320bd44d4
fix(sqllab): fix error message ( #14651 )
2021-05-17 16:20:03 -07:00
Geido
b5e9854ddc
Fix tooltip position ( #14656 )
2021-05-17 15:49:06 -07:00
Geido
9a9f093e63
Add max width ( #14663 )
2021-05-17 15:31:09 -07:00
Geido
7a050c59e4
fix(explore): Fix column number calculation ( #14665 )
...
* Fixes columns calc
* Fix type
2021-05-17 15:30:12 -07:00
Phillip Kelley-Dotson
3ad8b546e6
fix: nav submenu dropdown styles ( #14580 )
...
* fix nav submenu dropdown styles
* lint
* fix mobile view styles
* run lint
* address comments
* undo comit lock files
* Update superset-frontend/src/common/components/index.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-05-17 13:58:02 -07:00
Michael S. Molina
fd8b2cb89b
fix: Fixes group by control icon colors ( #14674 )
2021-05-17 13:53:32 -07:00
Geido
ea96d95622
Clear search ( #14655 )
2021-05-17 13:30:16 -07:00
Michael S. Molina
9deb7aa3c1
chore: Replaces Icon with Icons component - iteration 1 ( #14469 )
2021-05-17 10:24:56 -07:00
Michael S. Molina
4e6169e0f9
chore: Adjust language picker theme to match other menus ( #14644 )
2021-05-17 10:24:30 -07:00
Michael S. Molina
1b47902e47
chore: Removes react-bootstrap and react-bootstrap-slider ( #14641 )
2021-05-17 10:22:22 -07:00
Phillip Kelley-Dotson
60f903ff58
fix: fix submenu header double line ( #14631 )
...
* fix submenu header
* remove unused css
* lint
* address comment
* address more comments
2021-05-14 14:57:54 -07:00
David Aaron Suddjian
884ded0507
fix: roles undefined on public dashboards ( #14648 )
2021-05-14 14:28:47 -07:00
David Aaron Suddjian
f16c708fab
fix(dashboard): check edit permissions correctly on frontend ( #14626 )
...
* fix(dashboard): check edit permissions correctly on frontend
* fix types, appease linter
* handle nulls better
2021-05-14 12:18:38 -07:00
Michael S. Molina
9cb4a4602f
fix: Fixes top level tabs and automatic scroll ( #14624 )
2021-05-14 11:50:20 -07:00
Geido
3466cb253e
Fix class name ( #14609 )
2021-05-14 11:05:52 -07:00
Cedric Gampert
74473e2ad1
fix: do not render favorite favStars and filters for anonymous user ( #14120 )
...
* fix: do not render favorite favStar and filter for anonymous user
* fix: prevent anonymous user to trigger the favstar view route
* fix: lint over previous commit
* fix: linter follow-up
2021-05-14 08:05:50 -07:00
Ville Brofeldt
97c9e37c24
perf: memoize db_engine_spec in database ( #14638 )
...
* perf: memoize db_engine_spec in sqla table classes
* remove extended cypress timeouts
2021-05-14 12:49:35 +03:00
Evan Rusackas
bf90885828
fix: Removing specific column widths, letting things flex naturally. ( #14637 )
2021-05-14 12:12:37 +03:00
Phillip Kelley-Dotson
e4e23ea487
fix: fix adhocpopovers tab animate. ( #14478 )
...
* fix popover
* addd tabs default css
* fix lint
* fix tests
* address comments
* lint fix
* fix test
* lint
2021-05-13 20:30:27 -07:00
Michael S. Molina
e4d24242b4
refactor: Bootstrap to AntD - NavDropdown ( #14557 )
2021-05-13 14:54:09 -07:00
Michael S. Molina
d31958cbd2
fix: Fixes #12672 ( #14525 )
2021-05-13 12:53:24 -07:00
Geido
1e601483e3
fix(explore): Filters Tooltip is not showing the full content ( #14618 )
...
* Add getTooltipTitle
* Fix tests
2021-05-13 10:03:22 -07:00
Evan Rusackas
568061e8d4
feat: bumping echarts plugin, adding new treemap plugin ( #14560 )
...
* chore: bumping echarts plugin
* feat: Upgrading to new treemap
* bump @superset-ui/plugin-chart-echarts 0.17.47
Co-authored-by: Yongjie Zhao <yongjie.zhao@gmail.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-05-13 22:52:17 +08:00
Ville Brofeldt
3f6bd1e4a4
feat: add generic type to column payload ( #14547 )
...
* feat: add generic type to column payload
* feat: add generic type to column payload
* xit flaky test
2021-05-13 09:36:09 +03:00
Evan Rusackas
ad699e8b48
fix: don't show busted label for unknown data types ( #14585 )
2021-05-12 23:16:54 -07:00
Michael S. Molina
331eb10fb9
refactor: Bootstrap to AntD - Form - iteration 4 ( #14546 )
2021-05-12 23:01:43 -07:00
Phillip Kelley-Dotson
3eef38f309
refactor: change xsm Icons and dnd icons to new dynamic icons ( #14419 )
...
* intial commit
* fix test and add more icons
* fix lint
2021-05-12 22:52:25 -07:00
Phillip Kelley-Dotson
5f7722cb36
fix: error icon spacing in explore ( #14597 )
...
* fix error message icon
* lint
2021-05-12 22:42:40 -07:00
Beto Dealmeida
31f406a526
feat: API endpoint to validate databases using separate parameters ( #14420 )
...
* feat: new endpoint for validating database parameters
* Rebase
* Remove broken tests
2021-05-12 18:32:10 -07:00
Ville Brofeldt
f1c32b9576
feat(native-filters): add sort metric to select ( #14590 )
2021-05-12 23:28:45 +03:00
Hugh A. Miles II
0d240c3841
fix: properly keep state on queryEditorSetSql on tabstateview PUT ( #14579 )
...
* send queryid up with setSQL
* pass latest query id
* update
* cleanup
2021-05-12 15:20:26 -04:00
Phillip Kelley-Dotson
bfbf767663
fix: dashboard side actions ( #14587 )
...
* fix dashboard side actions
* lint being lint
2021-05-12 11:47:29 -07:00
Grace Guo
ada380982b
fix: bring back dashboard perf logger ( #14584 )
...
* fix: bring back dashboard perf logger
* add test
2021-05-12 08:25:46 -07:00
Evan Rusackas
6d786d4d47
fix: Adds space under dataset change warning ( #14582 )
...
* fix: Adding a little margin under the warning about changing datasets
* feat: moves Alert spacing from a css override to an Alert prop
* fix: prop needs to be optional... proptional
* fix: moving the typing to a better spot, adding the new prop to storybook.
* style: linting
2021-05-12 10:44:14 +08:00
Geido
b960843015
fix: Menu does not appear on scroll in Dashboard ( #14566 )
...
* Fix menu
* Fix test
2021-05-11 11:38:58 -07:00
Evan Rusackas
eaeb8f71c8
style: adding padding to the sides of badges, so they look less claustrophobic ( #14569 )
2021-05-11 11:36:58 -07:00
Geido
3a4536acac
fix: Column name and icons alignment in the Datasource Panel (Explore) ( #14551 )
...
* Fix column name alignment
* Fix space wrap
2021-05-11 10:27:46 -07:00
Geido
e21beb76f1
fix: White space between Chart and Data panel in Explore ( #14495 )
...
* Adjust white space
* Adjust chart padding
2021-05-10 13:03:43 -07:00
Phillip Kelley-Dotson
cee22e28c0
refactor: remove panel from userinfo component ( #14364 )
...
* first pass
* fix merge
* fix lint
* covert pane to styled comp
* add theme
* fix lint
* fix test
* remove unused import
2021-05-08 15:04:16 -07:00
Phillip Kelley-Dotson
e16c4d856e
refactor(navbar): migrate Bootstrap navbar to AntD menus ( #14184 )
...
* initial commit
* more polish
* fix types and remove tests
* fix tests, update menu css, add oetc
* fix lint and precommit
* fix test
* update css, address comments
* fix lint
* update submenu for extra buttons
* remove block and lint
* fix lint
* remove block
* adjust margin
* test round 2
* test round 3
* about section
* src/components/Menu/Menu.test.tsx
* remove redundant test
* fmore pointed test
* fix lint
* remove unused css
* fix dashboard nav view
* update comments
* use suggestion
* lint-fix
* move css, fix dropdown and text
* lint
* rearchitect main nav component
* run lint fix
* nit
2021-05-08 14:57:59 -07:00
Michael S. Molina
e7a4734742
chore: Removes tabs animation by default ( #14496 )
2021-05-08 14:22:16 -07:00
Michael S. Molina
79ff96269b
refactor: Bootstrap to AntD - Form - iteration 3 ( #14502 )
2021-05-08 12:34:52 -07:00
Evan Rusackas
4f000cc8d1
fix: bringing metric type icon styles into SelectControl ( #14531 )
2021-05-08 15:47:25 +08:00
Ville Brofeldt
66a4c94a1e
fix(chart-data): handle url_params in csv export and native filters ( #14526 )
2021-05-07 21:07:44 +03:00
simcha90
e8e838e279
feat(native-filters): Auto apply changes in FiltersConfigModal ( #14461 )
...
* fix:fix get permission function
* feat: auto apply changes after save filters config modal
* fix: repopulate default values
* test: fix tests
* test: fix tests
* fix: fix CR notes
* fix: fix CR notes
2021-05-07 13:06:59 +03:00
Ville Brofeldt
680c96ec54
feat(explore): collapse time section if no ts columns ( #14493 )
...
* feat(explore): collapse time section if no ts columns
* fix viz change bug
* fix test
2021-05-07 11:55:54 +03:00
Mayur
05c24056b5
add new plugin ( #14516 )
2021-05-07 10:21:00 +03:00
Ville Brofeldt
19b408b08d
chore: bump superset-ui to 0.17.44 ( #14515 )
2021-05-07 09:31:34 +03:00
Geido
10a53b7f5d
fix: Add extra check to loggerMiddleware ( #14492 )
...
* Add extra check
* Update superset-frontend/src/middleware/loggerMiddleware.js
Co-authored-by: Evan Rusackas <evan@preset.io>
* Fix linting issue
Co-authored-by: Evan Rusackas <evan@preset.io>
2021-05-06 22:39:58 -07:00
Michael S. Molina
68058b0ad9
chore: Moves spec files to the src folder - iteration 4 ( #14380 )
2021-05-05 22:01:05 -07:00
Michael S. Molina
331310db9b
refactor: Bootstrap to AntD - Form - iteration 2 ( #14379 )
2021-05-05 22:00:37 -07:00
Michael S. Molina
fa510df624
chore: Adds QueryParamProvider to testing helper ( #14195 )
2021-05-05 21:58:40 -07:00
Rob DiCiuccio
fa0915d9e6
Attempt to reduce asyncEvent test flakiness ( #14497 )
2021-05-05 19:34:13 -07:00
Elizabeth Thompson
9b42eec064
feat: db modal split ( #14470 )
...
* refactor: split db modal file (#14436 )
* split db modal file
* fix tests
* fix extra options
* update database id methodology
2021-05-05 19:03:19 -04:00
AAfghahi
12baba03cc
fix: Query History ( #14498 )
...
* fix for QUery History
* fixed
2021-05-05 17:00:32 -04:00
Michael S. Molina
f9567efe81
fix: Fix #13831 ( #14490 )
2021-05-05 13:48:48 -07:00
Ajay M
c832542570
fix(dashboard): Prevent char overflow when displaying chart description ( #14467 )
...
* Force refresh the chart on toggle display description
* Use forceUpdate instead of forceRefresh
* Instead of forceUpdate, add a state for desciption height
Co-authored-by: Ajay Mancheery <ajaymancheery@Ajays-MacBook-Pro.local>
2021-05-05 13:30:10 -07:00
Jesse Yang
ae256a9119
chore: bump sankey and pivot table chart to 0.17.43 ( #14477 )
2021-05-05 11:17:18 -07:00
Evan Rusackas
8ccd19629a
fix: explore flex layout is sometimes too short ( #14481 )
2021-05-05 10:21:15 -07:00
Michael S. Molina
7182a1b390
chore: Removes common storybook ( #14418 )
2021-05-05 09:53:14 -07:00
Kamil Gabryjelski
b030c9801c
chore: Move styles from .less stylesheet to emotion in Explore ( #14485 )
...
* Move some styles from .less stylesheet to emotion in Explore
* Replace Global styles with local styled components
* Address comments
2021-05-05 15:36:52 +02:00
Ville Brofeldt
93c7f5bb44
fix(annotations): pass force param to annotation request ( #14483 )
...
* fix(annotations): pass force param to annotation request
* use strtobool
* add util for parsing bools
2021-05-05 13:52:17 +03:00
Ville Brofeldt
5aef6bccd1
feat(viz): add funnel chart ( #14480 )
2021-05-05 14:26:12 +08:00
Jesse Yang
23014e9233
chore: upgrade @emotion ( #14454 )
2021-05-04 15:26:16 -07:00
Elizabeth Thompson
2242f74818
Revert "refactor: split db modal file ( #14436 )" ( #14466 )
...
This reverts commit 2d991ec359
.
2021-05-04 14:40:58 -04:00
David Aaron Suddjian
21cf12a480
chore(dashboard): Integrate dashboard app into the SPA bundle ( #14356 )
...
* chore(dashboard): Integrate dashboard app into the SPA bundle
* fix url params
* change variable name
* change title correctly
* custom css
* lint
* remove unused file
* remove content assertions from dashboard tests
* fix case with missing bootstrap data
* fix: respect crud views flag
* crud views -> spa
* remove unused dashboard templates
* fix: remove unused variable
* fix: missed a spot with the crudViews -> spa
* router link to dashboard from dashboard list page
* link using the router when in card mode
* lint
* fix tests, add memory router
* remove dashboard app files
* split up the bundle a little more
* use webpack preload
2021-05-04 08:51:17 -07:00
Amit Miran
158ac302d8
chore: bump table plugin to 0.17.42 ( #14460 )
2021-05-04 17:41:02 +03:00
simcha90
582900c170
perf(native-filters): Load native filters after charts ( #14443 )
...
* fix:fix get permission function
* refactor: filter default value
* refactor: update default value loading
* refactor: apply defaultValues
* lint: fix lint
* lint: fix lint
* test: fix test
* refactor: use extraFormData for reload charts
* feat: load native filters after after charts
* feat: load filters after charts
* fix: revert changes
* test: fix timers
* test: fix tests
2021-05-04 16:07:40 +03:00
Duy Nguyen Hoang
9a22fb00d9
fix: CSV Export permission is not consistent ( #13713 )
2021-05-04 10:19:58 +03:00
Jesse Yang
a75e4af99b
fix(viz): bump superset-ui to fix bugs in table and graph chart ( #14438 )
2021-05-03 16:23:42 -07:00
Elizabeth Thompson
2d991ec359
refactor: split db modal file ( #14436 )
...
* split db modal file
* fix tests
2021-05-03 17:00:41 -04:00
simcha90
bbb1f2d757
perf(native-filters): avoid unnecessary reloading of charts ( #14408 )
...
* fix:fix get permission function
* refactor: filter default value
* refactor: update default value loading
* refactor: apply defaultValues
* lint: fix lint
* lint: fix lint
* test: fix test
* refactor: use extraFormData for reload charts
* test: fix tests
* test: fix tests
* test: fix tests
2021-05-03 14:56:41 +03:00
simcha90
abbf4bf05a
refactor(native-filters): allow cascading only for filter_select ( #14441 )
...
* fix:fix get permission function
* refactor: allow cascading only for filter_select
2021-05-02 13:16:10 +03:00
simcha90
1f8de1d06c
test(maximize-chart): Add tests to maximize chart action ( #14371 )
...
* fixed FullSize charts broken #13600
* Update ChartHolder.jsx
* fix:fix get permission function
* test: adding tests to full screen
* lint: fix lint
* fix: fix CR notes
* fix: fix CR notes
* fix: fix CR notes
Co-authored-by: toop <mytoop@163.com>
2021-05-02 09:27:38 +03:00
AAfghahi
e507508b48
feat: Logic added to limiting factor column in Query model ( #13521 )
...
* Sqllab limit
* Add migration script
* Set default values
* initial push
* revisions
* Update superset/views/core.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
* moving migration to separate PR
* with migration
* revisions
* Fix apply_limit_to_sql
* all but tests
* added unit tests
* revisions
* Update superset/sql_lab.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
* Update superset/sql_parse.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
* fixed black issue
* Update superset/views/core.py
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
* updated logic
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-04-30 15:15:18 -07:00
Hugh A. Miles II
efcdc8cb9b
change relationship ( #14435 )
2021-04-30 17:27:05 -04:00
Sam Faber-Manning
b147fa84e2
fix: parse simple string error message values ( #14360 )
...
* fix parsing error messages that are formatted as single strings
* fix other instances of error typing
2021-04-30 09:30:53 -07:00
Ville Brofeldt
319125ec3b
fix(native-filters): fix filter scope error ( #14426 )
2021-04-30 12:20:02 +03:00
Michael S. Molina
a52ff13b5d
chore: Moves Card to the components folder ( #14139 )
2021-04-29 11:51:41 -07:00
Geido
545e257537
feat: Dynamic imports for the Icons component ( #14318 )
...
* Add aria-label and twotone
* Enhance LazyIcon
* Fix tests and solve ject warnings
* Add new line
* Revert package-lock to master
* Fix failing test
* Implement icon overrides
* Fix failing storybook
* Clean up
* Improve var name
2021-04-29 11:49:39 -07:00
Ville Brofeldt
1c16261651
fix(native-filters): always show filters without dataset ( #14409 )
2021-04-29 14:25:39 +03:00
eriendeng
2dc3fa3f21
fix error getting partitionQuery from table.partition ( #14369 )
...
Co-authored-by: eriendeng <eriendeng@tencent.com>
2021-04-29 10:42:11 +03:00
Michael S. Molina
1d6a746a09
refactor: Boostrap to AntD - Tabs ( #14048 )
2021-04-28 23:49:50 -07:00
Ville Brofeldt
4410fd047e
fix(native-filters): default value not populated on second opening ( #14401 )
2021-04-29 09:09:47 +03:00
Michael S. Molina
b38aadf9e4
chore: Moves the branding folder to the assets folder ( #14166 )
2021-04-28 22:17:21 -07:00
Ville Brofeldt
183b5ae362
fix(sqllab): fix error due to anonymous user ( #14390 )
2021-04-28 19:57:45 +03:00
Ville Brofeldt
43ee52be57
fix(native-filters): force update control value on change ( #14385 )
...
* fix(native-filters): force update control value on change
* fix test
2021-04-28 11:41:22 +03:00
simcha90
fc0c1155c2
fix(native-filters): fix lint ( #14387 )
...
* fix:fix get permission function
* lint: fix types
2021-04-28 10:16:21 +03:00
simcha90
2486fd4f6d
feat(native-filters): Show/Hide filter bar by metdata ff ( #14261 )
...
* fix:fix get permission function
* feat: hide native filters by metadata
* fix: fix show_native_filters name
* fix: metadata
* chore: add migration to hide native_filters in all existing dashboards
* chore: fix pre-commit
* fix: make migration migration dashboard with filter_box only
* fix: pre-commit
* feat: hide filter bar if no permission edit and no filters
* fix: remove migration
Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-04-28 07:49:03 +03:00
ʈᵃᵢ
86d2a616c1
fix(emotion): add separate namespace for menu app ( #14362 )
2021-04-27 15:53:55 -06:00
Evan Rusackas
8e6803f65f
chore: Bumping lodash version in Superset ( #14203 )
...
* Bumping lodash in main package
* new package lock with updated lodash
2021-04-27 14:54:56 -06:00
Hugh A. Miles II
44c09b5383
feat: Setup supersetText
configuration to overwrite errors ( #14256 )
...
* Setup error message overwrite config`
* fix
* bad reabse
* bad rebase 2
* remove unneeded comment
* working dynamic importing
* saveeee
* working textUtil file
* add ignore tslint
* fix linting
* fix linting
* import order
* setup guard statements
* linting again
* linting again
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-04-27 15:03:35 -04:00
Ville Brofeldt
40fb94dcca
feat(native-filters): add optional sort metric to select filter ( #14346 )
...
* feat(native-filters): add optional sort metric to select filter
* use verbose name when defined
* fixes
* lint
* disable flaky test
* disable flaky test
* disable flaky test
2021-04-27 20:28:38 +03:00
Ville Brofeldt
87a895cc4a
feat(native-filters): add refresh button to default value picker ( #14375 )
...
* feat(native-filters): add refresh button to default value picker
* skip flaky test
2021-04-27 19:18:34 +03:00
Kamil Gabryjelski
41ccebce91
feat(native-filters): Use datasets in dashboard as default options for native filters ( #14374 )
...
* Use defaultOptions in dataset picker
* Remove console log
* Temporarily skip failing test
2021-04-27 18:04:57 +03:00
Kamil Gabryjelski
20ab0869fa
feat(native-filters): Implement adhoc filters and time picker in Range and Select native filters ( #14313 )
...
* Implement adhoc filters in Range and Select native filters
* Add time picker
* Remove additional filters from datamask
* Create separate stylesheet for AdhocFilterControl in native filters
* Rename Time picker to Time range
* Fix columns in AdhocFilter empty when creating a new filter
* Skip flaky test
2021-04-27 11:08:05 +02:00
simcha90
03e4a5b6b7
fix(native-filters): Update filter saving ( #14370 )
...
* fix:fix get permission function
* fix: not reload charts after save filters
* fix: not reload charts after save filters
* fix: temp commit type
* lint: add typing
2021-04-27 11:20:04 +03:00
Michael S. Molina
d0be1ff79e
chore: Moves Tabs to the components folder ( #14136 )
2021-04-27 00:15:21 -07:00
Amit Miran
22f9e12a3b
chore: bump 0.17.38 ( #14355 )
...
* chore: bump 0.17.37
* chore: update package-lock
* chore: revert echarts upgrade
* bump echarts package to 0.17.38
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-04-27 09:30:39 +03:00
Phillip Kelley-Dotson
69f2af9fb6
refactor(addslicecontainer): move slice container panel from bootstrap panel to ant-d ( #14035 )
...
* slice boostrap panel to ant-d
* remove panel
* remove space
* fix lint
* fix addslicecontainer
* Update AddSliceContainer.tsx
2021-04-26 22:13:49 -07:00
Sam Faber-Manning
6898dd916f
update default cron settings for new alerts and reports ( #14363 )
2021-04-26 18:11:15 -07:00
Michael S. Molina
4fbb572568
refactor: Bootstrap to AntD - Form - iteration 1 ( #14106 )
2021-04-26 15:03:53 -07:00
Lily Kuang
876779865c
feat(alert/report): update content format radio buttons ( #14235 )
...
* update content format selection ui
* translations
* update test
2021-04-26 11:33:55 -07:00
Ville Brofeldt
8a0d321084
fix(native-filters): allowClear only when required not checked ( #14353 )
...
* fix(native-filters): allowClear only when required not checked
* Update superset-frontend/src/filters/components/Select/controlPanel.ts
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2021-04-26 20:48:17 +03:00
simcha90
7ff35dfdfb
fix(native-filters): Fix indicators ( #14334 )
...
* fix:fix get permission function
* fix: hide featured filters
* test: fix FF in tests
* test: fix FF in tests
* fix: fix unset cross filters
2021-04-26 13:22:11 +03:00
simcha90
3e8bf96642
fix(native-filters): Fix first loading of charts ( #14332 )
...
* fix:fix get permission function
* fix: fix unnecessary loading for native filters
* test: fix mocks
2021-04-25 13:58:53 +03:00
Ville Brofeldt
e392e2ed39
feat(native-filters): add option to create value in select filter ( #14314 )
...
* feat(native-filters): add option to create value in select filter
* address comments
2021-04-24 08:26:24 +03:00
Michael S. Molina
aada73302f
chore: Moves spec files to the src folder - iteration 3 ( #14202 )
2021-04-23 16:19:12 -07:00
Michael S. Molina
1bc73f2cba
chore: Moves spec files to the src folder - iteration 2 ( #14201 )
2021-04-23 16:18:46 -07:00
Michael S. Molina
98b450aa76
chore: Moves spec files to the src folder - iteration 1 ( #14200 )
2021-04-23 16:18:16 -07:00
Michael S. Molina
58534b36c5
chore: Improves Icons storybook ( #14193 )
2021-04-23 09:57:12 -07:00
Ville Brofeldt
2b57ebaffd
feat(native-filters): add tooltip to control values ( #14312 )
2021-04-23 19:29:51 +03:00
Yongjie Zhao
67535bb320
refactor: reorganize dateFilterUtils.tx ( #14309 )
...
* refactor: reorganize dateFilterUtils.tx
* move spec to src dirctory
2021-04-23 16:05:50 +08:00
Yongjie Zhao
d1afca4fa1
fix: custom TimeRange can not input value ( #14084 )
2021-04-23 15:20:37 +08:00
Michael S. Molina
b963624e12
refactor: Boostrap to AntD - Row/Col ( #14100 )
2021-04-22 20:57:17 -07:00
Michael S. Molina
3e23c103dc
chore: Moves WarningIconWithTooltip to own folder ( #14123 )
2021-04-22 13:50:11 -07:00
zuzana-vej
86233d1676
chore: SQLLab row limit warning using Alert component ( #14298 )
2021-04-22 10:12:46 -07:00
Lyndsi Kay Williams
70cfb7752c
chore: Code cleanup in DatabaseModal ( #14196 )
2021-04-21 13:41:50 -04:00
Jesse Yang
2dd20df03d
fix(dashboard): draft dashboards should be viewable ( #14207 )
...
* fix(dashboard): draft dashboards should have open access
* Remove a duplicate test
2021-04-21 09:54:51 -07:00
Yaozong Liu
852e840575
fix(explore): CUSTOM SQL tab should automatically update ( #14194 )
...
* fix(explore): CUSTOM SQL tab should automatically update
* fix(explore): CUSTOM SQL tab should automatically update
* fix: lint
* fix(explore): default value
Co-authored-by: Yongjie Zhao <yongjiezhao@apache.org>
Co-authored-by: liuyaozong <liuyaozong@baijiahulian.com>
Co-authored-by: stephenLYZ <vueact@gmail.com>
Co-authored-by: Yongjie Zhao <yongjiezhao@apache.org>
2021-04-21 14:30:18 +08:00
Yongjie Zhao
0dfb32cf08
fix: incorrect module reference ( #14258 )
2021-04-21 10:37:24 +08:00
Lyndsi Kay Williams
a846015f4d
fix: Center each import icon and add a tooltip II ( #14192 )
2021-04-20 19:59:48 -04:00
Hugh A. Miles II
392d8a8107
fix: Handle bad permission errors for bigquery test connections ( #14147 )
...
* starter make file
* yea
* move messaging to config
* Delete Makefile
* remove
* checkout
* check for db generic errors
* checkout bad files
* add proper message
* add docs for new permissions codes
* Update superset/errors.py
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
* Update superset/errors.py
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
* rename var
* starter regex
* fix
* fix
* fix linting
* update test
* yerp
* fixed test
* added regex
* Apply suggestions from code review
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
* address comments
* update docs
* prettier
* fux
* add space
* Update errors.py
* Update types.ts
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-04-20 19:19:36 -04:00
Elizabeth Thompson
ff665fa5a7
feat: restyle database modal ( #14092 )
...
* restyle database modal
* change name of tab to Basic
* update test with RTL better RTL render statement
* change color and position of required asterisk
* refactor db logic
2021-04-20 18:21:07 -04:00
Erik Ritter
97e086051c
chore: bump superset-ui ( #14253 )
2021-04-20 15:16:58 -07:00
Amit Miran
13d4902711
feat(native-filters): select group by support ( #14217 )
...
* chore: initial commit
* feat: groupby filter
Co-authored-by: Simcha Shats <simcha.shats@nielsen.com>
2021-04-20 18:52:33 +03:00
Michael S. Molina
42fb2286ad
chore: Moves Dropdown to the components folder ( #14126 )
2021-04-20 08:48:28 -07:00
Michael S. Molina
d1b458c4c5
chore: Moves Radio to the components folder ( #14133 )
2021-04-20 08:48:10 -07:00
Michael S. Molina
8441590812
chore: Moves Tooltip to the components folder ( #14137 )
2021-04-20 08:47:47 -07:00
Michael S. Molina
ec79b7be1f
chore: Moves the staticPages folder to the assets folder ( #14167 )
2021-04-20 08:47:24 -07:00
simcha90
7e5440a359
test(native-filters): Filter config modal test ( #14245 )
...
* test: add tests for filter bar
* test: merge filter bar tests with master
* test: add test for filter set
* test: filter set tests
* test: merge with master
* test: fix tests for filter bar
* test: filter config modal
* test: add select filter
* feat: filter config modal
* lint: fix lint
* lint: fix TS
* test: test testWithId
2021-04-20 14:07:08 +03:00
Kamil Gabryjelski
6119d8e998
Fix filter edit popover not opening in DnD mode ( #14243 )
2021-04-20 11:45:48 +02:00
simcha90
d386e66f59
test(native-filters): add integration tests for filter bar ( #14098 )
...
* test: add tests for filter bar
* test: merge filter bar tests with master
* test: add test for filter set
* test: filter set tests
* test: merge with master
* test: fix tests for filter bar
* fix: fix CR notes
* fix: fix CR notes
2021-04-20 12:24:12 +03:00
simcha90
9d67b46576
fix(native-filters): fix remove native filters ( #14218 )
...
* fix:fix get permission function
* fix: clean data mask on chart removing
* refactor: fix reducer
2021-04-20 09:48:23 +03:00
Michael S. Molina
c2d11ac53e
chore: Moves InfoTooltip to the components folder ( #14128 )
2021-04-19 16:25:29 -07:00
Amit Miran
ca359402bd
chore: bump package.json ( #14222 )
...
* chore: bump package.json
* chore: bump package.json and lock
2021-04-19 06:52:24 +03:00
simcha90
c01f8101eb
fix(cross-filters): Fix missed metadata ( #14220 )
...
* fix:fix get permission function
* fix: fix missed metadata case
2021-04-18 18:46:38 +03:00
Michael S. Molina
77a9cc7088
chore: Moves Collapse to the components folder ( #14124 )
2021-04-16 15:55:04 -07:00
Michael S. Molina
b83ee46d0f
chore: Moves Modal to the components folder ( #14130 )
2021-04-16 15:49:53 -07:00
Beto Dealmeida
c7112d1c48
feat: error messages for Presto connections ( #14172 )
...
* chore: rename connection errors
* feat: error messages for Presto connections
* Add unit tests
* Update docs/src/pages/docs/Miscellaneous/issue_codes.mdx
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
Co-authored-by: AAfghahi <48933336+AAfghahi@users.noreply.github.com>
2021-04-16 15:49:47 -04:00
Erik Ritter
01f13c5678
chore: type some SQL Lab components ( #14178 )
...
* chore: type some SQL Lab components
* Update superset-frontend/src/SqlLab/components/QueryHistory.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-16 09:16:16 -07:00
Ville Brofeldt
7e0e9ac3fc
feat(viz): add mixed and radar chart ( #14197 )
2021-04-16 23:59:32 +08:00
Kamil Gabryjelski
cab110e354
Enable the new pivot table ( #14187 )
2021-04-16 10:46:50 +02:00
Michael S. Molina
be78cd1a1f
chore: Configures Jest to ignore storybook files when collecting coverage statistics ( #14164 )
2021-04-15 23:17:31 -07:00
Michael S. Molina
018caa528a
chore: Moves Switch to the components folder ( #14135 )
2021-04-15 22:54:26 -07:00
Michael S. Molina
e4c8084285
chore: Moves DropdownButton to the components folder ( #14127 )
2021-04-15 22:46:18 -07:00
Michael S. Molina
ec75dc178b
chore: Moves CronPicker to the components folder ( #14125 )
2021-04-15 22:44:12 -07:00
Phillip Kelley-Dotson
38a1f65646
chore(toggle thumbnails): use localstorage for toggle ( #14013 )
...
* use localstorage for toggle
* fix lint
* add check
2021-04-15 22:03:46 -07:00
Lily Kuang
df7e2b6a8e
feat(alert/report): chart as csv format attachment for email and slack ( #13828 )
...
* add ui for setting report format
* refactor default notification format
* init csv data alert report
* add report format to report_schedule model
* add ALERTS_ATTACH_REPORTS feature flag
* fix lint
* update check image tag
* fix migrations
Co-authored-by: samtfm <sam@preset.io>
2021-04-15 14:07:49 -07:00
Beto Dealmeida
21c6efea67
chore: rename connection errors ( #14169 )
2021-04-15 10:57:02 -07:00
Phillip Kelley-Dotson
fbf0149d8b
refactor(userInfo): userinfo panel to styled component ( #14090 )
...
* migrate component
* fix lint
* remove collapse
* fix test
2021-04-15 09:24:34 -07:00
AAfghahi
eadff5f41e
feat: invalid DB name error messages (MySQL/Postgres/Redshift) ( #14146 )
...
* initial DB custom errors for mysql
* added redshift and postgres
2021-04-15 08:02:47 -07:00
simcha90
8ef572a412
refactor(native-filters): update dataMask and ExtraFormData schema ( #13983 )
...
* refactor: updates usage of `ownFilters` to `ownState`
* refactor: update dataMask (final)
* lint: fix lint
* refactor: revert feat
* fix: fix missed chart configuration
* add filter set migration
* apply new changes
* fix migration revision
* update migration
* fix jest mock
* js lint
* fix test types
* update tests and types
* remove append_form_data from tests
* fix findExistingFilterSet tests
* add migration test
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-04-15 17:43:29 +03:00
Ville Brofeldt
68e11cd47f
fix(dashboard): filter set hydration not working ( #14129 )
2021-04-15 06:09:12 +03:00
AAfghahi
f1acb2f974
horizontal scroll ( #14140 )
2021-04-14 16:31:13 -07:00
Jesse Yang
6755083e3a
fix(dashboard): incorrect perm for users with multiple roles ( #14148 )
2021-04-14 16:04:09 -07:00
Lyndsi Kay Williams
36bd6d8303
feat: FE: Import for Queries II ( #14091 )
...
* Copied changes over
* Tests passing
* Import testing complete
2021-04-14 16:02:35 -07:00
krsnik93
ef1f048d81
feat: add Echarts gauge chart ( #14072 )
...
* feat: echarts gauge chart
* fix
* change plugin order
Co-authored-by: root <root@superset.ikrsnik.devonly.net>
2021-04-14 09:25:26 -07:00
Geido
474f1e2044
test: Add tests for Dashboard Header and HeaderActionsDropdown components ( #13973 )
...
* Add tests for HeaderActionsDropdown - WIP
* Fix trigger node
* Add types
* Clean up
* Add tests for Header
* Delete obsolete tests
* Add factory and clean up
* Add opposite case
* Fix file name
* Include latest changes
2021-04-14 06:54:24 -07:00
dependabot[bot]
a548b69201
build(deps): bump urijs from 1.19.4 to 1.19.6 in /superset-frontend ( #13393 )
...
Bumps [urijs](https://github.com/medialize/URI.js ) from 1.19.4 to 1.19.6.
- [Release notes](https://github.com/medialize/URI.js/releases )
- [Changelog](https://github.com/medialize/URI.js/blob/gh-pages/CHANGELOG.md )
- [Commits](https://github.com/medialize/URI.js/compare/v1.19.4...v1.19.6 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 23:15:27 -07:00
Michael S. Molina
cfe927bebb
test: Adds tests for the FixedOrMetricControl component ( #13705 )
2021-04-13 15:26:31 -07:00
Michael S. Molina
c8a794368d
refactor: Bootstrap to AntD - ListGroup ( #13996 )
...
* refactor: Bootstrap to AntD - ListGroup
* Improves theme handling on touched files
2021-04-13 15:26:02 -07:00
AAfghahi
b77477a9dd
feat: invalid hostname and password error messages (MySQL) ( #14089 )
...
* custom errors for mySQL
* initial custom errors and tests for MySQL
* revisions
2021-04-13 14:42:31 -07:00
dependabot[bot]
83b8d1bc1b
build(deps): bump y18n from 4.0.0 to 4.0.1 in /superset-frontend ( #13886 )
...
Bumps [y18n](https://github.com/yargs/y18n ) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases )
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/y18n/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-13 13:07:45 -07:00
Jesse Yang
3c88d2542c
fix(country-map): update geojson and control layout ( #14063 )
2021-04-13 10:14:27 -07:00
simcha90
f453287a07
fix:fix get permission function ( #14099 )
2021-04-13 09:36:13 -07:00
Lyndsi Kay Williams
6392d41ac9
fix: Fixed saved query export ( #14086 )
...
* Fixed saved query export
* Te
sting implemented
2021-04-13 08:09:08 -07:00
Amit Miran
8c5b6b1263
feat(dashboard_rbac): provide data access based on dashboard access ( #13992 )
...
* feat: provide data access based onb dashboard access
* chore: adjust code after CR comments
* fix: add brackets
* fix: type
* chore: add tests
* fix: pre-commit
* fix: pre-commit and lint
* fix: fix test
* fix: pre-commit
* fix: fix local pylint warnings
* revert: birth_names pylint change bc it affects tests
* Update superset/security/manager.py
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
* Update superset/security/manager.py
* Update tests/utils_tests.py
* fix: after CR
* fix: after CR from ville
* chore: update roles description
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2021-04-13 16:23:31 +03:00
Amit Miran
9c5264af0d
feat(can_share): can share chart and dashboard ( #14076 )
...
* feat: share chart - can_share_chart
share dashboard can_share_dashboard
* fix: pre-commit
* fix: userCanShare tests
* fix: after hugh CR
* fix: adjust after spa refactor
2021-04-13 13:54:14 +03:00
Michael S. Molina
b394733ff3
test: Adds tests to the UndoRedoKeyListeners component ( #13919 )
2021-04-12 23:51:57 -07:00
Michael S. Molina
55257ab48c
chore: Adds dataMask reducer to reducerIndex ( #13951 )
2021-04-12 23:50:20 -07:00
Geido
11869dc076
test: Tests audit for the Dashboard FilterBar ( #13916 )
...
* Add FilterBar tests
* Finalize FilterBar tests
* Add tests for FilterBar Header
* Add tests for FilterBar FilterConfigurationLink
* Add tests for FilterBar FilterSets EditSection
* Add tests for FilterBar FilterSets
* Clean up
* Add tests for FilterBar FilterSetUnit
* Add tests for FilterBar FilterSets FiltersHeader
* Add tests for FilterBar FilterSets Footer
* Fix linting
* Fix import
* Fix minor changes
* Fix import
* Add factory and clean up
2021-04-12 23:28:19 -07:00
Michael S. Molina
92a66921e0
refactor: Bootstrap to AntD - Slider ( #13989 )
2021-04-12 16:28:06 -07:00
Phillip Kelley-Dotson
4bb29b6f04
chore(spa refactor): refactoring dashboard to use api's instead of bootstrapdata ( #13306 )
...
* add hook for future async api calls
* test to see conflict
* add async middleware and update reducers
* working async dashboard load
* implement getcharts api
* add user permissions to explore and dashboard bootstrap data
* integrate api calls with getinitial state
* update namings
* accept an id or a slug in the dashboard charts api
* add permissions function
* fix merge
* update state
* get dashboard charts by id or slug
* fix undefined states
* variable names
* stop using some more bootstrap data
* fix metadata reference
* remove unused bootstrap from the template
* add errorboundry to dashboard
* refactoring, fixing
* update permissions
* add just roles
* id is supposed to be a string
* unused vars
* get datasources from api
* make onError optional
* use resource hooks, better error boundary
* add loading state for dashboardroute
* remove console
* add conditional
* more conditionals
* testing out a possible fix for cypress
* convert edit/standalone test to cypress
* remove bootstrappy assertions
* lint
* fix dashboard edit history issue
* rename stuff
* address recent native filters schema change
* remove unused getInitialState
* remove .only from test
* hooksy redux usage
* Revert "more conditionals"
This reverts commit 25c8ed61b4
.
* cleanup
* undo unnecessary change
* actually need conditions here
* certainty
* Revert "certainty"
This reverts commit 77dea1915b
.
* more permutations (untested yolo)
* Update superset-frontend/src/chart/chartReducer.ts
Co-authored-by: Evan Rusackas <evan@preset.io>
* import style
* comment
* cleaner dashboardInfo
* remove debug code
* use memo for getPermissions
* fix lint
* adjust name/location of DashboardPage
* move logic for REMOVE_SLICE_LEVEL_LABEL_COLORS to DAO
* stop using full_data()
* remove unused (and now useless) json=true query param
Co-authored-by: David Aaron Suddjian <aasuddjian@gmail.com>
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2021-04-12 16:10:29 -07:00
Beto Dealmeida
786dadc836
feat: invalid password error message (Postgres) ( #14038 )
2021-04-12 14:03:21 -07:00
Kamil Gabryjelski
bf22487e23
Make chart exclude itself from cross filtering ( #14046 )
2021-04-12 14:08:07 +03:00
simcha90
d6bd160250
fix: fix bug when remove chart not removing it's related cross filter data ( #14081 )
2021-04-12 10:54:31 +03:00
simcha90
468638c5b8
feat(native-filters): Add default first value to select filter ( #13726 )
...
* feat: native filters first default value
* fix: fix CR notes
* feat: add support for `Place` type
* refactor: sync with master
* feat: add first value to Select filters
* refactor: fix CR notes
* refactor: updates usage of `ownFilters` to `ownState`
* Revert "refactor: updates usage of `ownFilters` to `ownState`"
This reverts commit 58b91998
* fix: revert mocks
* fix: fix CR notes
* chore: update package json
* chore: update package json
* chore: update package json
* test: fix tests
* fix: fix BE empty metrics
* lint: fix lint
* fix: fix BE empty metrics
* refactor: fix Cr notes
2021-04-12 09:22:33 +03:00
Bruno Motta
66201e7c55
test: FilterSets-utils ( #14028 )
...
* Tests for "nativeFilters/FilterBar/FilterSets/utils"
* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/utils/findExistingFilterSet.test.ts
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/utils/findExistingFilterSet.test.ts
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/nativeFilters/FilterBar/FilterSets/utils/generateFiltersSetId.test.ts
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Fix: Lint error
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-09 15:07:37 -07:00
Bruno Motta
95ed8735f1
chore: well component to card component(Updating PR #12200 ) ( #14033 )
...
* replace Well componenet with Card component
* Fix lint errors
* Fix lint
* Addressing comments
* Addressing comments
* Fix lint errors
* Exporting Card from index.tsx and adding storybook variants
* Fix some refactoring
* Fix errors
* solving conflicts and lint errors
* Update superset-frontend/src/common/components/Card.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/common/components/Card.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/common/components/common.stories.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/common/components/common.stories.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/common/components/common.stories.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/common/components/common.stories.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/common/components/common.stories.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Nikola Gigic <nik.gigic@gmail.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-09 15:06:44 -07:00
Ville Brofeldt
bfa6140b15
fix(viz): bump superset-ui 0.17.30 ( #14045 )
...
* fix(viz): bump superset-ui 0.17.30
* fix test
* bump react-table to match the version in superset-ui
2021-04-09 20:49:38 +03:00
Bruno Motta
ff08d423a9
Tests for ControlItems ( #13975 )
2021-04-09 09:54:35 -07:00
Bruno Motta
1920811cf2
test: Tabs ( #13941 )
...
* Test for Tabs component
* Fix: "creteProps" to "createProps"
* Update superset-frontend/src/dashboard/components/gridComponents/Tabs.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-09 09:54:16 -07:00
Bruno Motta
011af825a9
test: Tab ( #13937 )
...
* Tests for Tab component
* Update superset-frontend/src/dashboard/components/gridComponents/Tab.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/gridComponents/Tab.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/gridComponents/Tab.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/gridComponents/Tab.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/gridComponents/Tab.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/gridComponents/Tab.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-09 09:53:54 -07:00
Bruno Motta
ec3f8d07f4
test: SliceHeader ( #13888 )
...
* tests for SliceHeader
* Update superset-frontend/src/dashboard/components/SliceHeader/SliceHeader.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/SliceHeader/SliceHeader.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/SliceHeader/SliceHeader.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-09 09:14:16 -07:00
Bruno Motta
36f101e500
test: ShareMenuItems ( #13860 )
...
* Tests for ShareMenuItems
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/ShareMenuItems.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/ShareMenuItems.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/ShareMenuItems.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/ShareMenuItems.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/ShareMenuItems.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/ShareMenuItems.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/ShareMenuItems.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/ShareMenuItems.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/menu/ShareMenuItems/ShareMenuItems.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-09 09:13:05 -07:00
Bruno Motta
c0017b3262
Tests for ColumnSelect ( #13991 )
2021-04-09 09:02:39 -07:00
Beto Dealmeida
c60a93db9c
feat: add extract_errors to Postgres ( #13997 )
...
* feat: add extract_errors to Postgres
* Add unit tests
* Fix lint
* Fix unit tests
2021-04-08 13:24:54 -07:00
Michael S. Molina
784d29b57c
chore: Moves Fade component into TableElement ( #13458 )
2021-04-08 12:56:21 -07:00
Jack Fragassi
5dd971eaf5
fix: execution log crashes for logs with no uuid ( #13998 )
...
* Fix execution log when no execution id
* Use single quotes
* Pretty
2021-04-08 06:50:23 -07:00
Lyndsi Kay Williams
7697bc297c
feat: FE: Export for Queries II ( #13981 )
...
* package.lock upgrade
* Copied changes from old PR
* Cleaned up ternaries
* Added export check for VERSIONED_EXPORT feature flag
2021-04-08 09:22:15 -04:00
Michael S. Molina
b5c95c537c
test: Adds tests to the CssEditor component ( #13933 )
2021-04-07 14:40:24 -07:00
Geido
6c06866583
test: Tests and Storybook entry for the IndeterminateCheckbox Component ( #13502 )
...
* Add tests for IndeterminateCheckbox
* Add storybook entry
* Fix linting issue
* Remove mocked icon
* Add jest.fn to mockedProps
2021-04-07 13:34:19 -07:00
Bruno Motta
dcb9f7cff1
test: DataTablesPane ( #13736 )
...
* Tests for DataTablesPane
* Update superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/DataTablesPane/DataTablesPane.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Using factory for props
* replacing "data-test"
* removing "act" from tests and fix error
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-07 11:35:27 -07:00
Bruno Motta
284402c583
test: AdhocMetricEditPopover ( #13787 )
...
* tests for AdhocMetricEditPopover
* replace "factoryProps" for "createProps"
* removing unnecessary if
* Update superset-frontend/src/explore/components/controls/MetricControl/AdhocMetricEditPopover/AdhocMetricEditPopover.test.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/explore/components/controls/MetricControl/AdhocMetricEditPopover/AdhocMetricEditPopover.test.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/explore/components/controls/MetricControl/AdhocMetricEditPopover/AdhocMetricEditPopover.test.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
* Update superset-frontend/src/explore/components/controls/MetricControl/AdhocMetricEditPopover/AdhocMetricEditPopover.test.tsx
Co-authored-by: Evan Rusackas <evan@preset.io>
Co-authored-by: Evan Rusackas <evan@preset.io>
2021-04-07 10:34:29 -07:00
Geido
cc075f23ef
test: Tests and Storybook entry for the TableView Component ( #13501 )
...
* Refactor TableView tests
* Add more tests
* Add storybook entry
* Remove unnecessary control
2021-04-07 10:33:55 -07:00
Yongjie Zhao
f06d53455c
fix: annotation modal dateRangePicker saved invalid value ( #13969 )
2021-04-07 22:02:29 +08:00
Yongjie Zhao
e3efaba775
test: prevent flaky frontend unit test case ( #13984 )
...
* test: prevent flaky unit test case
* Update superset-frontend/spec/javascripts/datasource/ChangeDatasourceModal_spec.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-07 20:08:04 +08:00
Yongjie Zhao
56dc74e09f
fix: Pie chart not displayed in viz ( #13987 )
2021-04-07 17:08:24 +08:00
Beto Dealmeida
a82d72fef6
feat: initial work to make v1 API compatible with SIP-40 and SIP-41 ( #13960 )
...
* WIP
* Use errorhandler
* Add response schema
* Fix status on HTTPException
* s/found/encountered/g
* Fix test
* Fix lint
* Fix lint and test
2021-04-06 22:06:32 -07:00
Bruno Motta
1638e6e932
test: exploreUtils ( #13719 )
...
* Tests for exploreUtils
* removing eslint-disable
* applying factory
* Removing skip tests and code comments.
* Improving test name
* remove comments
* Improving "shouldUseLegacyApi" tests
* fixing typo
2021-04-06 21:35:34 -07:00
Michael S. Molina
4602ead10c
test: Adds tests to the filter scope components ( #13887 )
2021-04-06 21:31:35 -07:00
Bruno Motta
ab0f5e3087
test: PropertiesModal (Dashboard) ( #13931 )
...
* Tests for PropertiesModal (Dashboard)
* fix: fetchMock
2021-04-06 14:00:35 -07:00
Geido
c0888dc16d
Add tests for FilterBar CascadeFilterControl ( #13950 )
2021-04-06 11:15:17 -07:00
AAfghahi
7fb138381f
fix: Data table z index in sql Editor ( #13972 )
2021-04-06 12:42:48 -04:00
Grace Guo
4b29789b64
fix: null exception from adhoc metric popover ( #13955 )
2021-04-06 13:36:59 +08:00
Jesse Yang
b9e601487a
chore: bump @superset-ui/plugin-chart-table to 0.17.28 ( #13953 )
...
* chore: bump @superset-ui/plugin-chart-table to 0.17.28
* Bump chrono-node
2021-04-06 09:55:35 +08:00
AAfghahi
f19f2c3ac8
fix: Floating Menu in SQL Left Bar ( #13858 )
...
* floating table git issue
* made changes
* floating table git issue
* made changes
* long table names
* floating table git issue
* made changes
* floating table git issue
* made changes
* long table names
* floating table git issue
* made changes
* floating table git issue
* made changes
* long table names
* table values
* aligned
* active key
* changed to customStyle
* update dropdown styles
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2021-04-05 15:54:28 -07:00
Hugh A. Miles II
d006178c03
refactor: move CTAS/CVAS field II ( #13877 )
...
Co-authored-by: lyndsiWilliams <kcatgirl@gmail.com>
2021-04-05 16:57:40 -04:00
Bruno Motta
d489d0018c
test: SliceHeaderControls ( #13895 )
...
* tests for SliceHeaderControls
* Update superset-frontend/src/dashboard/components/SliceHeaderControls/SliceHeaderControls.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/SliceHeaderControls/SliceHeaderControls.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/SliceHeaderControls/SliceHeaderControls.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/SliceHeaderControls/SliceHeaderControls.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* fix lint error
* Improving accessibility
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-05 13:34:06 -07:00
Geido
fa1e028974
Add dedicated dir and storybook ( #13553 )
2021-04-05 13:11:50 -07:00
Bruno Motta
592c566bb4
test: PropertiesModal ( #13818 )
...
* Tests for test-PropertiesModal
* finish fetchMock to solve conflicts
* clean fetchMock
2021-04-05 11:24:10 -07:00
Bruno Motta
203512e189
test: CrossFilterScopingForm ( #13875 )
...
* tests for CrossFilterScopingForm
* Update superset-frontend/src/dashboard/components/CrossFilterScopingModal/CrossFilterScopingForm/CrossFilterScopingForm.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/CrossFilterScopingModal/CrossFilterScopingForm/CrossFilterScopingForm.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/dashboard/components/CrossFilterScopingModal/CrossFilterScopingForm/CrossFilterScopingForm.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-05 11:16:04 -07:00
Bruno Motta
12982ef387
tests for FilterIndicator ( #13873 )
2021-04-05 11:14:30 -07:00
Bruno Motta
f2d65989ab
Tests for DetailsPanel ( #13872 )
2021-04-05 11:13:15 -07:00
Geido
9a4de232a7
test: Enhance tests and directory structure for FilterControl components ( #13745 )
...
* Enhance directory structure
* Enhance paths
* Move AdhocFilter
* Add AdhocFilterPopoverTrigger tests
* Move import
* Enhance AdhocFilterOption tests
* Linting
* Fix linting
* Update superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterOption/AdhocFilterOption.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/controls/FilterControl/AdhocFilterOption/index.jsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Enhance
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-04-05 11:05:35 -07:00
Michael S. Molina
61129f749f
test: Adds tests to the TimeSeriesColumnControl component ( #13712 )
2021-04-05 11:04:58 -07:00
Bruno Motta
7e394e556a
test: FilterBoxItemControl ( #13753 )
...
* Tests for FilterBoxItemControl
* factory for props
* fix lint
2021-04-05 11:00:20 -07:00
Bruno Motta
555d7bbb35
test: CollectionControl ( #13656 )
...
* Tests for CollectionControl
* add role to icon
* applying factory to props
2021-04-05 10:52:24 -07:00
Michael S. Molina
35f33e8276
test: Adds storybook to Dropdown and DropdownButton components ( #13482 )
2021-04-05 10:48:59 -07:00
simcha90
e06290663a
fix(colors): fix color schemes ( #13945 )
...
* fix: fix color schemes
* fix: tests case
2021-04-04 15:53:21 +03:00
Elizabeth Thompson
abd4051f7a
catch collapse onchange ( #13927 )
2021-04-03 00:00:34 -07:00
Bruno Motta
e829aa52eb
Tests for "CrossFilterScopingModal/utils" ( #13876 )
2021-04-02 17:06:42 -07:00
David Aaron Suddjian
e640b7f0e0
chore(dashboard): Datasource -> Dataset ( #13939 )
...
* chore(dashboard): Datasource -> Dataset
* lint
* more renaming datasource -> dataset
2021-04-02 16:47:16 -07:00
Michael S. Molina
a0a00e6470
test: Adds tests to the PublishedStatus component ( #13892 )
2021-04-02 14:26:06 -07:00
AAfghahi
4187d9e4c4
fix: adjusted tab height ( #13822 )
2021-04-02 12:44:45 -04:00
Amit Miran
f6f412b4ae
chore: bump to new superset-ui version ( #13932 )
2021-04-02 18:27:10 +03:00
Jesse Yang
65940770ac
feat(explore): adhoc column formatting for Table chart ( #13758 )
2021-04-01 23:28:42 -07:00
Michael S. Molina
a1442497d4
test: Fixes PropertiesModal_spec ( #13548 )
2021-04-01 11:42:14 -07:00
Michael S. Molina
42c7e2cae6
test: Adds tests to dnd controls ( #13650 )
2021-04-01 09:11:33 -07:00
Michael S. Molina
bb677b8ef1
test: Adds tests to the AnnotationLayer component ( #13748 )
2021-04-01 09:10:42 -07:00
Geido
9156f089ff
test: Refactor and enhance tests for the Explore DatasourcePanel Component ( #13799 )
...
* Refactor and enhance tests
* Fix linting issues
2021-03-31 23:14:51 -07:00
Geido
a5c4db3aee
Add tests ( #13778 )
2021-03-31 23:08:56 -07:00
Bruno Motta
1dbc1496b2
test: DisplayQueryButton ( #13750 )
...
* Tests for DisplayQueryButton component
* add factories to props and fetch-mock
* Update superset-frontend/src/explore/components/DisplayQueryButton/DisplayQueryButton.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/DisplayQueryButton/DisplayQueryButton.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-03-31 23:08:20 -07:00
Evan Rusackas
a7f48c6599
Fixing condition around left margin for dashboard layout. Fixes #13863 ( #13905 )
2021-03-31 21:32:46 -07:00
Erik Ritter
5315d2cc2d
Revert "fix: select table overlay ( #13694 )" ( #13901 )
...
This reverts commit b247279ffe
.
2021-03-31 18:47:38 -07:00
Michael S. Molina
6fd62e3f7e
test: Adds tests to the OptionControls component ( #13729 )
2021-03-31 18:07:22 -07:00
Bruno Motta
ec5d2f5f32
test: DatasourceControl ( #13605 )
...
* Tests for DatasourceControl
* fix: lint error
* Update superset-frontend/src/explore/components/controls/DatasourceControl/DatasourceControl.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/controls/DatasourceControl/DatasourceControl.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/controls/DatasourceControl/DatasourceControl.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Remove error comment
* replace component data-test
* factory to props
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-03-31 17:52:45 -07:00
Bruno Motta
9fd297f636
tests for function handleScroll ( #13896 )
2021-03-31 17:49:43 -07:00
Michael S. Molina
28fe6e0ef1
test: Adds tests to the CustomFrame component ( #13675 )
...
* test: Adds tests to the CustomFrame component
* Replaces full path with relative path
2021-03-31 15:53:07 -07:00
Michael S. Molina
7ae80e9d66
test: Adds tests to the AdvancedFrame component ( #13664 )
...
* test: Adds tests to AdvancedFrame component
* Replaces full path with relative path
2021-03-31 15:52:03 -07:00
Bruno Motta
1252fd700e
test: DataTableControl ( #13668 )
...
* Tests for DataTableControl
* Update superset-frontend/src/explore/components/DataTableControl/RowCount.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
* Update superset-frontend/src/explore/components/DataTableControl/RowCount.test.tsx
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2021-03-31 15:45:30 -07:00
Michael S. Molina
8ddcba82e0
chore: Removes Select duplication ( #13477 )
2021-03-31 15:42:14 -07:00
Michael S. Molina
9d6832dc27
test: Adds tests and storybook to CertifiedIcon component ( #13457 )
2021-03-30 14:31:35 -07:00
Michael S. Molina
3c4591ef15
chore: Moves CheckboxIcons to Checkbox folder ( #13459 )
2021-03-30 13:55:10 -07:00
Michael S. Molina
6fe4cc0c51
chore: Removes Popover duplication ( #13462 )
2021-03-30 13:54:53 -07:00
Beto Dealmeida
ce2760edf7
fix: allow spaces in DB names ( #13800 )
2021-03-30 10:12:10 -07:00
Jack Fragassi
304e3b36eb
feat(alerts & reports): Easier to read execution logs ( #13752 )
...
* Prep for migration
* Migration for execution id column
* Generate execution ids for alerts and reports
* Change execution id range
* Add execution id to API endpoint
* Add execution id to execution log view
* Change execution id range
* Change execution id to a uuid
* Fix execution id type
* Switch state and exec. id columns
* Change db column to UUIDType
* Python lint
* Fix failing frontend tests
* execution_id -> uuid
* Fix migration head
* lint
* Use celery task id as the execution id
* lint
* lint for real
* Fix tests
2021-03-30 08:46:16 -07:00
Michael S. Molina
4ae9b819d3
fix: Disallows negative options remaining ( #13749 )
2021-03-30 08:34:12 -07:00
Ville Brofeldt
3394421fa8
fix(native-filters): add global async query support to native filters ( #13837 )
...
* fix(native-filters): improve loading styles for filter component
* round up fractional grid unit
* fix(native-filters): add support for global async queries
* move form item out of default value component
* move default value hook declaration to form
* delete LoadingBox
2021-03-30 07:50:52 +03:00
Michael S. Molina
ac43f4c491
Displays row limit warning with Alert component ( #13854 )
2021-03-29 17:04:33 -07:00
Jack Fragassi
33f7845010
fix(alerts and reports): Unify timestamp format on execution log view ( #13718 )
...
* Unify timestamp format on execution log view
* Fix lint
2021-03-29 13:30:19 -07:00
zuzana-vej
467848d8f7
fix(sqllab): warning message when rows limited ( #13841 )
2021-03-29 10:47:51 -07:00
Ville Brofeldt
9fa52b50ed
fix(native-filters): improve loading styles for filter component ( #13794 )
...
* fix(native-filters): improve loading styles for filter component
* round up fractional grid unit
* remove LoadingBox
2021-03-29 10:23:01 +03:00
cccs-jc
24f805ebc4
feat: added support to configure the default explorer viz ( #13610 )
...
* added support to configure the default explorer viz
* code review fix
* lint
Co-authored-by: cccs-jc <cccs-jc@cyber.gc.ca>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-03-26 15:27:36 -07:00
David Aaron Suddjian
db1d598f50
fix(cypress): avoid referencing detached dom nodes ( #13825 )
2021-03-26 14:46:31 -07:00
David Aaron Suddjian
a45a5e1060
chore(cypress): Make the e2e tests more behavior-driven ( #13784 )
...
* chore(cypress): make the load dashboard test behavior driven
* remove bootstrap usage from controls test, + new utils
* fix save test to not use bootstrap dat
* remove bootstrap usage from the filter test
* fix race condition
* remove bootstrap from url params test
* fix lint
* remove unused const
* add chart specs for the tab test
* attempt removing bootstrap data from tabs tests
* fix cypress async/sync confusion
* remove redundant assertions
* attempt fixing tab test
* attempt fixing tabs test
* cleanup commented code
* better aliases so you can tell what they are in the logs
* remove unused imports
* get the line chart alias before clicking the tab
* simplify getChartGridComponent
* wait for all the charts before force refresh
* fix tabs test
* one more time with the tabs test
* another edit to tabs test
* fix flaky test
Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2021-03-26 09:20:13 -07:00
AAfghahi
b247279ffe
fix: select table overlay ( #13694 )
2021-03-26 10:39:39 -04:00
AAfghahi
64f967cb2d
refactor: New schedule query button ( #13797 )
2021-03-26 09:56:59 -04:00
Michael S. Molina
be8f8d9c1f
test: Adds storybook and tests to PopoverDropdown component ( #13547 )
...
* test: Adds storybook and tests to PopoverDropdown component
* Changes to use gridUnit and theme hook
2021-03-26 05:29:03 -07:00
Bruno Motta
416f188328
test: SelectAsyncControl ( #13638 )
...
* SelectAsyncControl tests
* fix: lint error
* applying factory to props
2021-03-25 22:07:05 -07:00