Migrate indexing restrictions away from select2

What does this MR do and why?

This migrates the "Namespaces to index" and "Projects to index" application settings away from select2. We are replacing the selectors with a custom-built solution based off GlCollapsibleListbox and a list of selected entities.

The new components we are using here have been created in !108828 (merged).

Screenshots or screen recordings

Before After
Screenshot_2023-01-11_at_8.35.49_AM Screenshot_2023-01-11_at_8.47.13_AM
With many items selected
Screenshot_2023-01-11_at_8.47.35_AM
With long entity names
Screenshot_2023-01-11_at_8.48.03_AM

How to set up and validate locally

  1. Navigate to Admin Area > Settings > Advanced Search > Elasticsearch indexing restrictions (http://gdk.test:3000/admin/application_settings/advanced_search#js-elasticsearch-settings)

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

Edited by Paul Gascou-Vaillancourt

Merge request reports

Loading