Skip to content

Frontend for Environment Search

Andrew Fontaine requested to merge afontaine/environments-search into master

What does this MR do and why?

We use the GlSearchBoxByType for instant searching, piping the query value through the local graphql resolvers to send off to the backend.

This is behind a feature flag at the moment, so no changelog is required.

For some reason, if we don't call resetPolling when changing the variables, apollo doesn't listen to the polling interval, and instead spams network calls over and over and over, slowing the page to a crawl.

Screenshots or screen recordings

image

image

image

How to set up and validate locally

  1. make some environments
  2. try searching!

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

For #10754 (closed)

Edited by Andrew Fontaine

Merge request reports

Loading