impress-2020/src
Emi Matchu 8fb561338a Fix PetAppearance ID when there's an Alt Style
I don't think this actually affects any clients in practice, but now
that `PetAppearance` can be influenced not just by pet state ID but
also alt style ID, it's no longer correct to just use pet state ID as
the `id` (the default cache key). This could theoretically cause an alt
style to be locally cached as the default appearance of a
species/color/pose.

Instead, we now append an extra string in the case that there's also an
alt style influencing the appearance. This is a bit of a mess, because
I know there's some tooling that's expecting this field to be strictly
the pet state ID, mainly for support/debugging purposes I think? But I
imagine that's not a big deal in practice, and this change should
narrow the scope of a bug like that to just be like, "error: pet state
123-with-alt-style-456 not found" when trying to save a change to it
or something. Good enough!
2024-02-09 08:16:00 -08:00
..
app Remove unused IMPRESS_LOG_IN_AS feature 2024-01-28 06:36:09 -08:00
server Fix PetAppearance ID when there's an Alt Style 2024-02-09 08:16:00 -08:00
shared Logic & comment updates to #30 2022-12-22 18:58:49 -08:00
react-app-env.d.ts Finally finish TS setup, build works! 2021-02-02 21:38:57 -08:00