impress/app/views
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
..
about Remove "About NeoPass" page, now that it's on the blog 2024-09-20 18:43:38 -07:00
alt_styles Add support summary UI to alt styles page 2025-11-02 06:12:36 +00:00
application Merge branch 'main' into feature/wardrobe-v2 2026-02-06 19:24:30 -08:00
auth_users Update some stylesheets to use new page_stylesheet_link_tag helper 2024-05-14 16:10:09 -07:00
closet_hangers Add Support form for users, with shadowban option 2025-02-16 09:32:52 -08:00
closet_lists Add trade warning to closet list form 2024-04-16 16:53:30 -07:00
contributions Remove old record_tag_helper gem 2024-09-26 12:50:47 -07:00
devise Update some stylesheets to use new page_stylesheet_link_tag helper 2024-05-14 16:10:09 -07:00
fundraising Serve jquery and jquery.tmpl from our own codebase, instead of a CDN 2024-09-20 19:23:53 -07:00
item_trades Hide shadowbanned users from trade lists for most viewers 2025-06-22 11:35:27 -07:00
items Stabilize IDs for outfit viewer component 2026-02-06 19:22:02 -08:00
layouts Add homepage link to Rainbow Pool, and move Modeling Hub to footer 2024-10-11 15:27:36 -07:00
neopets_page_import_tasks Remove some silly view template caching calls 2024-09-20 18:08:11 -07:00
outfits Support GET requests for /pets/load 2026-02-05 17:17:46 -08:00
pet_states Use CSS instead of server requests for image format in pet styles form 2025-01-02 19:04:48 -08:00
pet_types Add no results message for alt style searches 2024-12-29 15:47:12 -08:00
pets Serve jquery and jquery.tmpl from our own codebase, instead of a CDN 2024-09-20 19:23:53 -07:00
sitemap Update most URLs to use HTTPS 2023-10-25 15:22:57 -07:00
swf_assets Move JS libraries to vendor/javascript 2024-09-13 21:16:46 -07:00
users Add time frames to the Top Contributors list 2026-01-20 19:54:22 -08:00
wardrobe [WV2] Add zone badges to search results 2026-02-15 20:54:00 -08:00