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

Bug 416831

Summary: [UX] Better editor navigation in case of non-project folders
Product: [ECD] Orion Reporter: Maciej Bendkowski <maciej.bendkowski>
Component: ClientAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: gabriel.luong, ken_walker, Silenio_Quarti
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Maciej Bendkowski CLA 2013-09-09 07:20:17 EDT
The current editor navigation in case of non-project folders leads to counter-intuitive results. Most users are familiar with some kind of tree navigator, where whenever clicked, folders either open, or are unfolded. When the README viewer was introduced, this intuitive behavior was changed even for non-project folders. For that reason it gets harder to navigate in some workflows. 

Viewing a README file is an uncommon action, especially when compared to navigating through folders. In my opinion, we should enable the README view for the actual README file (much like the manifest file in OSGI Eclipse), and allow users to switch their viewer on that particular file type (.md) between a raw editor and a markup viewer. Then we could switch back to the default, intuitive navigator click behavior.

If we really want to view the README file on a top-level folder, then, in my opinion, we should at least disable this behavior in sub-folders.
Comment 1 Ken Walker CLA 2013-09-09 07:33:36 EDT
I think the idea was to run with this for a while to see how it behaved.  If you're on the UX call today then please share your experience.
Comment 2 Ken Walker CLA 2013-09-10 08:53:53 EDT
Well, I've used it enough to say I don't like it.  I think clicking on the directory should navigate into that directory as it used to work.  Having to click then use the upside down arrow is just too distracting.

What if selecting the folder would enable the new 'show readme' option.

We need to talk about this at the UX/Project call.  The breadcrumb navigation at the top is also off. It is misleading.  Navigating via the breadcrumb should also change the navigator pane I think.
Comment 3 Gabriel Luong CLA 2013-09-10 10:51:08 EDT
I think clicking on the project should automatically toggle the tree/sub-directory to unfold (ie triggers the down arrow), instead of navigating into the project with a page refresh. This would be align to Sublime's behaviour.
Comment 4 Silenio Quarti CLA 2013-09-27 14:34:47 EDT
I believe this is fixed in latest.  Picking a directory toggles the expanded state now and also shows the folder nav on the right pane. Is there anything left to be done here?
Comment 5 Maciej Bendkowski CLA 2013-09-30 04:03:47 EDT
(In reply to Silenio Quarti from comment #4)
> I believe this is fixed in latest.  Picking a directory toggles the expanded
> state now and also shows the folder nav on the right pane. Is there anything
> left to be done here?

I think there's nothing left to be done here. If anything comes up, I'll open a separate bug. You can close this bug, Silenio.
Comment 6 Silenio Quarti CLA 2013-09-30 10:07:26 EDT
closing