Skip to content

Commit 4f50176

Browse files
fsologurengyardenshoham
authored andcommitted
Link issue and pull requests status change in UI notifications directly to their event in the timelined view. (go-gitea#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.
1 parent 9f5e44b commit 4f50176

File tree

1 file changed

+1
-0
lines changed
  • modules/notification/ui

1 file changed

+1
-0
lines changed

modules/notification/ui/ui.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ func (ns *notificationService) NotifyIssueChangeStatus(doer *user_model.User, is
9696
_ = ns.issueQueue.Push(issueNotificationOpts{
9797
IssueID: issue.ID,
9898
NotificationAuthorID: doer.ID,
99+
CommentID: actionComment.ID,
99100
})
100101
}
101102

0 commit comments

Comments
 (0)