grafana/public/app/features/datasource-drawer
Oscar Kilhed dc1600ff14
DataSourcePicker: Add new style of data source picker. (#63736)
* MVP of a new datasource picker

* Add datasource select history, naming DatasourceSelect -> DataSourceDrawer

* refactor cards

* Cleanup and fixing sort order for recents

* add feature flag

* fix feature flag name and use it

* Highlight selected

* Move new ds picker to core

* Restore original datasource picker

* Remove unused property

* update yarn.lock

* Rename folder, update codeowners

* add test for util functions

* Remove es-lint exception

* Change feature toggle description

* remove unnecessary if

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>

* Make test a bit more clear

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>

* Clean up api, filter once and before maps, minor code cleanup

* Fix prettier issue

---------

Co-authored-by: Ivan Ortega Alba <ivanortegaalba@gmail.com>
2023-03-01 11:26:19 +01:00
..
components DataSourcePicker: Add new style of data source picker. (#63736) 2023-03-01 11:26:19 +01:00
DataSourceDrawer.test.ts DataSourcePicker: Add new style of data source picker. (#63736) 2023-03-01 11:26:19 +01:00
DataSourceDrawer.tsx DataSourcePicker: Add new style of data source picker. (#63736) 2023-03-01 11:26:19 +01:00
DataSourcePicker.tsx DataSourcePicker: Add new style of data source picker. (#63736) 2023-03-01 11:26:19 +01:00
DataSourcePickerWithHistory.test.ts DataSourcePicker: Add new style of data source picker. (#63736) 2023-03-01 11:26:19 +01:00
DataSourcePickerWithHistory.tsx DataSourcePicker: Add new style of data source picker. (#63736) 2023-03-01 11:26:19 +01:00
types.ts DataSourcePicker: Add new style of data source picker. (#63736) 2023-03-01 11:26:19 +01:00