Link to next and previous file below each file in the merge request diff

Problem to solve

In a file-by-file review situation, stepping through each file in alphabetical order is no longer as simple as scrolling. When I reach the bottom of a diff, I want to go to the next one!

Further details

File-by-file diff review improves mouse based diff navigation in most instances by providing greater focus by reducing vertical height of the page, allowing people to view files one by one.

However, for viewing small diffs in alphabetical we should make it easy to quickly click through from one file to the next.

Proposal

We can mitigate this problem by including a link at the bottom of each diff with a Next and Previous link

Mockup
Artboard_20190531_20649

Links / references

Edited by James Ramsay (ex-GitLab)