Vscode: SCM: Explore master-detail view

Created on 29 Aug 2017  路  5Comments  路  Source: microsoft/vscode

From @sqs

Would you be interested in a PR that implemented a UI like this? I just hacked this together tonight.

The Open Repositories section works like the Open Editors section; it grows (to a point) based on the number of open repositories. Selecting a repository shows that repository's (and only that repository's) SourceControlView in the rest of the viewlet. Focus is in the Open Repositories list initially.

It would be fairly easy to make it possible to show multiple repositories' SourceControlViews if you multi-selected them. That would of course be duplicating some functionality of a viewlet's subviews (e.g., you could make it so right-clicking on the Source Control header would let you check/uncheck each repo, as in the extensions viewlet), but it seems quite convenient to make this always visible.

image

feature-request on-testplan scm ux

Most helpful comment

We actually had this design under consideration but did not pursue it any further because we did not easily want to add a new concept to the UI (master-detail view).

I personally always preferred a solution where I can pick the repository to the top and see changes below. I also think the master view should show the incoming/outgoing changes on each repository and maybe offer an action to synchronize.

/cc @stevencl @chrisdias

All 5 comments

Instead of multi select, we could use checkboxes for making them visible.

We actually had this design under consideration but did not pursue it any further because we did not easily want to add a new concept to the UI (master-detail view).

I personally always preferred a solution where I can pick the repository to the top and see changes below. I also think the master view should show the incoming/outgoing changes on each repository and maybe offer an action to synchronize.

/cc @stevencl @chrisdias

Yes, we had considered something similar to this early on (see the video here: https://www.youtube.com/watch?v=48Y6tB3DN1g&t=488s). One of the participants in this video makes the suggestion that we should show the list of repos, rather than the list of folders which is shown in the video which we agreed with.

I am not sure about the label 'Open repositories'. With the term 'open' being so prominent, it suggests that the user needs to manage (open and close) the repositories. Could it work if we just showed all the repos in the workspace as suggested in the video?

@stevencl Currently you can have even more repositories. For example, you can open a file outside any workspace, which lives in a git repo. We will show it.

Maybe we could use the term Active Repositories?

A first version of this was just pushed to master:

image

It basically works as a master-detail view, except it supports multi-select. If you only have a single repository, it should appear just as before, no section whatsoever.

Feedback welcome!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

curtw picture curtw  路  3Comments

chrisdias picture chrisdias  路  3Comments

mrkiley picture mrkiley  路  3Comments

sijad picture sijad  路  3Comments

DovydasNavickas picture DovydasNavickas  路  3Comments