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

Bug 408734

Summary: [sidebar] Changing the sidebar nav context should update the URL
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: gabriel.luong, simon_kaegi
Version: 2.0   
Target Milestone: 3.0 RC1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-05-22 14:43:47 EDT
1. Open a file in the editor page
2. Use the breadcrumb to change the root of the sidebar nav.
   This adds a ',navigate=' parameter to your URL.
3. Click on a folder in the sidebar nav, to drill in.

Notice how step #2 updates the 'navigate' param, but step 3 does not. It's confusing that these get out of sync.

If the 'navigate' param is present in the URL, then re-rooting the sidebar nav should update it.
Comment 1 Mark Macdonald CLA 2013-05-29 23:13:16 EDT
Since this really seems to be confusing people, I will try changing the behavior of the hash param updates, to make them even more eager than proposed in Comment 0.

Basically any action that re-roots the sidebar nav will update your URL bar by changing or setting the "navigate=" hash param.

This includes:
 -Drill into a folder by clicking it (in other words, the folders will just be real hyperlinks) 
 -Click the Go Up button on the sidebar nav toolbar
 -Click a breadcrumb segment

I hope this will make the behavior more predictable. It will also let you use the browser's Back/Forward buttons to traverse changes to your nav context -- the same as you currently can in the standalone Orion Navigator page.
Comment 3 Mark Macdonald CLA 2013-05-30 17:32:26 EDT
But wait, there's more