Navigation: Rearrange IA based on tree test (#78804)

* rearrange IA

* add landing page routes and subtitles

* Translate menu items

* add frontend-observability icon

* proper frontend-observability icon

---------

Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
This commit is contained in:
Ashley Harrison
2023-11-30 15:18:05 +00:00
committed by GitHub
co-authored by eledobleefe
parent 7ccdea6f67
commit 329d0e79ec
14 changed files with 135 additions and 10 deletions
+6 -2
View File
@@ -13,17 +13,18 @@ const (
WeightHome = (iota - 20) * 100
WeightSavedItems
WeightCreate
WeightDashboard
WeightExplore
WeightAlerting
WeightAlertsAndIncidents
WeightMonitoring
WeightInfrastructure
WeightApplication
WeightFrontend
WeightDataConnections
WeightApps
WeightPlugin
WeightConfig
WeightAdmin
WeightProfile
WeightHelp
)
@@ -31,11 +32,14 @@ const (
const (
NavIDRoot = "root"
NavIDDashboards = "dashboards/browse"
NavIDExplore = "explore"
NavIDCfg = "cfg" // NavIDCfg is the id for org configuration navigation node
NavIDAlertsAndIncidents = "alerts-and-incidents"
NavIDAlerting = "alerting"
NavIDAlertingLegacy = "alerting-legacy"
NavIDMonitoring = "monitoring"
NavIDInfrastructure = "infrastructure"
NavIDFrontend = "frontend"
NavIDReporting = "reports"
NavIDApps = "apps"
NavIDCfgGeneral = "cfg/general"