Skip to content

Avoid New Environment button glitching when changing tabs

What does this MR do?

Addressing #250571 (closed), this MR makes sure the New environment button is hidden only when the user cannot create a New Environment and is not jumping on every tab change.

Screenshots

Before After
button-page-jump Screen_Recording_2020-10-07_at_16.13.23
Guest Developer
Screenshot_2020-10-07_at_16.19.46 Screenshot_2020-10-07_at_16.26.58

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
Edited by Angelo Gulina

Merge request reports