Scopes: Fetch ScopeNavigation and display them (#102385)
* Initial API client for ScopesNavigation * Display scopes navigation items and group them * Remove refactored component * Fix link highlighting * Underline on focus * Set icons based un URL path * Remove explicit icon names * Add links to copy * Map dashboardbinding to scopeNavigation in folder generation * Consolidate dashboardbindings and scopenavigations to a single way of handling * Let fetchDashboards handle all fetching * Move endpoint types to core * Remove comments * Fix import * Rename name to id * Update translation * Add feature toggle * Fix tests * Fix go.mod for some reason --------- Co-authored-by: Andrej Ocenas <mr.ocenas@gmail.com>
This commit is contained in:
co-authored by
Andrej Ocenas
parent
483c6ac70d
commit
c321afdeb7
@@ -1708,6 +1708,14 @@ var (
|
||||
FrontendOnly: true,
|
||||
HideFromDocs: true,
|
||||
},
|
||||
{
|
||||
Name: "useScopesNavigationEndpoint",
|
||||
Description: "Use the scopes navigation endpoint instead of the dashboardbindings endpoint",
|
||||
Stage: FeatureStageExperimental,
|
||||
Owner: grafanaFrontendPlatformSquad,
|
||||
FrontendOnly: true,
|
||||
HideFromDocs: true,
|
||||
},
|
||||
{
|
||||
Name: "alertingRuleVersionHistoryRestore",
|
||||
Description: "Enables the alert rule version history restore feature",
|
||||
|
||||
@@ -226,6 +226,7 @@ newLogsPanel,experimental,@grafana/observability-logs,false,false,true
|
||||
grafanaconThemes,experimental,@grafana/grafana-frontend-platform,false,true,false
|
||||
pluginsCDNSyncLoader,experimental,@grafana/plugins-platform-backend,false,false,false
|
||||
alertingJiraIntegration,experimental,@grafana/alerting-squad,false,false,true
|
||||
useScopesNavigationEndpoint,experimental,@grafana/grafana-frontend-platform,false,false,true
|
||||
alertingRuleVersionHistoryRestore,GA,@grafana/alerting-squad,false,false,true
|
||||
newShareReportDrawer,experimental,@grafana/sharing-squad,false,false,false
|
||||
rendererDisableAppPluginsPreload,experimental,@grafana/sharing-squad,false,false,true
|
||||
|
||||
|
@@ -915,6 +915,10 @@ const (
|
||||
// Enables the new Jira integration for contact points in cloud alert managers.
|
||||
FlagAlertingJiraIntegration = "alertingJiraIntegration"
|
||||
|
||||
// FlagUseScopesNavigationEndpoint
|
||||
// Use the scopes navigation endpoint instead of the dashboardbindings endpoint
|
||||
FlagUseScopesNavigationEndpoint = "useScopesNavigationEndpoint"
|
||||
|
||||
// FlagAlertingRuleVersionHistoryRestore
|
||||
// Enables the alert rule version history restore feature
|
||||
FlagAlertingRuleVersionHistoryRestore = "alertingRuleVersionHistoryRestore"
|
||||
|
||||
@@ -4390,6 +4390,20 @@
|
||||
"hideFromDocs": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "useScopesNavigationEndpoint",
|
||||
"resourceVersion": "1743087365203",
|
||||
"creationTimestamp": "2025-03-27T14:56:05Z"
|
||||
},
|
||||
"spec": {
|
||||
"description": "Use the scopes navigation endpoint instead of the dashboardbindings endpoint",
|
||||
"stage": "experimental",
|
||||
"codeowner": "@grafana/grafana-frontend-platform",
|
||||
"frontend": true,
|
||||
"hideFromDocs": true
|
||||
}
|
||||
},
|
||||
{
|
||||
"metadata": {
|
||||
"name": "useSeessionStorageForRedirection",
|
||||
|
||||
Reference in New Issue
Block a user