Hi everyone. I missed some responses during the Fall.
Re: Placement of the icon in the Menu
@kimhuang, thanks for jumping in and helping. Did you change the code to make n = icon? Not sure if others would immediately pick that up.
I played with this and found 2 flavors of solutions for folks to chose from. Note that some institutions will have a different count of Global Navigation icons based on their services/integrations/LTIs etc.
1) using @kimhuangs example, this will place the icon after a specific list item, where the value in Parens() is the existing item you want the new icon added after. This will be placed after the Users Profile/Avatar
$("#menu li:eq(0)").after(icon);
2) A solution that may more directly drop the icon above the Help menu without counting, or dealing with future additions to the help menu.
$('#menu').find('> li:nth-last-child(1)').before(icon);
These pertain to editing the source line on
https://github.com/robert-carroll/ccsd-canvas/blob/main/global-nav-custom-links/global-nav-custom-li...
It's possible in a future edit to make it so individual icons can be placed specifically in the menu.