Add keyboard shortcut for `Show latest file` button in merge requests
Problem to Solve
When navigating a merge request via commits, you sometimes want to return to see all of the changes in the merge request. Currently the only way to do this is via clicking a button on the merge request that says show latest changes
Proposal
In order to improve the navigation of commit based reviews we should add a keyboard shortcut that allows you to return to viewing all of the changes. This would align well with other commit based keyboard shortcuts c
and x
which already exist to navigate through commits.
Original Description
Proposal
When I'm on a MR e.g.
.../merge_requests/1
I can click on a commit under the "commits" tab to select a specific commit. Gitlab automatically switches to the "diffs" tab, showing them for that specific commit, e.g.
.../merge_requests/1/diffs?commit_id=12345678
If I click on the "Overview" tab afterward, I believe it should dismiss the commit ID. Currently, it opens the overview with the commit ID:
.../merge_requests/1?commit_id=12345678
however, it should simply open
.../merge_requests/1
For some of us this is a perennial annoyance in Gitlab.