[GH-ISSUE #187] Search should show most relevant category first #137

Open
opened 2026-02-28 14:30:52 +03:00 by kerem · 2 comments
Owner

Originally created by @naufik on GitHub (Oct 4, 2021).
Original GitHub issue: https://github.com/jpochyla/psst/issues/187

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 😔.

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

Regards,

Naufal

Originally created by @naufik on GitHub (Oct 4, 2021). Original GitHub issue: https://github.com/jpochyla/psst/issues/187 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](https://user-images.githubusercontent.com/8577904/135838677-24a776e4-6552-4d6b-8615-7d35ab37898a.png) 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
Author
Owner

@jpochyla commented on GitHub (Dec 24, 2021):

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

<!-- gh-comment-id:1000835257 --> @jpochyla commented on GitHub (Dec 24, 2021): Hi, we have a discussion running about this: #41.
Author
Owner

@RichardFevrier commented on GitHub (Jun 12, 2025):

A bit related to this so I'm not opening a new issue (I can if necessary), but if search also could provide the tracks we added to our library first in the results that would be great.

Explaining a bit more; I don't even know if it's possible with the Spotify API, but sometime I search for a part of a title that I know is in my library for sure and it is not returned by the results, I need to write the complete title.

<!-- gh-comment-id:2965644797 --> @RichardFevrier commented on GitHub (Jun 12, 2025): A bit related to this so I'm not opening a new issue (I can if necessary), but if search also could provide the tracks we added to our library first in the results that would be great. Explaining a bit more; I don't even know if it's possible with the Spotify API, but sometime I search for a part of a title that I know is in my library for sure and it is not returned by the results, I need to write the complete title.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/psst#137
No description provided.