1
0
Fork 1
impress/app/views
Emi Matchu 97ffffb67a Add configurable full name field to alt styles
Sigh, the "Valentine Plushie" series is messing with me again! It
doesn't follow the previously established pattern of the names being
"<series> <color> <species>", because in this case the base color is
considered "Valentine".

Okay, well! In this change we add `full_name` as an explicit database
field, and set the previous full name value as a fallback. (We also
extract the generic fallback logic into `ApplicationRecord`, to help us
express it more concisely.)

We also tweak `adjective_name` to be able to shorten custom `full_name`
values, too. That way, in the outfit editor, the Styles options show
correct values like "Cherub Plushie" for the "Cherub Plushie Acara".

I also make some changes in the outfit editor to better accommodate the
longer series names, to try to better handle long words but also to
just only use the first word of the series main name anyway. (Currently,
all series main names are one word, except "Valentine Plushie" becomes
"Valentine".)
2025-02-15 21:52:47 -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 configurable full name field to alt styles 2025-02-15 21:52:47 -08:00
application Use SVG for the magnified outfit viewer when editing pet appearance 2024-12-07 11:45:01 -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 Don't show the list filter for petpage exports if you have no lists 2024-09-20 19:30:23 -07: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 Extract all the item pages' stylesheets into their own CSS files 2024-09-09 18:48:08 -07:00
items Oops, fix crash in Shopping List for PB items 2025-01-06 00:25:36 -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 Announce the temporary server upgrade (and refactor announcement helper) 2024-12-01 19:26:42 -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 i18n for contributions#index 2013-01-24 18:23:18 -06:00