Skip to content

Add search functionality to sub group autocomplete

Andrew Fontaine requested to merge afontaine/group-sub-group-dropdown into master

What does this MR do and why?

Before this, the group access dropdown had a search input that was not configured to filter results. Here we fetch new results on query change, passing that query value down to the GroupsFinder, where the search functionality already exists.

Changelog: fixed

MR acceptance checklist

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

Screenshots or screen recordings

Screen_Recording_2024-03-21_at_12.55.22_PM

How to set up and validate locally

  1. Create a group with multiple sub groups
  2. Go to the parent group's Settings > CI/CD Settings
  3. Expand the Protected Environments section, and go to add one
  4. In the Allowed to deploy dropdown, try to search for a specific group

For #442867 (closed)

Merge request reports