1
0
Fork 0
forked from OpenNeo/impress
impress/app
Emi Matchu 3781c9810a Item search can filter by fitting alt styles (but missing many details!)
A query like this works for finding items containing "hat" that fit
alt style #87296 (the Faerie Acara):

http://localhost:3000/items?q%5B0%5D%5Bkey%5D=name&q%5B0%5D%5Bvalue%5D=hat&q%5B1%5D%5Bkey%5D=fits&q%5B1%5D%5Bvalue%5D%5Bspecies_id%5D=1&q%5B1%5D%5Bvalue%5D%5Bcolor_id%5D=8&q%5B1%5D%5Bvalue%5D%5Balt_style_id%5D=87296

But there's two main missing pieces still:
1. You can't do a text-filter version of this—in fact, clicking Search
   immediately on the page this loads will return an error!
2. We haven't extended this to the `with_appearances_for` parameter,
   so we add a `NotImplementedError` to that bit for now too.

I'm also thinking that the text filter should ideally be like,
`fits:nostalgic-faerie-acara` if we can pull it off; and then fall back
to the plainer `fits:alt-style-87296` if e.g. we don't know the set
it's from yet.
2024-02-27 14:32:54 -08:00
..
assets Oops, fix regression of editor features on item lists page 2024-02-22 15:52:40 -08:00
controllers Item search can filter by fitting alt styles (but missing many details!) 2024-02-27 14:32:54 -08:00
helpers Refactor Impress 2020 config 2024-02-22 13:07:43 -08:00
javascript Oops, fix missing field in item search results Apollo cache! 2024-02-27 12:43:28 -08:00
mailers/fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
models Item search can filter by fitting alt styles (but missing many details!) 2024-02-27 14:32:54 -08:00
services Save manifest load info when preloading them, too 2024-02-25 16:02:36 -08:00
views Remove unused React dependency on homepage 2024-02-25 10:49:00 -08:00