grafana/public/app/features/plugins
Michael Mandrus fd3c986ceb
Plugins: disable management of secrets manager plugins through the UI (#51553)
* 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

* show custom uninstall message if the plugin is a secrets manager

* bogus commit to trigger precommit

* undo commit

* run precommit manually

Co-authored-by: Levente Balogh <balogh.levente.hu@gmail.com>
2022-06-29 11:05:54 -04:00
..
__mocks__ Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
admin Plugins: disable management of secrets manager plugins through the UI (#51553) 2022-06-29 11:05:54 -04:00
components Data Connections: Create a new top-level page (#50018) 2022-06-10 12:13:31 +02:00
hooks Data Connections: Create a new top-level page (#50018) 2022-06-10 12:13:31 +02:00
tests Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
all.ts Angular: More isolation and removing of unused components (#41630) 2021-11-15 15:12:45 +01:00
built_in_plugins.ts Heatmap: Replace the heatmap panel with new implementation (#50229) 2022-06-23 11:48:28 -07:00
datasource_srv.ts Chore: Enable useUnknownInCatchVariables for stricter type checking in catch blocks (#50591) 2022-06-15 08:59:29 +01:00
importPanelPlugin.ts PanelRenderer: Improves PanelRenderer performance (#51092) 2022-06-20 14:41:39 +02:00
plugin_loader.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
pluginCacheBuster.ts fix(40639): datasource should not be visible after uninstall (#43625) 2022-01-07 09:54:02 +01:00
pluginPreloader.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
pluginSettings.test.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
pluginSettings.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00
utils.ts Chore: ESlint import order (#44959) 2022-04-22 14:33:13 +01:00