Link issue and pull requests status change in UI notifications directly to their event in the timelined view. (#22627)

Adding the related comment to the issue and pull request status change
in the UI notifications allows to navigate directly to the specific
event in its dedicated view, easing the reading of last comments and to
the editor for additional comments if desired.
This commit is contained in:
Felipe Leopoldo Sologuren Gutiérrez 2023-01-28 08:16:46 -03:00 committed by GitHub
parent 48f5d51908
commit e9cd18b557
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,6 +97,7 @@ func (ns *notificationService) NotifyIssueChangeStatus(ctx context.Context, doer
_ = ns.issueQueue.Push(issueNotificationOpts{
IssueID: issue.ID,
NotificationAuthorID: doer.ID,
CommentID: actionComment.ID,
})
}