Frontend: Move legacy pipeline mini graph files to new directory
requested to merge 461918-frontend-separate-graphql-and-rest-into-2-pipeline-mini-graphs into master
What does this MR do and why?
This is the first step of separating the GraphQL and REST versions of the Pipeline Mini Graph.
This is simply a file relocation to prepare to complete GraphQL support in the component and should not affect functionality at all.
First, we want to move all legacy files that have no GraphQL logic in them.
Although this touches a few different files, the only code update is for the imports as well as the explanation at the top of the legacy_pipeline_mini_graph.vue
file.
In the next task, we will start moving specific lines of code.
Task | MR |
---|---|
Move legacy files to new directory |
|
Move remaining pmg legacy code to legacy directory | !154818 (merged) |
Create README for PMG | TBD |
Screenshots or screen recordings
No UI change
How to set up and validate locally
Make sure you are testing with a project that has a pipeline.Navigate to the following pages and insure that the pipeline mini graph still renders:
- http://gdk.test:3000/flightjs/Flight/-/pipelines
- http://gdk.test:3000/flightjs/Flight/-/commit/ < PMG in the widget as well as the pipelines tab
- http://gdk.test:3000/flightjs/Flight/-/merge_requests/ < MR widget as well as the pipelines tab
- http://gdk.test:3000/flightjs/Flight/-/ci/editor?branch_name=master < Pipeline widget
Edited by Briley Sandlin