microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.99k stars 29.54k forks source link

Inconsistent weight and use of color in iconography throughout UI #8017

Closed Tyriar closed 5 years ago

Tyriar commented 8 years ago

See images below of the various different icons across the UI at x2 with some comments. This is by no means exhaustive but contains the major icons:

/cc @bpasero

General comments

image

Search

image

image

image

image

image

image

Problems

image

Editor

image

miguelsolorio commented 5 years ago

@eamodio there's no such thing as too much feedback πŸ˜„

eamodio commented 5 years ago

For the refresh icon maybe just increase the brightness slightly to compensate?

dalDevelo commented 5 years ago

@misolori The padlock state is much easier to identify as locked or unlocked now πŸ‘πŸΌ

To follow up on what @eamodio mentioned about the search icon being thinner than the others, I think both the search icon and the explorer icons look thinner than the rest, it's easier to see this when the explorer icon isn't selected.

I saw your reply about being harder to make this thicker without going overboard, but perhaps the source control, debug and extensions icons can be made thinner to balance it all out?

icons

kowalski7cc commented 5 years ago

I feel that making icons thinnker would make them less visible

miguelsolorio commented 5 years ago

Updated Exploration Build

❀️ Thanks to all of the feedback so far, we very much value the time you take to test this, and please keep them coming. I've updated the build with more fixes and we've also been keeping this updated with master so it should contain the latest fixes. Here are the icon fixes:

Note: If you already have the exploration build, it will prompt you to update and you can get the latest through there. Otherwise you can use the download links below:

image
eamodio commented 5 years ago

@misolori Looks awesome!!! :shipit: Really love the fold/unfold chevrons!

My only concern left is the lightbulbs -- and I noticed the blue one today and was even harder to see imo image

eamodio commented 5 years ago

Here are a few other nits :smile:

eamodio commented 5 years ago

Oh and finally the status bar (mainly because of the octicons) doesn't really fit with the outline icons (imo)

miguelsolorio commented 5 years ago

@eamodio πŸ™ thank you as always

dalDevelo commented 5 years ago

Also, in @eamodio's post above, the split pane and trashcan icons don't look correctly aligned (vertically) in the terminal window (3rd image).

miguelsolorio commented 5 years ago

@dalDevelo the split icon is tricky because it needs to be off by 1px to avoid pixelation. I can try to reduce the height of the trash icon so they appear the same (might look a bit weird though).

dalDevelo commented 5 years ago

@misolori maybe bottom aligning them would help?

As I'm typing this, I have insiders terminal open and looking closely, I can also see that those icons appear top aligned in that build, I guess it's just more noticeable in exploration because the lines are thinner.

Was just an observation really, not a big issue, and one that you were already aware of anyway 😊.

smlombardi commented 5 years ago

For the sidebar "search" perhaps consider switching icons, due to the thickness issue. I would think of other metaphors for searching through an entire project (which is what the sidebar icon does), like binoculars or the like. I've had users thinking that the sidebar magnifying glass is "find in page" not even knowing about the other tool for that.

kurtextrem commented 5 years ago

Unrelated to this thread, but is there any other info on the exploration build? From the icon it looks like a canary version. Will there be a continued build after this issue is done?

miguelsolorio commented 5 years ago

@kurtextrem the exploration build is what we use to test things that we don’t want to push to Insiders yet, so it serves as a testing playground. We often will test a new version of electron (or new icons πŸ˜‰), but we’ll always have the exploration build around.

Stanzilla commented 5 years ago

image Cogwheel here also looks pretty fuzzy, in general I feel like the solid ones look way better!

miguelsolorio commented 5 years ago

Icon explorations are now available on Insiders

We've moved our icon explorations to our Insiders build as we're getting a closer to finalizing them. You can enable this via the workbench.iconExploration.enabled setting, which means you can use your own file icons now πŸ˜‰. We still don't have these icons in the status bar but those will be coming soon.

gif

Additionally, given the feedback from here and on our user studies, we've found the outline style to have the most positive impact and will be going in that direction for the style.

Also, we won't be updating the exploration build and will be using Insiders from here on out. Please comment here if you see any issue with this. Thank you everyone for the feedback so far, it really is helpful!

Stanzilla commented 5 years ago

See above, cogwheel still a bit fuzzy, also does that mean code will come only the outline style or will both styles be included?

jtlowe commented 5 years ago

Can the active icon become a little bolder as well? There’s still a lack of contrast that makes it more difficult to differentiate for me.

miguelsolorio commented 5 years ago

@Stanzilla I'll look into the settings/cog pixelation. Given the feedback we've been receiving via GitHub/Twitter/Reddit and from our user studies, the outline style has had the most positive impact and will be going with that style. And given the complexity of introducing two styles with extensions and the icons they provide, it would be a lot of work on extensions to support this. We'd need to have a better icon system in order for that to happen, but one step at a time πŸ˜„

@jtlowe I'll try to improve the contrast of active/inactive activity bar icons.

eamodio commented 5 years ago

Noticed another minor issue -- the outline versions of the info/warning/error icons are hard to see: image

eamodio commented 5 years ago

The debug icons feel too thin to me -- especially restart image

kowalski7cc commented 5 years ago

image I still feel that files is thinner. HiDPI screen 250% 3200 x 1800 13"

Tyriar commented 5 years ago

Zoom level 0 on Windows at 100% scale, the explorer is aligned to the grid but the other straight lines aren't (ext, scm):

