diff options
author | Felipe Leopoldo Sologuren GutiƩrrez <fsologureng@users.noreply.github.com> | 2023-01-28 08:16:46 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-28 11:16:46 +0000 |
commit | e9cd18b5578cdf84264f3d69a5f166a33d74b4e3 (patch) | |
tree | 4acb321293e62f6731a72c14c451b6e58d3b6d3f | |
parent | 48f5d519088c2b33b48eb35f6ef3261e3ec677a1 (diff) | |
download | gitea-e9cd18b5578cdf84264f3d69a5f166a33d74b4e3.tar.gz gitea-e9cd18b5578cdf84264f3d69a5f166a33d74b4e3.zip |
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.
-rw-r--r-- | modules/notification/ui/ui.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/notification/ui/ui.go b/modules/notification/ui/ui.go index 4b85f17b6c..73ea922748 100644 --- a/modules/notification/ui/ui.go +++ b/modules/notification/ui/ui.go @@ -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, }) } |