Context switcher search improvements
What does this MR do and why?
This improves the context switcher's search feature by...
- ...showing a loading spinner while search results are being fetched.
- ...showing an alert when a search query fails.
- ...automatically focusing the search input when opening the context switcher.
- ...adjusting the toggle's colors and focus ring.
Screenshots or screen recordings
Loading spinner | Error alert |
---|---|
How to set up and validate locally
-
Enable the new nav:
-
In the super sidebar, click on the context title to expand the context switcher.
-
To get the error alert to show up, disable the internet connection before searching for items
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #378541 (closed)
Edited by Paul Gascou-Vaillancourt