image

eamodio commented 5 years ago

@misolori only with the new icons on in the insiders build, I am seeing a new bug -- the twisties are no longer independently clickable which causes issues for items that both have children and an on-click command.

image

miguelsolorio commented 5 years ago

@eamodio can you elaborate? I'm able to click on the twisties and other commands

Edit: Nevermind, I see what you mean with the compare branch. There appears to be some weird bug where changing the background-image on a pseudo element renders it invisible, making it un-clickable. Going to have to investigate this a bit more since this doesn't happen anywhere else. Can you point to where this is on the GitLens repo?

eamodio commented 5 years ago

@misolori Here's the code that creates that item -- basically it is an item that has a TreeItemCollapsibleState of either Collapsed or Expanded as well as a command

https://github.com/eamodio/vscode-gitlens/blob/f827bc660140e5da29ba43ca2d27c9a5d3af883f/src/views/nodes/compareBranchNode.ts#L51-L87

eamodio commented 5 years ago

@misolori Here is the offending code: https://github.com/Microsoft/vscode/blob/555739fa7383ef69a7871c9c835ebffbcce3ef32/src/vs/base/parts/tree/browser/treeDefaults.ts#L227-L230

Its checking for a background image, which no longer exists

eamodio commented 5 years ago

Also for the twisties, rather than switching between 2 images -- it looks cool with a rotation and a transition πŸ˜„

miguelsolorio commented 5 years ago

@eamodio Ok, I think I fixed the issue now (this is only an issue on the icon exploration as I'm using css to override the icons, shouldn't happen in stable):

gif

miguelsolorio commented 5 years ago

Here's a summary of all of the updates coming in the next insiders:

JMS55 commented 5 years ago
miguelsolorio commented 5 years ago

@JMS55 I'll try and tweak the open changes, this one is going to be fuzzy because of the circle angles as those always sit off the pixel grid. The checkmark was previously too small so we bumped it up a size. You seem to have a missing icon in the Git action up top (gray square), are you using a GIt extension?

JMS55 commented 5 years ago

@misolori yes, git-graph's icon is broken, I assume I'll just file an issue there once 1.36 releases. It's not about the checkmark being too small or thin, can you decrease the angle of the check? More like the current (stable) icon

miguelsolorio commented 5 years ago

@JMS55 I increased the compare changes icon and also fixed the missing icon for git graph (was a bug on my end). Thanks for the feedback!

HazemAM commented 5 years ago

Just noticed that the conditional References view has a very small icon compared to other views (not updated yet?):

References view

eamodio commented 5 years ago

The arrow for the next change in the diff view seems broken image

The resume button when debugging is broken too image

miguelsolorio commented 5 years ago

@HazemAM thanks, will fix that one.

@eamodio yea those two have been fixed (we haven't released a new Insiders yet since Thursday)

glen-84 commented 5 years ago
  1. Will the collapse/expand icons be open or filled? (in your most recent screenshot of the explorer, they are filled, which I think I prefer)
  2. I agree with @kowalski7cc WRT the explorer icon in the activity bar (the stroke size doesn't match the other icons).
  3. There is a black line on top of the collapse/expand icons (maybe you're already aware of this)
    • It's coming from this selector: .monaco-editor.hc-black .margin-view-overlays .folding.collapsed, .monaco-editor.vs-dark .margin-view-overlays .folding.collapsed

image

miguelsolorio commented 5 years ago

@glen-84

  1. I didn't realize the old twisties/chevrons were showing (can't seem to repro), but the tree expand/collapse icons will be the > chevrons you've seen around
  2. We're still looking into how to make all of our icons the same stroke width while still being readable
  3. Good catch, will fix this. Thanks.
mtxr commented 5 years ago

where can I download this version to test? I'm using fedora. I saw url only for debian based distros

miguelsolorio commented 5 years ago

@mtxr see here, you can download Insiders and enable via the workbench.iconExploration.enabled setting.

JMS55 commented 5 years ago

Error icons are hard to read compared to stable. Additionally lots of colors throughout the app seem off. image image image image

SupinePandora43 commented 5 years ago

what's about material design?!

Stanzilla commented 5 years ago

@SupinePandora43 you mean Fluent Design? This is Microsoft not Google :D

SupinePandora43 commented 5 years ago

@Stanzilla , yes... but does vscode supports custom UI icons (not file/folder icons)

MatiasOlivera commented 5 years ago
  1. The explorer icon is thinner sidebar

  2. The Replace All button is a little complex search

  3. The checkboxes are outdated checkbox-settings

  4. The angle bracket should be updated? (>) debug-console

  5. The keyboard shortcut icons are outdated shortcut-add shortcut-edit

miguelsolorio commented 5 years ago

I've updated the activity bar icons so they are all uniform and match the thickness of the other icons:

A little bit of details: these icons were designed at the original 16x16 and then scaled up so the strokes are the same, which means that they will be off-grid. We did try these to be on-grid at 1px but they ended up looking too thin/small (see below). We also added bevel corners help make the angles more consistent and aligns with the the new Microsoft Design Language (Fluent) icons which Visual Studio will also adopt.

eamodio commented 5 years ago

TBH, I prefer the ones on the left (thin), but I don't feel strongly about it πŸ˜„

miguelsolorio commented 5 years ago

@eamodio I was originally leaning towards the thinner ones but after seeing them on higher dpi screens the icons became harder to see and harder to tell which one was active.