diff options
author | Yarden Shoham <hrsi88@gmail.com> | 2023-01-28 17:51:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-28 15:51:00 +0000 |
commit | 6be1d71e2bf3fb92d3af759a96d9e1f47840ea29 (patch) | |
tree | 6f6029d86d0953b2bcd493f4afdfde1c987eb722 | |
parent | 9f5e44bf5051d1bfd4b848378696b03cb635f525 (diff) | |
download | gitea-6be1d71e2bf3fb92d3af759a96d9e1f47840ea29.tar.gz gitea-6be1d71e2bf3fb92d3af759a96d9e1f47840ea29.zip |
Link issue and pull requests status change in UI notifications directly to their event in the timelined view. (#22627) (#22642)
Backport #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.
Co-authored-by: Felipe Leopoldo Sologuren GutiƩrrez <fsologureng@users.noreply.github.com>
-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 4d96a6b0ed..3914e0e85c 100644 --- a/modules/notification/ui/ui.go +++ b/modules/notification/ui/ui.go @@ -96,6 +96,7 @@ func (ns *notificationService) NotifyIssueChangeStatus(doer *user_model.User, is _ = ns.issueQueue.Push(issueNotificationOpts{ IssueID: issue.ID, NotificationAuthorID: doer.ID, + CommentID: actionComment.ID, }) } |