impress-2020/src/server/query-tests/__snapshots__
Matchu 856d8586e4 cache item data when switching standard colors
Previously, when changing a pet's color, we would refresh the items panel and send a new network request for the item appearances, even though they're all the same. This is because item appearance data is queried by species/color, for ease of specification.

But! Item appearances are //cached// by body ID. So, if this is a standard color, it's not hard to look in the cache for the standard color's body ID!

Now, most color changes are faster and don't flicker the item panel anymore. We do still refresh the panel and send the requests for color changes that _do_ matter though, like standard <-> mutant!
2020-08-31 18:25:42 -07:00
..
Color.test.js.snap load special colors into support UI 2020-07-31 23:33:12 -07:00
Item.test.js.snap add id to ItemAppearance (+ refactor) 2020-08-28 00:10:00 -07:00
ItemSearch.test.js.snap itemSearchLoaders should prime item loader cache 2020-08-17 01:41:38 -07:00
Outfit.test.js.snap add Support mode to PosePicker 2020-08-28 22:58:59 -07:00
Pet.test.js.snap fix bug resolving item fields under pet outfit 2020-07-02 14:33:47 -07:00
PetAppearance.test.js.snap add Support mode to PosePicker 2020-08-28 22:58:59 -07:00
Species.test.js.snap cache item data when switching standard colors 2020-08-31 18:25:42 -07:00
SpeciesColorPair.test.js.snap add Support mode to PosePicker 2020-08-28 22:58:59 -07:00