Skip to content

Add server-side search for environments dropdown

What does this MR do?

Environments dropdown in the monitoring dashboard has a search input behind searchable_environments_dropdown feature flag. The search input currently only filters client-side. This MR allows the environments dropdown to hit the GraphQL endpoint to do server-side filtering.

Note 1 Because all the changes are behind a feature flag there is no changelog file.

Note 2 The CSS change in this MR was originally added here !23017 (comment 273789733) and was approved by the UX. However, because of another MR (listed in the comments) the change got removed it.

Screenshot

searchable_env_dropdown

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Mentions #34021 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports