Add error logic for admin jobs vue
What does this MR do and why?
This is one step to refactor the jobs view for admins from haml to vue. We need to add an alert in order to show the user when something goes wrong and to reflect the current haml implementation.
This MR adds an alert for admin_job.table.app.vue
view/component.
I have oriented myself towards the implementation in job_table_app.vue
relevant issues for context are: #22626 (closed), #329224, and #262679 (closed).
Screenshots or screen recordings
How to set up and validate locally
- Make sure to enable FF
Feature.enable(:admin_jobs_vue)
- Write anything into
get_all_jobs.query.graphql
which will cause an GraphQl error - Go to
Admin > CI/CD > Jobs
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Andreas Deicha