impress/app/javascript/wardrobe-2020/WardrobePage
Emi Matchu 578528f468 Better handling for items in different zones with the same name
Specifically, I was looking at the new "Stormy Cloud Kacheek" items,
and was surprised to find that, in the outfit editor, they all get
grouped under "Markings" (and therefore the UI treats them as
mutually-exclusive via hidden radio button and only bolds one at a
time), but they aren't actually conflicting because they occupy
different zones named "Markings".

In this change, we make the zone groups actually just be *by zone*
rather than jumbling all of the zones with the same label together; but
in most cases, we still keep the same simplified display. In the case
of the "Stormy Cloud Kacheek" items though, we now get a few groups:
`Glasses`, `Markings (#6)`, and `Markings (#16)`. Glasses is chosen
by coincidence because it's the first zone label for that item
alphabetically (even though that item also occupies a third "Markings"
zone), and then the other two know to disambiguate from each other.

There's an opportunity here to cheat things further, like to
*intentionally* select items like "Glasses" that are less ambiguous
when possible. I'm not aware of enough other cases like this for that
to really matter, though, so I'm just leaving it as-is!

I tested this a *bit* on other outfits, and everything looked fine at
a glance, so I'm just moving forward—but I'll make an announcement to
ask people to help take a look!
2024-02-01 03:14:00 -08:00
..
support Display alt styles in outfit editor when selected 2024-01-30 07:01:03 -08:00
index.js Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
Item.js Remove the item page drawer, just link to the item page instead 2023-11-03 16:56:51 -07:00
ItemsAndSearchPanels.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00
ItemsPanel.js Better handling for items in different zones with the same name 2024-02-01 03:14:00 -08:00
LayersInfoModal.js Add outfit layers info modal to download PNGs etc 2023-10-23 19:05:10 -07:00
OutfitControls.js Move alt style state into the outfit state 2024-01-30 06:21:32 -08:00
OutfitKnownGlitchesBadge.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00
PosePicker.js Move alt style state into the outfit state 2024-01-30 06:21:32 -08:00
SearchFooter.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00
SearchPanel.js Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
SearchToolbar.js Set up eslint for wardrobe-2020 2023-11-02 18:11:07 -07:00
useOutfitSaving.js Fix outfit saving infinite loop in error case 2023-11-06 12:54:23 -08:00
useOutfitState.js Better handling for items in different zones with the same name 2024-02-01 03:14:00 -08:00
useSearchResults.js Run Prettier on all wardrobe-2020 JS 2023-10-24 16:45:49 -07:00
WardrobePageLayout.js Bundle wardrobe-2020 into the app 2023-10-23 19:05:08 -07:00
WardrobePreviewAndControls.js Display alt styles in outfit editor when selected 2024-01-30 07:01:03 -08:00