grafana/public/app/features/plugins/admin/components/Badges
Michael Mandrus 7ef21662f9
Plugins: Show that Secrets Manager Plugin is active in the UI (#50953)
* add special handling on the plugin gathering side to check whether secrets manager plugins are enabled or not

* show disabled badge in front end if the plugin is not enabled

* Only show error in disabled badge hover if one is present (otherwise it shows "undefined")

* refactor to make use of fields already available in the DTO

* fix typo

* if there is no error returned for the plugin, just show 'disabled'

* fix typo

* Update public/app/features/plugins/admin/components/Badges/PluginDisabledBadge.tsx

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>

* Update frontendsettings.go

add clarifying comment

* fix unit test

* rework task to use new frontend property combined with plugin type to determine if the plugin should be disabled

* Update helpers.test.ts

revert test change

* fix unit test

* bogus commit to trigger precommit

* undo commit

* run precommit manually

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-06-29 08:48:23 -04:00
..
index.ts Plugins Catalog: fix overflowing text in plugin cards (#39862) 2021-09-30 17:23:40 +02:00
PluginDisabledBadge.tsx Plugins: Show that Secrets Manager Plugin is active in the UI (#50953) 2022-06-29 08:48:23 -04:00
PluginEnterpriseBadge.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
PluginInstallBadge.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
PluginUpdateAvailableBadge.tsx Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
sharedStyles.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00