// These weights may be used by an extension to reliably place
// itself in relation to a particular item in the menu. The weights
// are negative to ensure that the default items are placed above
// any items with default weight.
WeightSavedItems=(iota-20)*100
WeightCreate
WeightDashboard
WeightExplore
WeightAlerting
WeightDataConnections
WeightPlugin
WeightConfig
WeightAdmin
WeightProfile
WeightHelp
)
const(
NavSectionCorestring="core"
NavSectionPluginstring="plugin"
NavSectionConfigstring="config"
)
typeNavLinkstruct{
Idstring`json:"id,omitempty"`
Textstring`json:"text"`
Descriptionstring`json:"description,omitempty"`
Sectionstring`json:"section,omitempty"`
SubTitlestring`json:"subTitle,omitempty"`
Iconstring`json:"icon,omitempty"`// Available icons can be browsed in Storybook: https://developers.grafana.com/ui/latest/index.html?path=/story/docs-overview-icon--icons-overview