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

Check Run Annotations #1864

Merged
merged 234 commits into from
Nov 27, 2018
Merged

Check Run Annotations #1864

merged 234 commits into from
Nov 27, 2018

Conversation

StanleyGoldman
Copy link
Contributor

@StanleyGoldman StanleyGoldman commented Aug 16, 2018

This pull request adds functionality to:

  • Show a clickable indicator on pull request checks that have annotations
  • Show a list of annotations on a pull request
  • Show a count of annotation failures, warnings and notices in a pull request file list.

Remaining

  • Design work

Before merging

Images

image

image

@StanleyGoldman
Copy link
Contributor Author

@donokuda... send 💕

@StanleyGoldman StanleyGoldman force-pushed the features/check-suite-annotations branch from c7ba7d6 to 95d0079 Compare August 20, 2018 19:38
…tions

# Conflicts:
#	src/GitHub.App/ViewModels/GitHubPane/PullRequestCheckViewModel.cs
#	src/GitHub.InlineReviews/Services/PullRequestSessionService.cs
@meaghanlewis meaghanlewis added this to the 2.5.6 milestone Aug 21, 2018
@StanleyGoldman StanleyGoldman changed the title [WIP] Check Suite Annotations [WIP] Check Run Annotations Aug 22, 2018
@StanleyGoldman StanleyGoldman changed the base branch from features/check-suites to master August 22, 2018 15:59
Copy link
Contributor

@grokys grokys left a comment

Choose a reason for hiding this comment

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

test

@@ -21,7 +28,14 @@ public class CheckRunModel
/// </summary>
public DateTimeOffset? CompletedAt { get; set; }

/// <summary>The name of the check for this check run.</summary>
/// <summary>
Copy link
Contributor

Choose a reason for hiding this comment

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

test

@grokys
Copy link
Contributor

grokys commented Nov 26, 2018

Couple of things I've noticed with the commenting behavior after this PR:

image

  • Is it intended that both comments and annotations now get a grey diamond icon in the margin? I'd have expected the icon to distinguish between comments and annotations
  • There's now a vertical scrollbar in the comment box that scrolls one pixel

StanleyGoldman and others added 4 commits November 26, 2018 13:47
This might help with visually grouping comment threads in the future
@donokuda
Copy link
Contributor

Is it intended that both comments and annotations now get a grey diamond icon in the margin? I'd have expected the icon to distinguish between comments and annotations

This was intended. I was exploring different ways of indicating if a line had an annotation, a comment, both, and what kind of annotation. Here's a crop of a work-in-progress mockup:

image

The challenge I ran into was how to represent more than one annotation marker in the margin and decided on one to show to simplify things. However, I'll work on iterating in @StanleyGoldman's pull request for using different markers.

@donokuda
Copy link
Contributor

Heads up, I pushed a change that removed some border lines between comments. My (future) intent is to group comment threads together and removing borders will make this easier visibly.

image

@grokys grokys merged commit 9124705 into master Nov 27, 2018
@grokys
Copy link
Contributor

grokys commented Nov 27, 2018

Ok, thanks for the details @donokuda - I've merged this, lets iterate on it in separate PRs. Those mockups look great!

@StanleyGoldman StanleyGoldman deleted the features/check-suite-annotations branch November 27, 2018 12:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants