impress/app/controllers
Emi Matchu 8d728c84d1 [WV2] Add zone badges to search results
Show which zones each item occupies in search result cards. Zone badges appear as small, muted labels (e.g., "Background", "Hat", "Static") after the NC/NP and date badges. Items that occupy multiple zones show multiple badges.

Zone badges only appear in search results, not in outfit items, since outfit items are already grouped by zone which provides sufficient context.

Implementation:
- Created zones badge partial to render zone labels from item appearances
- Updated controller to load item appearances with zone data for search results
- Pass appearance data through the rendering chain (search_results → item_card → item_card_content)
- Added subtle CSS styling for zone badges (light gray background, gray text)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-15 20:54:00 -08:00
..
devise Connect a NeoPass to an existing account 2024-04-08 05:33:58 -07:00
fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
about_controller.rb Add first draft of /about/neopass page 2024-03-12 17:58:44 -07:00
alt_styles_controller.rb Add support summary UI to alt styles page 2025-11-02 06:12:36 +00:00
application_controller.rb Always show rack-mini-profiler in development 2026-01-17 22:16:33 -08:00
auth_users_controller.rb Fix bugs in Settings page when changes to the model are incomplete 2024-04-09 06:34:06 -07:00
closet_hangers_controller.rb Hide shadowbanned users from trade lists for most viewers 2025-06-22 11:35:27 -07:00
closet_lists_controller.rb Disallow email addresses in closet list descriptions 2024-04-16 17:04:31 -07:00
contributions_controller.rb Migrate away from item translations in contributions 2024-02-20 15:52:10 -08:00
item_appearances_controller.rb Load item page restricted zones data from Rails app, not impress-2020 2023-11-11 08:49:19 -08:00
item_trades_controller.rb Add basic item JSON response (with trade values + counts) 2026-01-04 13:55:33 -08:00
items_controller.rb Add basic item JSON response (with trade values + counts) 2026-01-04 13:55:33 -08:00
locales_controller.rb locale cookie should be long-term, not a session cookie 2013-01-24 18:24:33 -06:00
neopass_connections_controller.rb Use Neopets username as base name for new NeoPass accounts, if possible 2024-04-09 07:48:13 -07:00
neopets_connections_controller.rb Disallow email addresses in Neopets usernames 2025-06-22 11:16:26 -07:00
neopets_page_import_tasks_controller.rb Fix petpage etc import 2023-11-06 12:59:28 -08:00
outfits_controller.rb [WV2] Outfit renaming as an atomic operation 2026-02-05 21:56:23 -08:00
pet_states_controller.rb Update pet state bulk-labeling to skip to next unlabeled if desired 2024-12-08 10:08:39 -08:00
pet_types_controller.rb Add "Support summary" section to Rainbow Pool 2024-12-01 11:13:21 -08:00
pets_controller.rb Support GET requests for /pets/load 2026-02-05 17:17:46 -08:00
sitemap_controller.rb Migrate away from item translations in misc pages 2024-02-20 15:53:56 -08:00
swf_assets_controller.rb Fix item animations for asset URLs that contain unescaped spaces 2025-03-29 14:45:41 -07:00
users_controller.rb Add time frames to the Top Contributors list 2026-01-20 19:54:22 -08:00
wardrobe_controller.rb [WV2] Add zone badges to search results 2026-02-15 20:54:00 -08:00