Skip to content

Refactor: Migrate commit page mini pipeline to vue

Background

The commit page displays a mini-pipeline graph that has the same a appearance and functionality as the one in the pipelines list:

pipelines page (Vue) commit page (HAML + jQuery)
pipe image

Description

However, they are not implemented in the same way, in the case of the pipeline list page, the mini graph user Vue while in the commit page it uses jQuery and HAML.

The commit page mini pipeline to use the Vue. These are the entry points:

Technical Details

  • The Vue mini pipeline uses app/assets/javascripts/pipelines/components/pipelines_list/stage.vue to build a pipeline. Each of these stages create a mini pipeline. As a possible way to reorganize mini pipeline, as wrapper could be created to contain them.
  • The test class js-builds-dropdown-button should be removed in favor of a data-testid selector.
Edited by Miguel Rincon