Inline Comments Don't Show On Rich Diff View #160981
Replies: 3 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.
-
|
Hey @mrohan-sq 👋 You’re absolutely right: inline comments in GitHub are tied to specific line numbers in the source diff, which the rich diff doesn’t always preserve 1:1 - especially with things like formatting or list changes. That’s likely why the comments don’t show up there. Totally agree that having comments appear in the rich diff - either in the sidebar or by highlighting the referenced content - would be a game-changer. Until then, I usually toggle back to the source diff to see and respond to comments clearly. +1 to your feedback - this would be a great UX enhancement for GitHub PRs! |
Beta Was this translation helpful? Give feedback.
-
|
Hi @mrohan-sq! This is a browser extension I'm working on that tackles exactly this. It surfaces inline comments on the rich diff view (and lets you leave new ones there too). Might help in the meantime, please feel free to have a try!
Feedback welcome! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Product Feedback
Body
Hi! On my team, we've recently begun capturing more documentation in Markdown files committed to Git. I noticed on one of our pull requests that inline comments made on the Markdown file show as expected in the source diff, but do not show in the rich diff. My guess is that the comments are attached to line numbers, which are less relevant / accurate in the rich diff view. Still, it would be nice to have them show in the sidebar to the right, and have the line they're attached to highlighted in the rich diff, similar to how Google Docs comments work.
One other thing to note is that comments made at the file level do show in the rich diff view (at the top).
Beta Was this translation helpful? Give feedback.
All reactions