-
Notifications
You must be signed in to change notification settings - Fork 29.5k
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
Comments
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 |
Thanks for the link!
I tried |
@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 ) |
@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). |
Unfortunately, no. |
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 ? |
@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 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. |
@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. |
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. |
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. |
Merging with #102118 |
I feel that the single-view "Source Control" has some edge(?) cases where the visual separation between repos is missing. See this example:
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:
Now cds even appears like one of the changes of cia.
The text was updated successfully, but these errors were encountered: