GrafanaUI: Remove blurred background from overlay backdrops to improve performance (#103563)

* default noBackdropBlur to enabled

* move blur from hacks to theme.components, tweak backdrop colour

* remove toggle completely

* fix unused import
This commit is contained in:
Josh Hunt
2025-04-08 11:58:19 +01:00
committed by GitHub
parent 7a1f1faca3
commit 577ea8f6a9
15 changed files with 20 additions and 53 deletions
-9
View File
@@ -1712,15 +1712,6 @@ var (
HideFromDocs: true,
FrontendOnly: true,
},
{
Name: "noBackdropBlur",
Description: "Disables backdrop blur",
Stage: FeatureStageExperimental,
Owner: grafanaFrontendPlatformSquad,
HideFromAdminPage: true,
HideFromDocs: true,
FrontendOnly: true,
},
{
Name: "alertingMigrationUI",
Description: "Enables the alerting migration UI, to migrate datasource-managed rules to Grafana-managed rules",
-1
View File
@@ -225,7 +225,6 @@ alertRuleRestore,preview,@grafana/alerting-squad,false,false,false
grafanaManagedRecordingRulesDatasources,experimental,@grafana/alerting-squad,false,false,false
infinityRunQueriesInParallel,privatePreview,@grafana/oss-big-tent,false,false,false
inviteUserExperimental,experimental,@grafana/sharing-squad,false,false,true
noBackdropBlur,experimental,@grafana/grafana-frontend-platform,false,false,true
alertingMigrationUI,experimental,@grafana/alerting-squad,false,false,true
unifiedStorageHistoryPruner,experimental,@grafana/search-and-storage,false,false,false
azureMonitorLogsBuilderEditor,preview,@grafana/partner-datasources,false,false,false
1 Name Stage Owner requiresDevMode RequiresRestart FrontendOnly
225 grafanaManagedRecordingRulesDatasources experimental @grafana/alerting-squad false false false
226 infinityRunQueriesInParallel privatePreview @grafana/oss-big-tent false false false
227 inviteUserExperimental experimental @grafana/sharing-squad false false true
noBackdropBlur experimental @grafana/grafana-frontend-platform false false true
228 alertingMigrationUI experimental @grafana/alerting-squad false false true
229 unifiedStorageHistoryPruner experimental @grafana/search-and-storage false false false
230 azureMonitorLogsBuilderEditor preview @grafana/partner-datasources false false false
-4
View File
@@ -911,10 +911,6 @@ const (
// Renders invite user button along the app
FlagInviteUserExperimental = "inviteUserExperimental"
// FlagNoBackdropBlur
// Disables backdrop blur
FlagNoBackdropBlur = "noBackdropBlur"
// FlagAlertingMigrationUI
// Enables the alerting migration UI, to migrate datasource-managed rules to Grafana-managed rules
FlagAlertingMigrationUI = "alertingMigrationUI"
+9 -6
View File
@@ -2177,16 +2177,19 @@
{
"metadata": {
"name": "noBackdropBlur",
"resourceVersion": "1743693517832",
"creationTimestamp": "2025-04-03T15:18:37Z"
"resourceVersion": "1744057771109",
"creationTimestamp": "2025-04-03T15:18:37Z",
"deletionTimestamp": "2025-04-08T09:27:30Z",
"annotations": {
"grafana.app/updatedTimestamp": "2025-04-07 20:29:31.109804663 +0000 UTC"
}
},
"spec": {
"description": "Disables backdrop blur",
"stage": "experimental",
"description": "Disables backdrop blur behind modals and drawers",
"stage": "GA",
"codeowner": "@grafana/grafana-frontend-platform",
"frontend": true,
"hideFromAdminPage": true,
"hideFromDocs": true
"expression": "true"
}
},
{