Provide a hint that we're only showing results in the default branch for commits
Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.
Problem to solve
We have a commit scope for search but it's not totally clear on why you might not be able to find a commit on the group or instance level. Like (most?) everything else, we're only processing documents for the default branch in a project, so a user might expect to be able to search any commit. In code search, we show a hint that we're only showing results for the default branch, we should do the same for commits.
Proposal
We should improve the UX and add some hints that directs customers towards a more clear expectation. So if I were to search for commits I should see something like "Only showing results for default branch". Or "No results found for default branch".