Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Resolve comments in Visual Studio #2101

Open
meaghanlewis opened this issue Dec 4, 2018 · 1 comment
Open

Resolve comments in Visual Studio #2101

meaghanlewis opened this issue Dec 4, 2018 · 1 comment
Labels

Comments

@meaghanlewis
Copy link
Contributor

meaghanlewis commented Dec 4, 2018

Background

On github.com, there is an option to "Resolve conversation" for all comments.

resolve conversation diff view
This option exists both when viewing a comment in the conversation view and diff view.

Once comments are resolved, they are displayed differently.

In the conversation view:

  • the comments are no longer visible by default and must be expanded to see.
    resolved conversations diff view
  • expanding the comments shows the option to Unresolve conversation and who marked the comment as resolved
    unresolve from conversation view

In the diff view:

  • the comment is not visible by default and just shows who marked the comment as resolved
    resolved conversation diff view hidden
  • expanding the comment will also show the option to Unresolve conversation
    resolved conversation diff view

Once comments are unresolved, they go back to there original state and default display.

Problem

While this functionality exists on github.com, it does not in GitHub for Visual Studio. There can be discrepancies between conversations that have been resolved on github.com and it can also cause confusion to someone reviewing pull requests with conversations that are no longer relevant.

Solution

Add same option in Visual Studio to Resolve and Unresolve conversations from both the diff view and conversation view (once it is implemented).

@donokuda
Copy link
Contributor

donokuda commented Feb 8, 2019

I went ahead and created a few prototypes to get a feel of resolving conversations in Visual Studio. I followed the patterns that are established on dotcom and tweaked them so they look and feel at home in Visual Studio.

Resolving in conversation view (Figma Prototype):
resolved-conversation

Resolving in inline view (Figma Prototype)
resolved-inline

Resolving in inline view with multiple conversations (Figma Prototype)

I had to tweak how conversations are visually grouped so that they are easier to parse:

resolved-threads

I originally had a less boxy version, but it was confusing which conversation the "resolved banner" was referring to. By boxing them more, I'm hoping this would reduce some initial confusion. This is also closer to how dotcom treats conversations.

If we feel like this is a reasonable direction to go, we'll have to do a few visual tweaks to the CommentView.xaml file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants