Global Navigation Bar: Support optional right-aligned icons
@mbeard can you explain what is needed better?
Is the image showing what currently exists? Or what should be?
This image is showing what needs to exist.
As a bit of "context", some apps in Marketing Cloud have additional app-level navigation beyond just menus (Social Studio + Advertising Studio are two such examples). In order to facilitate a deeper integration, we need to support additional functionality in context bar so they can abandon their 3rd-level of navigation.
So we need to allow optional icons to be rendered in the context bar for a specific app context. When these icons are selected, they would render a corresponding menu item (similar to how actions behave in the header).
Also note the "Northern Trail Outfitters" element to the right of the app name (Social Studio), but before the app-menu items. This is an optional "workspace" switcher for Social Studio / Advertising Studio that is needed.
Should be at least partially fixed by #397 and #400. @chriscorwin can you please look into this and verify what is needed and whether it will work?
I'm still confused about this @mbeard and @tweettypography
In what way is the icon to the left of NTO "right-aligned" ?
What needs to be changed to support... whatever it is that isn't supported right now.
Am I just totally thick? It seems to me that the I could have made a GNB that looks like the above one two weeks ago, with no changes to the React component.
As a bit of "context",
LOL, I see what you did there @mbeard
@chriscorwin for the right aligned icons, I'm talking about the notifications (bell) and hamburger icon to the right. do we have a way to right-align those children?
@mbeard yes -- the "tertiary" region of the GNB is for this kind of stuff.
It get's the class name . slds-col--bump-left which (perhaps counter-intuitively) makes that entire column "right aligned" (it's "bumped" from the left).
Sounds like this is done