-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Add comment replies #5104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add comment replies #5104
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5104 +/- ##
==========================================
+ Coverage 37.43% 37.44% +<.01%
==========================================
Files 308 308
Lines 45715 45718 +3
==========================================
+ Hits 17114 17119 +5
Misses 26141 26141
+ Partials 2460 2458 -2
Continue to review full report at Codecov.
|
routers/repo/pull_review.go
Outdated
@@ -63,6 +63,10 @@ func CreateCodeComment(ctx *context.Context, form auth.CodeCommentForm) { | |||
} | |||
} | |||
} | |||
reviewID := review.ID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are you putting this in an extra variable instead of directly modifiying review.ID
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same nit as @kolaente, but otherwise LGTM.
…enhancement/review-replies
@kolaente @techknowlogick done |
@go-gitea/owners Drone isn't reporting a status |
GitHub is still working through the backlogs (https://status.github.com/), but it should mostly work now. |
@JonasFranzDEV please send backport. |
Partially fixes #4389 and #5100.
This PR makes it possible to reply to review comments. These replies will be also shown at the "Conversation" tab.
At the moment it is only possible to reply to comments if there is already a review at the specific line. That can be fixed, but requires translations. We should discuss about including this in 1.6.
Without this enhancement the review comment feature seems buggy to the end user.