Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misleading indentation, missing visual separation between repos in single-view Source Control #102081

Closed
bersbersbers opened this issue Jul 10, 2020 · 16 comments
Assignees

Comments

@bersbersbers
Copy link

bersbersbers commented Jul 10, 2020

  • VSCode Version: 1.47
  • OS Version: Windows 10

I feel that the single-view "Source Control" has some edge(?) cases where the visual separation between repos is missing. See this example:
image

I don't know about the general impression, but to me, "cds" and "cia" do not appear to on the same level, visually - cds looks more like a child of cia, which it is not.

The same visual impression is even stronger when changes are not collapsed:
image

Now cds even appears like one of the changes of cia.

@gjsjohnmurray
Copy link
Contributor

Related to #101103 where you can see some experiments.

In your case the fact that the cds repo has no changes etc means it lacks a twistie (>)

Maybe try changing the scm.providerCountBadge setting to see if it helps you distinguish repos from files more easily.

@bersbersbers bersbersbers changed the title Misleading indentation, missung visual separation between repos in single-view Source Control Misleading indentation, missing visual separation between repos in single-view Source Control Jul 10, 2020
@bersbersbers
Copy link
Author

Thanks for the link!

Maybe try changing the scm.providerCountBadge setting to see if it helps you distinguish repos from files more easily.

I tried "scm.providerCountBadge": "visible", but since "Changes" has the badge, too, it does not offer any visual clue that cds is not parallel to "Changes" (see my first screenshot).

@joaomoreno
Copy link
Member

@bersbersbers Do you have any suggestions? We don't want to put a horizontal line since that will resemble the split views.

@joaomoreno joaomoreno added under-discussion Issue is under discussion for relevance, priority, approach scm General SCM compound issues labels Jul 12, 2020
@joaomoreno joaomoreno added this to the July 2020 milestone Jul 12, 2020
@Nagarian
Copy link

@bersbersbers Do you have any suggestions? We don't want to put a horizontal line since that will resemble the split views.

As a suggestion you can take the same design as extensions panel (see screenshots in my issue #102285 )
I think that should be more understandable and that's use a concept we already know

@gjsjohnmurray
Copy link
Contributor

@joaomoreno I think the suggestion from @misolori here about retaining the twisties repos with no changes is worth trying. Per his mockup this would be a down-pointing (i.e. expanded) one.

Another idea would be to move the (optional) repo change count badges to the left, between the twistie (if there is one) and the repo label (already bold in an attempt to make it stand out from other rows).

@bersbersbers
Copy link
Author

@bersbersbers Do you have any suggestions?

Unfortunately, no.

@justinian-tomegea
Copy link

justinian-tomegea commented Jul 15, 2020

Is there any reason why the SCM repository names are now hard set to a bold font ? Can we instead have some much deserved and required consistency with the Explorer pane ? Am I missing a configuration option for disabling the BOLD on the font in the SCM ? Can we have one added ?

@gjsjohnmurray
Copy link
Contributor

Is there any reason why the SCM repository names are now hard set to a bold font ?

@justinian-tomegea see #101103 (comment). There was a lot of discussion and experimentation on that thread to achieve some differentiation between repos and their contents.

@Sesna
Copy link

Sesna commented Jul 15, 2020

image
as the image show, I open 10 repository, it is very hard for me to distinguish each one. and which repository now I operating, I think it is better to highlight which repository I operating now, for example, highlight the repository name, and hide the synchronize, commit button, refresh button of those inactive. since I use the new feature, I had commit changes incorrectly 3 times.

@gjsjohnmurray
Copy link
Contributor

highlight which repository I operating now

@Sesna What determines which repository you are operating on? The one for the currently-focused open file?

Maybe my proposal for accordion behaviour would help here.

@astrowonk
Copy link

astrowonk commented Jul 15, 2020

highlight which repository I operating now

@Sesna What determines which repository you are operating on? The one for the currently-focused open file?

Maybe my proposal for accordion behaviour would help here.

Put a list of repos at the top. We click on a repo, the changed files and commit message appear for that repo at the bottom, same as the old UI. I don't think it should have anything to do with the currently-focused file. The commit message and changed files should always be in the same place at the bottom. An accordion system still has the commit message field and the widgets for the change moving around with the list of other repos. Just always keeps that interface/control below the list of repos. The old UI had this right.

@gjsjohnmurray
Copy link
Contributor

Put a list of repos at the top.

@astrowonk All of them? Or a scrollable list showing up to N of them at a time? If your list has a large number of repos and you are actively working on files in the first and the last (perhaps in two editor groups), you want to do the scrolling to switch between the two repos in the SCM view?

@astrowonk
Copy link

astrowonk commented Jul 15, 2020

Put a list of repos at the top.

@astrowonk All of them? Or a scrollable list showing up to N of them at a time? If your list has a large number of repos and you are actively working on files in the first and the last (perhaps in two editor groups), you want to do the scrolling to switch between the two repos in the SCM view?

Given your choices, I'd limit it to N repos, did Source Control Providers have a limit before it scrolled or did it show all of them? Update - it appears to limit at 10

I admit I have never had more than 7 repos open so I've never had to scroll through repos in earlier versions. I imagine that 20+ repos, or whatever it would take to require scrolling ,will be a problem for the current UI as well, as getting to the commit message text entry one wants could require scrolling.

Having multiple commit message text entries floating around each repo is too cluttered, I'd much rather click on a repo to see the changes and then one unambiguous list of changes and one commit message field, as was the case in 1.46. If the trade-off is scrolling, I'll scroll.

Update with image even with the required scrolling in 1.46, I'd take the left view. Much easier to follow, yes it has less on the screen at once, but that's a good thing when making commits.

Screen Shot 2020-07-15 at 1 01 45 PM

@m50
Copy link

m50 commented Jul 15, 2020

This misleading indentation, plus the spacing between everything, with no clear visible separation has made it impossible for me to use the VCS feature in VSCode's latest update. It's an accessibility nightmare for those who have reading disorders, where without proper spacing, letters get jumbled. There doesn't appear (at least that I found) to change the background color or spacing of the titles, so it's completely unusable. The earlier version allowed me to just look at one section at a time, having a separation between the providers and the actual commit section. This was plenty usable, and quite a lot better accessible (at least for reading issues).

I've had to revert my vscode version specifically because of this issue.

@Sesna
Copy link

Sesna commented Jul 17, 2020

highlight which repository I operating now

@Sesna What determines which repository you are operating on? The one for the currently-focused open file?

Maybe my proposal for accordion behaviour would help here.

The Accordion UI is a good idea to fix this problem, maybe we don't need to highlight the current operating repository, but badly need to distinguish each repository clearly. by the way I think the old version is better too.

@joaomoreno
Copy link
Member

Merging with #102118

@joaomoreno joaomoreno removed scm General SCM compound issues under-discussion Issue is under discussion for relevance, priority, approach labels Aug 5, 2020
@joaomoreno joaomoreno removed this from the July 2020 milestone Aug 5, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants