Plugins: Plugin details right panel is added. All the details were moved from thee top to the right panel (#90325)

* PluginDetailsRight panel is added. All the details were moved from the top to the right panel

* Add feature toggle pluginsDetailsRightPanel,Fix build, fix review comments

* Fix the typo

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>

* hasAccessToExplore

* changes after review, add translations

* fix betterer

* fix betterer

* fix css error

* fix betterer

* fix translation labels, fix position of the right panel

* fix the build

* add condition to show updatedAt for plugin details

* add test to check 2 new fields at plugin details right panel;

* change the gap and remove report abuse button from core plugins

* add more tests

---------

Co-authored-by: Giuseppe Guerra <giuseppe.guerra@grafana.com>
This commit is contained in:
Yulia Shanyrova
2024-08-13 11:55:30 +02:00
committed by GitHub
co-authored by Giuseppe Guerra
parent bac68069e0
commit 8044cb50f1
24 changed files with 362 additions and 85 deletions
+7
View File
@@ -443,6 +443,13 @@ var (
FrontendOnly: true,
Owner: grafanaPluginsPlatformSquad,
},
{
Name: "pluginsDetailsRightPanel",
Description: "Enables right panel for the plugins details page",
Stage: FeatureStageExperimental,
FrontendOnly: true,
Owner: grafanaPluginsPlatformSquad,
},
{
Name: "sqlDatasourceDatabaseSelection",
Description: "Enables previous SQL data source dataset dropdown behavior",
+1
View File
@@ -58,6 +58,7 @@ extraThemes,experimental,@grafana/grafana-frontend-platform,false,false,true
lokiPredefinedOperations,experimental,@grafana/observability-logs,false,false,true
pluginsFrontendSandbox,experimental,@grafana/plugins-platform-backend,false,false,true
frontendSandboxMonitorOnly,experimental,@grafana/plugins-platform-backend,false,false,true
pluginsDetailsRightPanel,experimental,@grafana/plugins-platform-backend,false,false,true
sqlDatasourceDatabaseSelection,preview,@grafana/dataviz-squad,false,false,true
recordedQueriesMulti,GA,@grafana/observability-metrics,false,false,false
vizAndWidgetSplit,experimental,@grafana/dashboards-squad,false,false,true
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
58 lokiPredefinedOperations experimental @grafana/observability-logs false false true
59 pluginsFrontendSandbox experimental @grafana/plugins-platform-backend false false true
60 frontendSandboxMonitorOnly experimental @grafana/plugins-platform-backend false false true
61 pluginsDetailsRightPanel experimental @grafana/plugins-platform-backend false false true
62 sqlDatasourceDatabaseSelection preview @grafana/dataviz-squad false false true
63 recordedQueriesMulti GA @grafana/observability-metrics false false false
64 vizAndWidgetSplit experimental @grafana/dashboards-squad false false true
+4
View File
@@ -243,6 +243,10 @@ const (
// Enables monitor only in the plugin frontend sandbox (if enabled)
FlagFrontendSandboxMonitorOnly = "frontendSandboxMonitorOnly"
// FlagPluginsDetailsRightPanel
// Enables right panel for the plugins details page
FlagPluginsDetailsRightPanel = "pluginsDetailsRightPanel"
// FlagSqlDatasourceDatabaseSelection
// Enables previous SQL data source dataset dropdown behavior
FlagSqlDatasourceDatabaseSelection = "sqlDatasourceDatabaseSelection"
+16
View File
@@ -2038,6 +2038,22 @@
"frontend": true
}
},
{
"metadata": {
"name": "pluginsDetailsRightPanel",
"resourceVersion": "1720788722220",
"creationTimestamp": "2024-07-12T08:39:21Z",
"annotations": {
"grafana.app/updatedTimestamp": "2024-07-12 12:52:02.22099 +0000 UTC"
}
},
"spec": {
"description": "Enables right panel for the plugins details page",
"stage": "experimental",
"codeowner": "@grafana/plugins-platform-backend",
"frontend": true
}
},
{
"metadata": {
"name": "pluginsFrontendSandbox",