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
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
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