Skip to content

Hide file browser and display options from empty state changes tab

What does this MR do?

Hides the file browser and display options on the changes tab of merge requests with no changes.

Scenario Before After
0 commits, 0 changes image image
2 commits, 0 changes, 0 versions image image
2 commits, 0 changes, 1 version image image
2 commits, 5 changes image image
individual commit image image
comparing same version image image

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • 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

Closes #256035 (closed)

Edited by Marcel van Remmerden

Merge request reports