Skip to content

Update tab count on filtered search

Payton Burdette requested to merge 356278-refactor-job-tab-counts into master

What does this MR do and why?

This MR grabs the job count from GraphQL and gets rid of the Rails count passed down to the component. This allows us to update the count on filtered search results.

This MR also removes the Pending and Running tabs since filtered search has that same ability.

This code is behind jobs_table_vue and jobs_table_vue_search.

Main feature MR: !82539 (merged)

This MR is related to two issues that will need to be handled before rolling the feature out

  1. #356278 (closed)
  2. #356568 (closed)

Plan is to rollout both feature flags at the same time.

Screenshots or screen recordings

tab-update

How to set up and validate locally

  1. Enable jobs_table_vue and jobs_table_vue_search feature flags in rails console
  2. Visit CI/CD > Jobs
  3. Switch tabs back and forth
  4. Perform filtered search status searches
  5. Ensure everything is working correctly

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #356278 (closed)

Edited by Payton Burdette

Merge request reports

Loading