Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 427826

Summary: Nav Menu active category should be generic
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 5.0   
Target Milestone: 5.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2014-02-10 12:27:18 EST
It should be possible for a 3rd party plugin to contribute a related link to one of the icons on the Navigation Menu such that the icon is highlighted as "active" when you browse to that page.

For example if you define a related link in the "git" category, and browse to the link, the Nav Menu should highlight the git category while you're on the page. Currently this highlighting only works for Orion's built-in Git pages.
Comment 1 Mark Macdonald CLA 2014-02-10 12:34:21 EST
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=655a02b

- SideMenu: refactor active category computation to use link's uriTemplate
- Fix: globalCommands didn't provide relatedLink info to SideMenu when relatedLink refs a nav command
- Handle relatedLink "exclusions" at render time in SideMenu, not construction time in globalCommands