openverse-frontend
openverse-frontend copied to clipboard
Showing the audio results link on results page when there are no results
Description
When you search something that brings no audio results, the results page still shows the "see all audio" link. Like in this example.
Reproduction
- Search for "vanagon"
- Notice has the "see all audio" link says "no results".
- Click on it.
- See how the page shows no results.
Screenshots
Resolution
- [ ] 🙋 I would be interested in resolving this bug.
@panchovm what is the ideal UX in this scenario? Would disabling or hiding the "See all audio" button be a good solution?
I was thinking it should go directly to the images search because that would enable the image filters but showing the "See all audio" button disabled sounds like a good option too, relatively easy to implement and will let the user know that there are no audio results for their search.
+1 to disabling it. It keeps visible that the content type exists so visitors not clicking the switcher will notice we support audio content. I will add needs design as we need to add the disabled state of the component in the Design Library.
Thanks for the suggestion @dhruvkb