1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers
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
..
devise
fundraising Move most fundraising files into a Fundraising module 2024-02-18 20:12:14 -08:00
about_controller.rb
alt_styles_controller.rb Add configurable full name field to alt styles 2025-02-15 21:52:47 -08:00
application_controller.rb
auth_users_controller.rb
closet_hangers_controller.rb
closet_lists_controller.rb
contributions_controller.rb
item_appearances_controller.rb
item_trades_controller.rb
items_controller.rb Oops, fix silly mistake when combining zones by label on the item page 2025-01-02 19:39:53 -08:00
locales_controller.rb
neopass_connections_controller.rb
neopets_connections_controller.rb
neopets_page_import_tasks_controller.rb
outfits_controller.rb Remove careful SQL-selecting on homepage 2024-11-20 10:44:33 -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
pets_controller.rb Reapply changes to how disabling modeling works 2024-11-10 11:39:51 -08:00
sitemap_controller.rb
swf_assets_controller.rb
users_controller.rb Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00