impress/app/javascript/wardrobe-2020
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
..
components Skip rendering layers without a usable image 2024-02-01 08:55:42 -08:00
images Use hourglass icon for Retired UCs 2024-02-01 06:48:40 -08:00
ItemPage Load item compatibility data from the Rails app, not impress-2020 2023-11-11 08:15:10 -08:00
loaders Oops, fix missing field in item search results Apollo cache! 2024-02-27 12:43:28 -08:00
WardrobePage Add item search results to Apollo cache, use in finding item conflicts 2024-02-27 12:19:07 -08:00
apolloClient.js Filter by Alt Style in item search and item appearance API calls 2024-02-01 04:58:30 -08:00
AppProvider.js Remove unused initialCacheState code from wardrobe-2020 2023-11-03 18:16:57 -07:00
impress-2020-config.js Add support_staff flag to user record; they can use Support tools 2024-01-29 04:21:19 -08:00
index.js Remove the item page drawer, just link to the item page instead 2023-11-03 16:56:51 -07:00
ItemPageOutfitPreview.js Oops, fix species name in zones tooltip 2023-11-11 11:57:43 -08:00
util.js Optionally use local instance of impress-2020 during development 2024-01-28 07:00:29 -08:00