1
0
Fork 1
impress/app/javascript/wardrobe-2020
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
..
components Set Prettier default to tabs instead of spaces, run on all JS 2024-09-09 16:11:48 -07:00
images Use hourglass icon for Retired UCs 2024-02-01 06:48:40 -08:00
loaders Use shorter style name in outfit editor's pose picker label 2025-01-12 12:02:52 -08:00
WardrobePage Add configurable full name field to alt styles 2025-02-15 21:52:47 -08:00
apolloClient.js Set Prettier default to tabs instead of spaces, run on all JS 2024-09-09 16:11:48 -07:00
AppProvider.js Set Prettier default to tabs instead of spaces, run on all JS 2024-09-09 16:11:48 -07:00
impress-2020-config.js Set Prettier default to tabs instead of spaces, run on all JS 2024-09-09 16:11:48 -07:00
index.js Remove some now-unused ItemPage JS files 2024-09-06 16:11:05 -07:00
util.js Set Prettier default to tabs instead of spaces, run on all JS 2024-09-09 16:11:48 -07:00