Move alerts in pipeline_editor_app to its own component
Summary
There is currently a lot of repeated code in the root vue app for the pipeline editor section. There is a lot of code we could move to it's own component and let it handle what message to display. This is also fairly important in regard to additions from other team looking to use the root app component to display messages (example: !58664 (merged)).
There should be no visual change from this MR.
Improvements
- Better separation of concern
- Smaller root component (which always keep growing)
- Easier to work on for other groups
Risks
Minimal. We should be careful not to break existing alerts.
Involved components
app/assets/javascripts/pipeline_editor/pipeline_editor_app.vue
Optional: Intended side effects
Optional: Missing test coverage
Edited by Frédéric Caplette