impress-2020/src/app
Matchu 995a2b8a3a Fix infinite loop bug on initial outfit save
Oops, the sequence here was:
1) Save a new outfit
2) The debounced outfit state still contains id=null, which doesn't match the saved outfit, which triggers an auto-save
3) And now again, the debounced outfit state contains the _previous_ saved outfit ID, but the saved outfit has a _new_ ID, so we save the _previous_ outfit again

and back and forth forever.

Right, ok, simple change: if the saved outfit ID changes, reset the debounced state immediately, so it can't even be out of sync in the first place! (I also considered checking it in the condition, but I didn't really understand what the timing properties of being out of sync due to debouncing would be, and it seemed to not represent the reality I want.)
2021-05-04 12:33:13 -07:00
..
cached-data Build cached zones, stop querying on server 2020-08-19 17:50:05 -07:00
components Add glitch message for Faerie Uni 2021-05-03 14:52:50 -07:00
images move src/images into src/app/images 2021-01-04 03:49:08 +00:00
WardrobePage Fix infinite loop bug on initial outfit save 2021-05-04 12:33:13 -07:00
apolloClient.js Create Cypress command to log in 2021-04-19 02:22:45 -07:00
App.js Add /support/petAppearances page 2021-04-23 11:31:25 -07:00
ConversionPage.js Only wait for auth on queries that need it 2021-01-21 14:57:21 -08:00
GlobalFooter.js Add Twitter button to footer 2021-03-13 03:14:35 -08:00
GlobalHeader.js Move "Log out" button into the nav menu 2021-01-18 13:51:52 -08:00
HomePage.js Add ?loadPet param to support custom search engine 2021-04-16 03:15:24 -07:00
ItemPage.js Waka item page UI! 2021-04-07 16:48:41 -07:00
ItemPageDrawer.js update chakra imports 2020-12-25 09:08:33 -08:00
ItemPageLayout.js Remove unused import 2021-04-07 22:12:03 -07:00
ItemSearchPage.js Add NC/NP tags to homepage & search result items 2021-04-01 20:08:35 -07:00
ItemTradesPage.js Waka item page UI! 2021-04-07 16:48:41 -07:00
ModelingPage.js Separate modeling queries into public vs user data 2021-04-23 12:10:16 -07:00
PageLayout.js Add page-reload recovery to *all* code splitting 2021-01-21 14:34:55 -08:00
PrivacyPolicyPage.js Privacy policy copy tweak 2021-01-18 06:44:07 -08:00
SupportPetAppearancesPage.js Add total count to /support/petAppearances 2021-04-23 15:37:52 -07:00
UserItemsPage.js Can edit closet list text, incl as Support 2021-03-23 17:48:11 -07:00
UserOutfitsPage.js Only wait for auth on queries that need it 2021-01-21 14:57:21 -08:00
util.js Fix infinite loop bug on initial outfit save 2021-05-04 12:33:13 -07:00