Skip to content

Do not display minimized comments#2859

Merged
samcoe merged 1 commit intotrunkfrom
hidden-comments
Jan 27, 2021
Merged

Do not display minimized comments#2859
samcoe merged 1 commit intotrunkfrom
hidden-comments

Conversation

@samcoe
Copy link
Contributor

@samcoe samcoe commented Jan 27, 2021

This PR changes pr view and issue view to no longer display minimized comments, instead they now show small headers indicating why a comment has been minimized.

Screen Shot 2021-01-27 at 8 10 27 AM

After chatting with @ampinsk we decided that the minimized headers should be white, not gray, as the original design proposed.

closes #2847

@samcoe samcoe self-assigned this Jan 27, 2021
Copy link
Contributor

@mislav mislav left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! 🌟

}

if opts.Comments {
fmt.Fprint(opts.IO.Out, shared.RawCommentList(pr.Comments, pr.Reviews))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch 👍

@samcoe samcoe merged commit 11d3972 into trunk Jan 27, 2021
@samcoe samcoe deleted the hidden-comments branch January 27, 2021 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hidden comments on conversation timelines are still shown

3 participants