Introduce feature flag for owner filtering of runners

What does this MR do and why?

Introduce feature flag for owner filtering of runners

Add the feature flag which will allow the Group and Project tokens to be made visible and be used.

This merge request also alters the order of the tokens in the drop down menu.

This is merge request 3 of 3

References

Screenshots or screen recordings

Before After
image.png image.png
image.png

How to set up and validate locally

  1. Visit the admin/runners page to see the absence of Project and Group selections

  2. In rails console, enable the feature flag

    Feature.enable(:filter_runners_by_project_and_group)
  3. Refresh the page to have the Project and Group tokens appear

  4. Select either one to highlight that they cannot be used in the same query

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading