Skip to content

Replace pipeline custom action array header with slot and buttons

What does this MR do?

This MR is a follow to !21365 (merged) and replaces the custom actions array to render the header_ci_component action-buttons with a Vue <slot> and buttons in the template. This reduces the complexity, makes upcoming changes less noisy, removes a few unused lines of code (-47 LOCs) and acts as a preparation for further refactoring (see #195359 (closed)). It also adds minor test improvements.

@pslaughter I think it makes sense if you take a look at this, since you're already quite familiar with the topic. However, this MR has no high priority / is not that urgent.

Closes #195352 (closed)

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

Merge request reports