iftechfoundation / ifdb

The software behind the Interactive Fiction Database (IFDB)
Other
23 stars 18 forks source link

Add clickable search filters #851

Open alice-blue opened 3 years ago

alice-blue commented 3 years ago

Right now, to search for games that are rated at least 3 stars, you need to type "rating:3-" into the search bar (and in order to figure out that that's what you're supposed to type, you have to read the search help.) I'm not suggesting removing the ability to search that way, but it'd be nice to add some clickable, more intuitive search options where they make sense.

It would be nice to be able to use more than one filter in a given search. So, for example, you could search for historical games that are rated at least 3 stars, without having to look at the search help.

Edit: To see an example of the type of thing I'm talking about, try doing a search for "shelf" at https://www.homedepot.com. On the left side of the search results screen, there's a box where you can click 1-5 stars to show what minimum star rating you want, checkboxes you can click to choose different options, and fields where you can type minimum and maximum number values. As you choose options, the search results narrow.

qdacsvx commented 3 years ago

There are several fields on every game's page that could be clickable. Date of publication - perform a published in year YYYY search genre - list of games with that genre language - list of games with matching language(s) license - list of games with matching license.

alice-blue commented 3 years ago

That is possible. It would also be good to be able to combine filters. I will try to make that clearer in the initial post.