impress-2020/src/app/components
Matchu f5e5f16f87 Improve movie cancels and error handling
Oops, my inbox was getting full of uncaught promise rejections of `loadImage`!

I'm pretty sure they're caused when multiple images in a movie fail to load (e.g. network problems), but we fail to cancel them. So, the first failure would be caught as a part of `Promise.all` in `loadMovieLibrary`, but then subsequent failures wouldn't be caught by anything, and would propagate up to the console and to Sentry as uncaught errors.

In this change, we make a number of improvements to cancellation. The most relevant change for this bug is that `loadMovieLibrary` will now automatically cancel all resource promises when it throws an error! But this improved robustness also enabled us to finally offer a simple `cancel()` method on movie library promises, which we now available ourselves of at call sites, too.
2021-06-26 12:04:40 -07:00
..
HangerSpinner.js fix large-icon visual bug 2021-01-04 03:11:55 +00:00
HTML5Badge.js Try moving the glitch badges to the top 2021-06-24 20:05:31 -07:00
ItemCard.js [WIP] UI for isManuallyNc support tool 2021-02-22 19:11:03 -08:00
MarkdownAndSafeHTML.js Add description to list page 2021-06-18 17:26:21 -07:00
OutfitMovieLayer.js Improve movie cancels and error handling 2021-06-26 12:04:40 -07:00
OutfitPreview.js Improve movie cancels and error handling 2021-06-26 12:04:40 -07:00
OutfitThumbnail.js Move getVisibleLayers to a new shared directory 2021-05-13 17:35:58 -07:00
PaginationToolbar.js Keep prev/next enabled while pages load 2021-06-21 13:50:49 -07:00
SpeciesColorPicker.js Improve item page perf by caching valids in client 2021-06-11 07:37:49 -07:00
SquareItemCard.js Highlight trade matches with pretty shadow 2021-06-19 11:43:51 -07:00
useCurrentUser.js Create Cypress command to log in 2021-04-19 02:22:45 -07:00
useOutfitAppearance.js Move getVisibleLayers to a new shared directory 2021-05-13 17:35:58 -07:00
useRequireLogin.js simulate login with IMPRESS_LOG_IN_AS flag 2021-01-05 23:22:03 -08:00
WIPCallout.js First draft of UserItemListPage 2021-06-12 04:45:23 -07:00