grafana/public/app/features/plugins/admin/__mocks__
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
..
catalogPlugin.mock.ts Plugins Catalog: add unit tests for data-munging (#39338) 2021-09-20 16:59:18 +02:00
index.ts Plugins Catalog: refactor the mocking for our tests (#39165) 2021-09-14 16:44:13 +02:00
localPlugin.mock.ts Plugins Catalog: refactor the mocking for our tests (#39165) 2021-09-14 16:44:13 +02:00
mockHelpers.ts PluginsCatalog: adding support for viewing the plugins list as both table and list (#39466) 2021-09-29 15:44:57 +02:00
remotePlugin.mock.ts Plugins Catalog: refactor the mocking for our tests (#39165) 2021-09-14 16:44:13 +02:00