1
0
Fork 1
impress/db
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
..
migrate Add configurable full name field to alt styles 2025-02-15 21:52:47 -08:00
openneo_id_migrate Connect a NeoPass to an existing account 2024-04-08 05:33:58 -07:00
openneo_id_schema.rb Add configurable full name field to alt styles 2025-02-15 21:52:47 -08:00
schema.rb Add configurable full name field to alt styles 2025-02-15 21:52:47 -08:00
seeds.rb Move fundraising models into the Fundraising module 2024-02-18 20:29:31 -08:00