Skip to content

Resolve "Replace <gl-deprecated-button> with <gl-button> in app/assets/javascripts/diffs/components/no_changes.vue"

What does this MR do?

Replaces the gl-deprecated-button with gl-button in app/assets/javascripts/diffs/components/no_changes.vue

Adds a test to spec/frontend/diffs/components/no_changes_spec.js to check if the GlButton exists

Screenshots

Before After
gl-deprecated-button gl-button
gl-deprecated-button__hover_ gl-button__hover_

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 #219906 (closed)

Edited by Austin Regnery

Merge request reports