Skip to content

Comments API: resolved/unresolved comments #127473

Closed
@laurentlb

Description

@laurentlb

The comments API doesn't have the concept of resolved/unresolved threads, although most code review tools distinguish them. The current API allows us to surface this to the users, see #122243

However, this seems pretty limited. I find it difficult to identify all my unresolved comments. It's very easy to miss some of them. If the API had a boolean for unresolved comments, we could surface them in multiple ways:

  • In the Comments panel, surface the number of unresolved comments, similar to what is done with Problems: comments number
  • In the Comments panel, highlight the unresolved comments (or put them in bold), so that it's obvious to the user what comments they still have to go through.
  • In the Comments panel, have a way to hide/filter the resolved comments.
  • In the Editor, consider consider using a different background color for unresolved comments. I currently use a different label for unresolved comments, but this is very subtle.
  • In the gutter, use a different symbol for unresolved comments (e.g. or a diamond of another color).
  • In the Editor, provide a way to go to the next unresolved comment (an alternative to Go to Next Comment Thread).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions