Right now we generate a list of genres for the user to pick from based on their current collection augmented with the most popular genres across the user base.
However, it can be really tedious to select all of those genres as they are hyper-specific (there are over 4,500 genres).
So if you're trying to make a "jazz" playlist, there's actually not a "jazz" genre...there are dozens of _sub-_genres like indie jazz, jazztronic, jazz rap, nu jazz, uk contemporary jazz, and on and on.
The query builder operator is currently in
, and you're able to select as many genres as you'd like. What we need to do is add a contains
operator which then changes the input type to string
and let the user just type in the string they want to match on.
Places that will need modification:
QueryBuilder
The query builder uses QueryBuilder. Where it's currently problematic (and where I keep getting stuck) is on how to change the input
after changing the operator
. Currently it makes use of the select picker
plugin so you can easily filter the list of genres, but if you change the operator to contains
it should no longer use that plugin or a dropdown and instead just have a plain text input field.
Bounty
As a test on offering payment for higher-priority items, I'm offering a payment of $200 for completing this.
Deliverable: PR that successfully modifies the genre picker to making use of the "contains" operator which changes the "input" from a "select" to "text". You don't have to handle the backend code part (in playlist.rb
), though you're welcome to.
First person to submit a verified functional PR gets the bounty.
Payout will be made via PayPal, Venmo, CashApp or as a donation to a charity/non-profit of your choosing.