Is that possible add a common top nav for every app?


(whoami) #1

Hi experts:

AFAIK, Like menu 'new', 'share', 'Open' is a top_nav element, is that possible I can add a my_top_nav on top of top_nav element? I try to modify the chrome.jade as bellow. but failed, could you give some help?


  body(kbn-chrome, id='#{appName}-body')
    <my_top_nav here>
    kbn-initial-state(data=JSON.stringify(kibanaPayload))
    block content


(Spencer Alger) #2

Checkout this post about creating NavbarExtensions in Kibana: Dev on Kibana plugin: navbar icon disappear when switching tabs


(whoami) #3

Hi spalger:

I am not mean NavbarExtensions plugin, I wanna create another element, and which position is above the `NavbarExtensions'


(Spencer Alger) #4

Ah, maybe you're looking for https://github.com/elastic/kibana/blob/5.4/src/ui/public/chrome/directives/kbn_chrome.html


(system) #5

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.