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

Commit a489cbe

Browse files
Fxing how the model is populated
1 parent cefc43a commit a489cbe

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/GitHub.App/ViewModels/GitHubPane/PullRequestCheckViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ public static IEnumerable<IPullRequestCheckViewModel> Build(IViewViewModelFactor
112112
pullRequestCheckViewModel.DurationStatus = $"{checkStatus} - {timeSpanString}";
113113
}
114114

115-
pullRequestCheckViewModel.Description = arg.checkRun.Summary;
115+
pullRequestCheckViewModel.Description = arg.checkRun.Title;
116116
pullRequestCheckViewModel.Status = checkStatus;
117117
pullRequestCheckViewModel.DetailsUrl = new Uri(arg.checkRun.DetailsUrl);
118118
return pullRequestCheckViewModel;

src/GitHub.Exports/Models/CheckRunModel.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ public class CheckRunModel
4848
/// </summary>
4949
public string DetailsUrl { get; set; }
5050

51+
/// <summary>
52+
/// The title of a Check Run.
53+
/// </summary>
54+
public string Title { get; set; }
55+
5156
/// <summary>
5257
/// The summary of a Check Run.
5358
/// </summary>

src/GitHub.InlineReviews/Services/PullRequestSessionService.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -796,6 +796,8 @@ async Task<LastCommitAdapter> GetPullRequestLastCommitAdapter(HostAddress addres
796796
Conclusion = run.Conclusion.FromGraphQl(),
797797
Status = run.Status.FromGraphQl(),
798798
Name = run.Name,
799+
Title = run.Title,
800+
Summary = run.Summary,
799801
DetailsUrl = run.Permalink,
800802
StartedAt = run.StartedAt,
801803
CompletedAt = run.CompletedAt,

0 commit comments

Comments
 (0)