Skip to content

Make file browser icon in MR diff page more accessible when reviewing code below the fold

Problem to solve

In the Merge Request page, Changes tab, the bar that contains version comparison and the toggle file browser icon will disappear when scrolling down the diffs.

Screenshot_2022-08-17_at_10.41.11_AM

Screenshot_2022-08-17_at_10.47.01_AM

While reviewing code that is below the fold, if I need to toggle the file browser , I would need to scroll all the way to the top, click the toggle, and scroll back down to where I was. It makes me lose focus on what I was reviewing.

There is also no keyboard shortcut for this, so there is other workaround to it.

Proposal

Alternatively, move the toggle file browser icon to the file browser, such that when the file browser is collapsed, the icon remains visible. Much like the left and right sidebars.

A keyboard shortcut would be nice to have, but having the icon is still necessary. A user using a tablet, for example, may not have easy access to keyboard.

Intended users

Feature Usage Metrics

Edited by Albert