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
Screen_Shot_2018-12-17_at_4.00.56_PM Screen_Shot_2018-12-17_at_4.05.05_PM

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)

Screenshot_2017-07-13_12_20_16

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 Dec 17, 2018 by James Ramsay (ex-GitLab)
Assignee Loading
Time tracking Loading