Skip to content

Add empty state to admins 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 empty state when no jobs are present.

This MR adds an empty state 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)
  • curl https://gitlab.com/TrueKalix/gitlab/-/raw/tempo/empty_jobs.patch | git apply
  • 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