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

Marked as resolved marking has poor visibility with high contrast color themes #149464

Closed
vahvero opened this issue May 13, 2022 · 18 comments · Fixed by #154921
Closed

Marked as resolved marking has poor visibility with high contrast color themes #149464

vahvero opened this issue May 13, 2022 · 18 comments · Fixed by #154921
Assignees
Labels
comments Comments Provider/Widget/Panel issues feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders on-testplan
Milestone

Comments

@vahvero
Copy link

vahvero commented May 13, 2022

Problem statement:

Currently, differences between resolved and unresolved icons is relatively poor with high contrast color themes.

Screenshot from 2022-05-13 15-56-27

compared to default theme

Screenshot from 2022-05-13 15-57-17

It is difficult to tell conversations apart in high contrast color themes.

Suggestion:

Change the icon of marked as resolved to an unique icon to differentiate the two conversation states.

@alexr00 alexr00 transferred this issue from microsoft/vscode-pull-request-github May 13, 2022
@alexr00 alexr00 self-assigned this May 13, 2022
@alexr00 alexr00 added feature-request Request for new features or functionality comments Comments Provider/Widget/Panel issues labels May 13, 2022
@alexr00 alexr00 added this to the June 2022 milestone May 13, 2022
@alexr00
Copy link
Member

alexr00 commented Jun 24, 2022

@daviddossett do you have any ideas for which icon I could use for resolved comments? I tried the "check" but it doesn't seem quite right.

image

@alexr00 alexr00 modified the milestones: June 2022, July 2022 Jun 24, 2022
@hermannloose
Copy link
Contributor

@alexr00 the original mocks from our side in #142081 used the report codicon for unresolved comments and comment for resolved comments, maybe that's an option? Not ideal long-term, if the report icon or comment icon are changed in isolation at some point by someone not aware of their use in the comments panel, but then the only really robust option would be specific icons for resolved and unresolved icons in codicons (or I guess SVGs?).

@daviddossett
Copy link
Contributor

What about something like this? Not yet in codicons but we could add it.

CleanShot 2022-06-24 at 15 03 38@2x

cc @misolori when he's back from vacation.

@alexr00
Copy link
Member

alexr00 commented Jun 27, 2022

@daviddossett it looks like it will fit nicely in with both the comment and discussion icons. Can we add it to codicons?

@hermannloose
Copy link
Contributor

@daviddossett While the icon in isolation looks perfectly fine, I wanted to point out that resolved comments are generally the ones less relevant to the user at a given time, and for workspaces with many resolved discussions, their icon is going to occur more frequently than the one for unresolved comments, so I am a bit worried that the proposed icon for these would be more visually busy than the icon for unresolved comments, which is what the user should focus on?

@daviddossett
Copy link
Contributor

That framing makes sense to me. How about introducing an icon-with-dot pattern as we use that for a "this needs attention" pattern in multiple areas. Resolved comments could default to the regular comment icon.

CleanShot 2022-06-27 at 11 37 02@2x

@alexr00
Copy link
Member

alexr00 commented Jun 28, 2022

I'm happy with that too.

@daviddossett
Copy link
Contributor

Opened a PR to add the icons in the codicons repo. Miguel is on vacation so it may take a bit to land.

@daviddossett
Copy link
Contributor

Ok, added comment-unresolved to codicons 👍

@alexr00
Copy link
Member

alexr00 commented Jul 12, 2022

Thanks for the new icon! Adopted:

image

@albertelo
Copy link

Would it make sense to add the dot treatment to the comment thread icon for unresolved comments in a thread? @daviddossett

@vscodenpa vscodenpa added the unreleased Patch has not yet been released in VS Code Insiders label Jul 12, 2022
@daviddossett
Copy link
Contributor

@albertelo I think that makes sense. I can add the icon if others are also in agreement.

@vscodenpa vscodenpa added insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Jul 13, 2022
@alexr00
Copy link
Member

alexr00 commented Jul 13, 2022

So long as the icon doesn't look too crowded then it sounds good.

@daviddossett
Copy link
Contributor

Tried this and I don't think it will work quite as well with the current comment-discussion icon. @albertelo do you have any ideas for indicating that a thread has unresolved comments in it?

CleanShot 2022-07-14 at 11 11 33@2x

I wonder if we could instead could consider unread dots that are separated from the icon instead of built-in. Just a thought.

@albertelo
Copy link

An idea that comes to mind is changing the position of the message icons:
comment

This way placing the circle is less disruptive:
comment

@hermannloose
Copy link
Contributor

Can we reevaluate whether we actually need two separate icons for singleton comments and comment threads with replies?

The current UI already prominently indicates when a thread has more than one message, with the "[indent] n comments, Last reply from someUser" treatment (which I understand the two icons might slightly predate):

Screen Shot 2022-07-15 at 18 15 50

In our experience, most if not all threads will have 2+ replies after the first review round (initial reviewer comments + author reply), meaning we have the busier icon of the two used for most entries in the panel.

I believe it would be completely fine to just use comment and comment-unresolved throughout, what do you think?

@daviddossett
Copy link
Contributor

I was actually thinking about that myself when I saw this and had to think for a second to realize what was going on.

CleanShot 2022-07-15 at 10 00 02@2x

comment-discussion is a fairly busy icon already so I'd be open to such a change.

@alexr00
Copy link
Member

alexr00 commented Jul 18, 2022

👍I'll remove the uses of comment-discussion.

@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
comments Comments Provider/Widget/Panel issues feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders on-testplan
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants