search: Only show no resolved repos alert when there are no results
Created by: tsenart
Context
I need some guidance on how to best approach this. Currently, searching for r:deps(foo) someresults
returns both type:file
results and a no resolved repos alert for the convertedr:deps(foo) r:someresults
.
Ideally we only want to show a no resolved repos alert when there are no results across all jobs. This PR is an attempt to do that, but it's currently breaking queries such as r:noresults or someresults
.
This is also an area of the code that has been changing a lot recently, so I'd like to collaborate on a solution here.