Cannot search in Operate/Environments page

When you try to use the search bar in the Operate/Environments page, the search is executed on every keypress, causing focus to be lost.

To reproduce:

  1. visit https://gitlab.com/gitlab-org/gitlab/-/environments
  2. focus the search field
  3. try to type "staging"

Expected: you can type "staging"

Actual: as soon as you type "s", search will execute, and the page will refresh. Focus will not be on the search input. If you want to search "staging" you have to either repeat this for each letter or copy and paste the string "staging" into the search field

Proposed solution

  • Adjust the loading state of the page from a combined view of everything to detached components, so that the search doesn't disable during loading.
Edited Nov 27, 2024 by Emily Bauman
Assignee Loading
Time tracking Loading