Skip to content

Add indexing status to the Admin UI

What does this MR do and why?

Customers are having difficulty understanding what to do when code doesn’t show the expected results. This is an admin UI to help visualize the indexing status.

Screenshots or screen recordings

Before After
Screenshot_2023-08-11_at_14.08.37 Screenshot_2023-08-18_at_13.49.05

How to set up and validate locally

  1. Make sure advanced search is installed and enabled
  2. Visit the Advanced search admin page http://gdk.test:3000/admin/application_settings/advanced_search
  3. Toggle the expand button to reveal the cards with the indexing status
  4. destroy index status to add a project to the unindexed queue in the rails console Project.find(YOUR_PROJECT_INDEX).index_status.destroy the only way to undo this is to re-index your projects.
  5. the other two numbers initial queue size and incremental queue size will change while indexing

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 #384039 (closed)

Edited by Tomas Bulva

Merge request reports