Go directly to a single media view if there are no results for other media types
dhruvkb opened this issue · comments
Problem
Some search queries like "Openverse", only return image results and no audio. But we still go the mixed media view. This means the full list of filters is not visible from the beginning.
Additionally, while the mixed media view shows a subset of the filters, there is no indication that more filters will be visible after switching to a singular media type. So it is easy to assume that there is very limited filtering functionality.
Description
The filter side bar should show text that there are additional filters that will be visible when switching to a single media type. And if there are only a single media type of results available for a particular query, the view for that media type should be displayed directly.
Alternatives
Additional context
This issue was identified at the community booth at WordCamp Europe.
there is no indication that more filters will be visible after switching to a singular media type.
This has been important for me to change for quite some time. Our default result view hides a significant portion of our functionality and the power behind our search engine.
You and I @dhruvkb have actually each made issues for this in the past. Here's the current canonical one: #509.
As for the other idea, defaulting to the single view, I'm not sure. It might be preferable to show a more explicit message to the user like "No audio. {Search only images} or {refine your search} instead.". Forcing a redirect or automatically switching views adds friction for a user who might want to change their search term or filters to refine their search and see results for all media types.