Allow users to change the default search mode
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
Some users are confused by why they are getting no results, usually because they are expecting a code search, but instead we default to a project search. When you are searching fast it can be easy to miss the nuance of the selected Projects tab as the default vs the Code tab. I've seen this come up in a few customer tickets where the user experience doesn't seem to align with their expectation.
In the video attached, you can see that when I search in the box, it first says "results are not found..." which is fair enough, but once you hit enter, it takes you to projects by default where no results are found. You have to then click on the code tab to see what it found for code. When you actually select a project, it will then default to the code tab, but users seem to want to be able to search for code in a group in one go.
Proposal
There can be many ways to solve this problem, but a few suggestions:
- Allow individual users, or instance administrators to change the default search behavior. In other words, there could be a always default to code search option when using the search box.
- If no results are found, tell a user where results were found.