Skip to content

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

Parent issue

FF

relevant issues for context are: #22626 (closed), #329224, and #262679 (closed).

🛠 with at Siemens

Screenshots or screen recordings

image

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.

Edited by Andreas Deicha

Merge request reports