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
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
closet_hangers
closet_lists
contributions
devise
fundraising
item_trades
items Oops, fix crash in Shopping List for PB items 2025-01-06 00:25:36 -08:00
layouts
neopets_page_import_tasks
outfits
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
sitemap
swf_assets
users