Skip to content

Use vue.js Pipelines table in commit and merge request view

Filipa Lacerda requested to merge fe-commit-mr-pipelines into master

What does this MR do?

  • Extracts pipelines table from vue_pipelines_index in order to reuse it in Merge Request and commits pages.
  • Adds a store, a service and a bundle file to render commits pipelines table and merge request pipelines table.
  • Moves shared components to vue_shared/components
  • Moves vue_resource_interceptor to vue_shared and use as single source of truth
  • Adds tests for the added tables
  • Adds tests for the new table component
  • Adds documentation

Are there points in the code the reviewer needs to double check?

Why was this MR needed?

We were using vue and haml to render the same table in 4 different places:

  • pipelines' index page
  • merge request show page, in pipelines tab
  • merge request new page, in pipelines tab
  • commits show page, in pipelines tab

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Closes #27141 (closed)

Merge request reports

Loading