1
0
Fork 0
forked from OpenNeo/impress
impress/src/app/WardrobePage
Matchu 33353e5328 Fix uncaught promise error in search results
Sentry issue IMPRESS-2020-20 doesn't have a clear backtrace, but it looks like the usual thing where we trigger an Apollo query directly, and forget to catch a potential error in the returned promise. I noticed that the last thing the user did was type in the search bar, and got a _caught_ error for the initial search!

Scanning the SearchPanel file, I think it's likely that this was a failure in `fetchMore` for the infinite pagination.

I'm a bit worried as to _why_ we were doing infinite scrolling stuff when there were no results? I wasn't able to repro a scroll event on the empty results list, but it's plausible that it could happen. I've added a gate to not send this request when there's an error!
2021-02-01 19:08:20 -08:00
..
support Group poses by emotion first, in PosePickerSupport 2021-01-28 10:34:09 -08:00
index.js Add page-reload recovery to *all* code splitting 2021-01-21 14:34:55 -08:00
Item.js Add page-reload recovery to *all* code splitting 2021-01-21 14:34:55 -08:00
ItemsAndSearchPanels.js Add "Items you own" and "Items you want" filters 2021-01-21 15:58:24 -08:00
ItemsPanel.js Fix "Untitled outfit" on open outfit in new window 2021-01-17 08:19:47 -08:00
OutfitControls.js Back links to Your Outfits, *if* it's yours 2021-01-17 08:04:21 -08:00
PosePicker.js Recover from missing pose data 2021-01-28 10:37:04 -08:00
SearchPanel.js Fix uncaught promise error in search results 2021-02-01 19:08:20 -08:00
SearchToolbar.js Don't remove word from query in Advanced Search 2021-01-22 14:14:31 -08:00
useOutfitState.js Only wait for auth on queries that need it 2021-01-21 14:57:21 -08:00
WardrobeDevHacks.js add zone restrict hack tools 2020-08-28 00:12:41 -07:00
WardrobeOutfitPreview.js Keep outfit thumbnail while individual layers load 2021-01-08 02:53:31 -08:00
WardrobePageLayout.js tweak site bg color, to let card elements "pop" 2021-01-04 09:17:54 +00:00