Collapsible diff lines/hunks within merge requests
Problem to solve
When reviewing merge requests that have a large number of line changes within individual files, it can become tiresome to properly take in and comprehend what you are reading after an extended period of time.
Target audience
- Sasha, Software Developer, https://about.gitlab.com/handbook/marketing/product-marketing/roles-personas#sasha-software-developer
Proposal
Like the ability to collapse discussions that have taken place on certain lines of a modified file in the merge request, implement the ability to collapse diffs within the file as well.
This would mean a developer could collapse a diff within a file that they are reviewing once they have deemed that diff satisfactory, then move onto the next diff. If they are ever distracted or need to come back to a merge request, they know exactly what point they left off.
The feature could also take the form of a "Mark-as-Reviewed" highlighting action, if that's preferable.