mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Navigation: Move asserts app to root, add asserts icon (#81362)
* move asserts app to root, add asserts icon * remove width/height/fill from asserts icon
This commit is contained in:
@@ -33,6 +33,7 @@ export const availableIconsIndex = {
|
|||||||
'arrow-up': true,
|
'arrow-up': true,
|
||||||
'arrows-h': true,
|
'arrows-h': true,
|
||||||
'arrows-v': true,
|
'arrows-v': true,
|
||||||
|
asserts: true,
|
||||||
'expand-arrows': true,
|
'expand-arrows': true,
|
||||||
at: true,
|
at: true,
|
||||||
ai: true,
|
ai: true,
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ const (
|
|||||||
WeightInfrastructure
|
WeightInfrastructure
|
||||||
WeightApplication
|
WeightApplication
|
||||||
WeightFrontend
|
WeightFrontend
|
||||||
|
WeightAsserts
|
||||||
WeightDataConnections
|
WeightDataConnections
|
||||||
WeightApps
|
WeightApps
|
||||||
WeightPlugin
|
WeightPlugin
|
||||||
|
|||||||
@@ -333,6 +333,7 @@ func (s *ServiceImpl) readNavigationSettings() {
|
|||||||
"grafana-logvolumeexplorer-app": {SectionID: navtree.NavIDCfg, Text: "Log Volume Explorer"},
|
"grafana-logvolumeexplorer-app": {SectionID: navtree.NavIDCfg, Text: "Log Volume Explorer"},
|
||||||
"grafana-easystart-app": {SectionID: navtree.NavIDRoot, SortWeight: navtree.WeightApps + 1, Text: "Connections", Icon: "adjust-circle"},
|
"grafana-easystart-app": {SectionID: navtree.NavIDRoot, SortWeight: navtree.WeightApps + 1, Text: "Connections", Icon: "adjust-circle"},
|
||||||
"k6-app": k6Cfg,
|
"k6-app": k6Cfg,
|
||||||
|
"grafana-asserts-app": {SectionID: navtree.NavIDRoot, SortWeight: navtree.WeightAsserts, Icon: "asserts"},
|
||||||
}
|
}
|
||||||
|
|
||||||
s.navigationAppPathConfig = map[string]NavigationAppConfig{
|
s.navigationAppPathConfig = map[string]NavigationAppConfig{
|
||||||
|
|||||||
5
public/img/icons/unicons/asserts.svg
Normal file
5
public/img/icons/unicons/asserts.svg
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
<svg viewBox="0 0 12 12" xmlns="http://www.w3.org/2000/svg">
|
||||||
|
<path d="M9.69232 7.38464C10.7969 7.38464 11.6923 6.48921 11.6923 5.38465C11.6923 4.28008 10.7969 3.38464 9.69232 3.38464C8.58777 3.38464 7.69232 4.28008 7.69232 5.38465C7.69232 6.48921 8.58777 7.38464 9.69232 7.38464Z" fill="currentColor" />
|
||||||
|
<path d="M4.76858 6.76787C5.53292 6.76787 6.15252 6.14827 6.15252 5.38393C6.15252 4.61961 5.53292 4 4.76858 4C4.00424 4 3.38464 4.61961 3.38464 5.38393C3.38464 6.14827 4.00424 6.76787 4.76858 6.76787Z" fill="currentColor" />
|
||||||
|
<path d="M1.23074 6.15387C1.57061 6.15387 1.84613 5.87836 1.84613 5.53846C1.84613 5.19861 1.57061 4.9231 1.23074 4.9231C0.890872 4.9231 0.615356 5.19861 0.615356 5.53846C0.615356 5.87836 0.890872 6.15387 1.23074 6.15387Z" fill="currentColor" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 787 B |
Reference in New Issue
Block a user