impress/config
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
..
environments Create NeopetsMediaArchive, read the actual manifests for Alt Styles 2024-02-23 12:02:39 -08:00
initializers Remove asset_hosts initializer 2024-02-24 15:05:37 -08:00
locales Item search can filter by fitting alt styles (but missing many details!) 2024-02-27 14:32:54 -08:00
application.rb Replace falcon server with puma 2024-01-23 21:55:26 -08:00
basic_type_hashes.yml vandagyre basic colors (ugh, should be in database) 2014-11-14 19:33:30 -06:00
boot.rb Upgrade to Rails 7.0.6 2023-10-23 19:05:07 -07:00
cable.yml Upgrade to Rails 6.0.6.1 2023-10-23 19:05:06 -07:00
credentials.yml.enc Refactor Impress 2020 config 2024-02-22 13:07:43 -08:00
database.yml Save last trade activity time onto User 2024-01-19 00:00:46 -08:00
environment.rb Upgrade to Rails 6.1.7.4 2023-10-23 19:05:07 -07:00
locale_meta.yml es goes public! 2013-02-16 21:39:04 -06:00
routes.rb Remove unused /colors/pet_types route 2024-02-24 15:51:40 -08:00
storage.yml Run rails app:update 2023-10-23 19:05:05 -07:00