PR comment threading + reviews #144938
Replies: 4 comments
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Related: "outdated comments" is an anti-feature. The only comments that should ever be hidden are ones that have explicitly been resolved. Preferably resolved and acknowledged by the reporter. It is far too easy to "lose" comment threads. When the pr author changes something unrelated to that thread. For example, spelling. In a PR with lots of comments, it becomes intractable for the reviewer to chase down every outdated comment, because they do not show in the files view. I would much rather see a comment attached to a nearby line of code, Even if it isn't the same as the original, even if it seems random, than to lose the comment entirely. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
+1 specifically to the poor UX of not being to thread general comments on a pull request (i.e. comments not attached to lines of code). Like OP said, long discussions get hard to follow if it splits into multiple lines of conversation or if someone brings up a different topic on the same pull request while a former topic is still being discussed. Quoting a comment to reply to it results in increasingly longer quote sections to scroll past with each reply, which is especially annoying on the mobile website due to the limited screen width. |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Product Feedback
Body
Comment threading for GitHub pull requests is unintuitive and often leads to fragmented discussions. Comments are shown out of context and other developers cannot reply, so they quote the comment in a new comment for the PR and the entire threading of comments breaks apart. This fragments the discussion and makes it hard to keep focused.
I have some specific suggestions:
When someone has started a review and then adds a comment as reply to some existing comment, that new comment should not become part of their review. People do that as they go through a diff top-to-bottom and encounter comments left by others. Their comments then get shown both in the original thread and in their review, which is the problem described above (out of context, cannot reply directly). They could just not do reviews, but that has drawbacks, too, and would mean that people need to change their behavior. Fixing it on the GitHub side would be easier.
Alternatively, the comments on threads could be hidden in the review, with the option to unfold if someone really wants to know.
Related to this is that you can reply to a comment in a review if it is the last one of the thread. People do that, perhaps not even realizing that they are responding to a larger thread and then miss that context when writing their reply. You can't reply if someone else already replied, with no visible clue about this. Highly confusing and I know of people who use GitHub a lot and haven't figured this out...
It should be possible to reply to a review summary or general PR comment, with threading. When adding a comment at the bottom after several other people have written something, it isn't clear what the comment refers to unless people are careful with manual quoting.
A comment thread that has recently been commented on should not be hidden under "Hidden items".
Example:
Beta Was this translation helpful? Give feedback.
All reactions