-
Improvement
-
Resolution: Fixed
-
Normal
-
None
-
None
-
None
It could be useful to filter listens on the link listens page by track, album or artist names.
Considering on that page we preload all the listens in order to group them, this is one page where it will be fairly easy to implement (other pages like the user dashboard load one page at a time, so filtering would need to be done server-side/database)
I envision a filtering text input at the top of the page with a "filter" button (requiring user click to conserve resources compared to live changes).
The filtering mechanism would reduce the selection of items to display, but maintain the existing grouping-by-album mechanism for consistency.
That means a decision must be made as to what we display; for example if the search term is found in one track, do we display the rest of the album this track is in?
Another option would be to have a dropdown next to the filter test input to select what the search applies to (track, album, artist), but that's not as powerful in my opinion.
For the functionality, we already have the fuse.js library installed for fuzzy searching: https://www.fusejs.io/