Add enable checkbox for grafana authentication settings
The following discussion from !17330 (merged) should be addressed:
@tristan.read - One other thought I had - we don't currently have any way of communicating to users that the authentication is set up, other than them opening up the section and seeing that a URL and Token have been saved. I know we talked about checking to make sure the integration was successful (and indicating as much with, perhaps, a green checkmark somewhere in this section) as part of a subsequent issue. But that also makes me curious about how they would remove the integration, and if we should make that process easier for them.
I guess the short-version of my question is: should we have a checkbox here so users can easily toggle the integration on and off? In my mind, having a check box as the first field would give users a quick visual indication that this integration is "enabled" and a way of quickly removing the integration if they wanted to. Otherwise, I assume they would "remove" the integration by deleting the URL and Token and then saving changes, which feels a tiny bit cumbersome.
WDYT about this proposal? This isn't a huge thing but, was thinking about it, especially when I noticed that we also use the checkbox as part of the Sentry integration. Would love your thoughts!
Problem to solve
Users of the Grafana embed integration need a way to easily enable/disable the integration itself. This is currently possible by clearing the fields and saving the settings section, but this is not the most useable process.
Add an 'Enabled' checkbox in the Grafana Authentication settings section. This checkbox toggles whether Grafana embeds are enabled or not for a given project.
It might be beneficial to add a 'test' button that checks that the integration has worked.