Dashboards: Add restricted extension point for empty state (#111788)
* Dashboards: Add restricted extension point for empty state * FeatureToggles: Regenerate files with new toggle * Dashboards: Pass default empty UI as component, not children * Dashboards: Expose hooks for empty state methods to extensions * Dashboards: Move empty state button hooks to dedicated file * Dashboards: Render loader while empty state plugin components loading * Dashboards: Pass empty state default UI as method * Dashboards: De-duplicate hook usages in empty state * Dashboards: De-duplicate read-only repo check in empty state
This commit is contained in:
@@ -1383,6 +1383,22 @@
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "enableDashboardEmptyExtensions",
|
||||
"resourceVersion": "1759194774156",
|
||||
"creationTimestamp": "2025-09-30T01:12:54Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Set this to true to enable all dashboard empty state extensions registered by plugins.",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/dashboards-squad",
|
||||
"frontend": true,
|
||||
"hideFromAdminPage": true,
|
||||
"hideFromDocs": true,
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "enableDatagridEditing",
|
||||
|
||||
Reference in New Issue
Block a user