Ability To Expand Hidden Diff In Both Directions
Problem to solve
When unchanged lines are collapsed between two blocks, it isn't possible to expand the unchanged lines in either direction. It always expands from the bottom.
This is annoying. It should be possible to expand in both directions.
| Collapsed | After expanding |
|---|---|
![]() |
![]() |
Target audience
This impacts all developers and personas that use diffs.
Further details
Original request
Screenshot Showing Desired Behavior (No Reason For Both Buttons To Expand The Same Direction)
Proposal
Make it possible to expand in both directions.
What does success look like, and how can we measure that?
Links / references
- Equivalent GitHub request: https://github.com/sindresorhus/refined-github/issues/1288
Edited by James Ramsay (ex-GitLab)


