Global Search - Reset Filters Disappearing
What/Why
Bug identified as part of @nickbrandt UX review here: !72531 (comment 706824652)
What is expected
The reset filters button should be visible at all times when custom Sidebar filters have been selected. It should only be hidden when both "Any status" and "Any confidentiality" is applied to the search.
What is happening
The reset filters button is hidden from the client when the user selects "Any status" and "Any confidentiality" but before Applying the query. This implies the query has been reset when it hasn't.
Steps to reproduce
- Navigate to the Global Search page (https://gitlab.com/search)
- Search a term and switch the scope to issues
- Adjust your status and/or confidentiality filter and click Apply
- Note the Reset filters is visible
- Adjust your status and confidentiality filter back to "All"
- Note the Reset filters button is hidden (but shouldn't be)
Video Example
Edited by Zack Cuddy