Skip to content

Move "Show latest version" button to the left

Toon Claes requested to merge toon-show-latest-button into master

What does this MR do?

The buttons at the top of the Merge Request diff view are a bit all over the place. This change is one step to make them be more intuitive, as part of #330579.

The "Show latest version" button was a bit out of place being between the diff stats and diff preferences.

This change moves that button to the left. It now sits right next to the commit Prev/Next buttons or version dropdowns. This brings the buttons which control the range of the diff together.

Issue: #330579

Screenshots (strongly suggested)

On single commit

Before

commit-before

After

2021-07-02_14-30

On older version in MR

Before

version-before

After

2021-07-07_09-37

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Toon Claes

Merge request reports