impress/app/javascript/wardrobe-2020/loaders
Emi Matchu f3e10dea7f Oops, fix missing field in item search results Apollo cache!
Oh right, `imageUrl` is the name of the field relative to what the app
expects, but under the hood `useOutfitAppearance` actually makes that
an alias for `imageUrlV2(idealSize: SIZE_600)`.

So we need to cache it as the same field with the same params, rather
than as just plain `imageUrl`!

This fixes the bug where wearing an item from search would require a
network round-trip and visually remove all items in the meantime.

(Also, none of this issue was visible to most users, because item
search is still feature-flagged onto the old GQL one for most people!)
2024-02-27 12:43:28 -08:00
..
alt-styles.js Add useItemSearch for wardrobe app, but don't use it yet! 2024-02-25 12:06:32 -08:00
items.js Oops, fix missing field in item search results Apollo cache! 2024-02-27 12:43:28 -08:00
outfits.js Oops, add some more wiring for pet state ID for saved outfits 2024-02-08 10:15:31 -08:00
shared-types.js Add item search results to Apollo cache, use in finding item conflicts 2024-02-27 12:19:07 -08:00