grafana/public/app/features/plugins/admin/state
Marcus Andersson 2dedbcd3c3
PluginsCatalog: adding support for viewing the plugins list as both table and list (#39466)
* working version but with duplications.

* refactor(Plugins/Admin): use "fr" instead of "repeat" for grid columns

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>

* fix(Plugins/Admin): use PluginIconName instead of IconName

* refactor(Plugins/Admin): store the display-mode on the state

* refactor(Plugins/Admin): use && for conditional rendering

* refactor(Plugins/Admin): rename variable

* refactor(Plugins/Admin): share code between card and row components

* test(PluginListItemRow): add tests

* test(Plugins/Admin): add a simple test for the display-mode switching

* fix(Plugins/Admin): compose styles with css``

* refactor(Plugins/Admin): rename "table" to "grid" for display modes

* test(Plugins/Browse): follow up on renaming "table" to "grid"

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-09-29 15:44:57 +02:00
..
actions.ts Plugin Catalog: support Grafana instances that cannot communicate with gcom (#39638) 2021-09-28 16:46:29 +02:00
hooks.ts PluginsCatalog: adding support for viewing the plugins list as both table and list (#39466) 2021-09-29 15:44:57 +02:00
reducer.ts PluginsCatalog: adding support for viewing the plugins list as both table and list (#39466) 2021-09-29 15:44:57 +02:00
selectors.ts PluginsCatalog: adding support for viewing the plugins list as both table and list (#39466) 2021-09-29 15:44:57 +02:00