TopNav: A possible approach having a TopNav that lives outside route (#51301)

* Add topnav in Route

* TopBar: Good progress on a approach that looks promising

* Added some elements to top level

* Get page nav from route

* Progress

* Making breadcrumbs slightly more real

* Updates

* Memoize selector

* Removed some console.log

* correctly type iconName

* betterer updates

* Change setting to hideNav

* Rename again

Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
Torkel Ödegaard
2022-06-28 09:47:12 -04:00
committed by GitHub
co-authored by Ashley Harrison
parent 6c43eb0b4d
commit f047f7dcf6
12 changed files with 383 additions and 14 deletions
+2
View File
@@ -106,6 +106,7 @@ export const getAvailableIcons = () =>
'heart',
'heart-break',
'history',
'home',
'home-alt',
'horizontal-align-center',
'horizontal-align-left',
@@ -179,6 +180,7 @@ export const getAvailableIcons = () =>
'vertical-align-center',
'vertical-align-top',
'wrap-text',
'rss',
'x',
] as const;