grafana/public/app/features/plugins/admin
Marcus Andersson ff56ea6ea6
Plugins: Combine local and remote plugins into one structure (#36859)
* adding some structure to combine the local and remote into one type.

* feat(catalog): map local and remote responses to catalog plugin

* feat(catalog): render CatalogPlugins in list

* refactor(catalog): update usePluginsByFilter to work with new data structure

* refactor(catalog): move helper functions into helpers file. delete redundent usePlugins hook

* feat(catalog): create CatalogPluginDetails and pass to PluginDetails

* feat(catalog): update types and components for plugin installation

* chore(catalog): comment so not to forget to move code out of api layer

* fix(catalog): make sure all filter shows gcom and installed

* fix(catalog): fix up getCatalogPlugin logic for only locally available plugins

* refactor(catalog): create getCatalogPluginDetails helper. Move usage to hook

* revert(catalog): put back small logos in PluginList

* revert(catalog): put back small logo for PluginDetails page

* fix(catalog): prevent useDebounce from triggering when SearchField mounts

* chore(catalog): add coment explaining reason for usedebouncewithoutfirstrender

* refactor(catalog): replace reduce with filter to remove duplicate array of all plugins

* refactor(catalog): update types for useDebounceWithoutFirstRender

* chore(catalog): remove commented out import

Co-authored-by: Jack Westbrook <jack.westbrook@gmail.com>
2021-07-20 15:20:24 +02:00
..
components Plugins: Combine local and remote plugins into one structure (#36859) 2021-07-20 15:20:24 +02:00
hooks Plugins: Combine local and remote plugins into one structure (#36859) 2021-07-20 15:20:24 +02:00
img Plugins: converted the plugins admin app to a core feature in grafana (#36026) 2021-07-08 17:50:42 +02:00
pages Plugins: Combine local and remote plugins into one structure (#36859) 2021-07-20 15:20:24 +02:00
api.ts Plugins: Combine local and remote plugins into one structure (#36859) 2021-07-20 15:20:24 +02:00
constants.ts Plugins: converted the plugins admin app to a core feature in grafana (#36026) 2021-07-08 17:50:42 +02:00
guards.ts Plugins: converted the plugins admin app to a core feature in grafana (#36026) 2021-07-08 17:50:42 +02:00
helpers.ts Plugins: Combine local and remote plugins into one structure (#36859) 2021-07-20 15:20:24 +02:00
types.ts Plugins: Combine local and remote plugins into one structure (#36859) 2021-07-20 15:20:24 +02:00