ScopesInput: Display parent and use + as separator (#107698)
* Display group and use + as separator * Set/get parent node from URL * Add hook useScopeNode * Add loading state and Skeleton * Add preload and actually commit hook * Add preload * Add feature flag * Update test * Fix test * Fix tree test
This commit is contained in:
@@ -769,6 +769,16 @@ var (
|
||||
HideFromAdminPage: true,
|
||||
Expression: "false",
|
||||
},
|
||||
{
|
||||
Name: "useScopeSingleNodeEndpoint",
|
||||
Description: "Use the single node endpoint for the scope api. This is used to fetch the scope parent node.",
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaOperatorExperienceSquad,
|
||||
Expression: "false",
|
||||
FrontendOnly: true,
|
||||
HideFromDocs: true,
|
||||
HideFromAdminPage: true,
|
||||
},
|
||||
{
|
||||
Name: "promQLScope",
|
||||
Description: "In-development feature that will allow injection of labels into prometheus queries.",
|
||||
|
||||
@@ -101,6 +101,7 @@ secretsManagementAppPlatform,experimental,@grafana/grafana-operator-experience-s
|
||||
alertingSaveStatePeriodic,privatePreview,@grafana/alerting-squad,false,false,false
|
||||
alertingSaveStateCompressed,preview,@grafana/alerting-squad,false,false,false
|
||||
scopeApi,experimental,@grafana/grafana-app-platform-squad,false,false,false
|
||||
useScopeSingleNodeEndpoint,experimental,@grafana/grafana-operator-experience-squad,false,false,true
|
||||
promQLScope,GA,@grafana/oss-big-tent,false,false,false
|
||||
logQLScope,privatePreview,@grafana/observability-logs,false,false,false
|
||||
sqlExpressions,privatePreview,@grafana/grafana-datasources-core-services,false,false,false
|
||||
|
||||
|
@@ -415,6 +415,10 @@ const (
|
||||
// In-development feature flag for the scope api using the app platform.
|
||||
FlagScopeApi = "scopeApi"
|
||||
|
||||
// FlagUseScopeSingleNodeEndpoint
|
||||
// Use the single node endpoint for the scope api. This is used to fetch the scope parent node.
|
||||
FlagUseScopeSingleNodeEndpoint = "useScopeSingleNodeEndpoint"
|
||||
|
||||
// FlagPromQLScope
|
||||
// In-development feature that will allow injection of labels into prometheus queries.
|
||||
FlagPromQLScope = "promQLScope"
|
||||
|
||||
@@ -3242,6 +3242,22 @@
|
||||
"hideFromDocs": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "useScopeSingleNodeEndpoint",
|
||||
"resourceVersion": "1753960766702",
|
||||
"creationTimestamp": "2025-07-31T11:19:26Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Use the single node endpoint for the scope api. This is used to fetch the scope parent node.",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/grafana-operator-experience-squad",
|
||||
"frontend": true,
|
||||
"hideFromAdminPage": true,
|
||||
"hideFromDocs": true,
|
||||
"expression": "false"
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "useScopesNavigationEndpoint",
|
||||
|
||||
Reference in New Issue
Block a user