You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I think it would be useful to know which navItem you're on, especially on the guide pages. I'm no designer, but something like this could be useful..
How it is now
What I propose
It's much easier to identify what your current position is.
Changes required:
<i class="glyphicon glyphicon-arrow-right"></i> the navItem repeat in indexPage.template.html
The addition of current: this.currentPage.path === navItem.href in the navClass function in docs.js
The addition of .currentdocs.css to .nav-index-group .nav-index-listing which will set the color and display or hide of the icon. The color I'm using is #B52E31 which is equal the dark part of the angular logo, and the arrow has a padding of 8px.
As a side, I noticed that there's an active class in the navClass function that appears to always resolve to true for every nav item leading to that class being added to every nav item... I'm not sure what it's purpose is, but if it's not in use, then we could change the expression and css properties to match what I propose for the current class to accomplish this as well...
I'm happy to submit a PR to do this, but I thought I'd check whether something like this would be acceptable first.