Add "Viewed" tracking for individual diff sections (hunks) within a file #202867
Replies: 2 comments
|
I support this idea. Another benefit would be for teams reviewing very large pull requests together. Reviewers could easily see which hunks they've already checked after taking a break or switching tasks. It would make long reviews much less repetitive and reduce the chance of missing changes. |
|
This would be especially valuable for large PRs where a single file contains many independent hunks. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Product Feedback
💬 Feature/Topic Area
Code Search and Navigation
Body
When reviewing a PR, GitHub lets me mark entire files as "Viewed" which is very helpful for tracking progress. However, large files with many changes are hard to review in one pass. I often review part of a file, context-switch, and come back later unable to remember which sections (hunks) within that file I already reviewed.
Proposal: Add a "Viewed" checkbox (or similar indicator) per diff hunk within a file, not just per file. This would let reviewers track their progress within large diffs the same way they already track it across files.
Use case: A file has +222 / -83 lines across 10+ diff hunks. I review the first 5 hunks, get pulled away, and return later. Currently I have to re-read everything to find where I left off. With per-hunk tracking, I would see exactly which sections I already covered.
All reactions