refactor: Changes the list views to use the new Select component (#16393)

* chore: Change the list views to use the new Select component

* Fix Cypress tests

* Enables search for all controls

* Adjusts controls width

* Removes 'Me' and keeps the logged user on top

* Fixes tests

* Uses the borderless version for the filters

* Fixes the tests

* Reverts the Select theme to the default

* Rebases and fixes js error

* Fixes failing test

* Removes unused withTheme
This commit is contained in:
Michael S. Molina
2021-09-22 07:44:18 -03:00
committed by GitHub
parent 596e1cdf9b
commit b6d78bf4f2
28 changed files with 510 additions and 835 deletions

View File

@@ -161,13 +161,13 @@ describe('DatabaseList', () => {
.find('[name="expose_in_sqllab"]')
.first()
.props()
.onSelect(true);
.onSelect({ label: 'Yes', value: true });
filtersWrapper
.find('[name="allow_run_async"]')
.first()
.props()
.onSelect(false);
.onSelect({ label: 'Yes', value: false });
filtersWrapper
.find('[name="database_name"]')