Search results filters should have a `clear` behavior
Problem to solve
One of the basic interaction with the search page is selecting the scope of the search, i.e.
- In all of GitLab
- In a specific group
- In a specific project
Fig 1. Search result page filters
To achieve this, the user must change two drop-downs (see Fig. 1) to the following combination:
- In all of GitLab (Any, Any)
- In a specific group (Group, Any)
- In a specific project (Group, Project)
Each time the user want to select the Any
choice, they have to wait for the drop-down to be loaded, which can be quite long (> 1s)
Intended users
Any user of GitLab.
User experience goal
We want our users to achieve their search faster, and thus reduce the time they wait while making the interaction. Changing the scope of a search should not be something one as to wait for.
Proposal
Any
choice always loaded
Solution 1) Make the Instead of having a spinner cover the full drop-down content, move the Any
option at the top and make sure it is always selectable, even while fetching the drop-down elements.
clear
button to the drop-down, to automatically set it back to Any
Solution 2) Add a
Fig. 2 Clear button on the Group filter