Skip to content

Update pipeline detail view to accommodate post-merge pipelines

Nathan Friend requested to merge nfriend-update-pipeline-detail-view into master

What does this MR do?

Updates the pipeline detail view to handle the three cases mentioned in the Pipeline detail view widget section here: https://gitlab.com/gitlab-org/gitlab-ee/issues/7380#pipeline-detail-view-widget. The relevant UI mockups from this issue have been copied below for convenience:

Requirements Mockups
Normal branch pipeline
  • Copy from changed to for
normal_pipeline_copy
Detached merge request pipeline
  • Ref now shows merge request ID/Link before the source branch
  • merge request tag is removed
  • Detached tag is added
  • Copy from changed to for
normal_pipeline_copy_2
Merged result merge request pipeline
  • Ref now shows merge request ID/Link before source branch and adds target branch
  • merge request tag is removed
  • Copy from changed to for
normal_pipeline_copy_3

This MR assumes the pipeline API will be updated as described in https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25679.

What are the relevant issue numbers?

Related gitlab-ee#7380 #58454 (moved)

https://gitlab.com/gitlab-org/gitlab-ee/issues/7380

https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/25679

Does this MR meet the acceptance criteria?

Edited by Kamil Trzciński

Merge request reports