psst icon indicating copy to clipboard operation
psst copied to clipboard

Search should show most relevant category first

Open naufik opened this issue 4 years ago • 2 comments

Enhancement proposal: I think it would be great from UI perspective if search shows the most relevant type/category to the search term first. Additionally we can choose to omit categories with no search results, which may be a partial fix to #173.

The image below shows top of the search results in current UI (i.e. I haven't scrolled down): image

Psst always shows artists, then albums, then tracks, then playlists. Requiring users to scroll down in order to search for the "Never Gonna Give You Up" they want. It would be great if the order of categories adapt to this.

~~Afaik the Spotify search API does not output result in separate fields for different categories so I think some rearranging can be added on the Psst client side if it's using that API.~~ I was in fact wrong, my bad, so Spotify doesn't return "most relevant result first" so psst would need to figure out how to match the "relevance" and that might actually be really hard :pensive:.

Thanks for your work on such a great and fast client! :slightly_smiling_face:!

Regards,

Naufal

naufik avatar Oct 04 '21 10:10 naufik

Hi, we have a discussion running about this: #41.

jpochyla avatar Dec 24 '21 13:12 jpochyla