lbry-desktop/ui
infinite-persistence 1e7e7a7b7a
Notifications: use fetched urls instead of resolving (#820)
* Fix avatar occasionally stuck in spaceman

## Issue
Sometimes, we'll see a channel profile (e.g. in upper-right, in channel selector) stuck in the fallback Spaceman image.

This is due to OptimizedImage always starting with a blank src, and updated later when the mounted size has been determined. ChannelThumbnail, which uses OptimizedImage, captured the `onError` due to blank src.

## Fix
Don't mount the <img> until the optimum size has been determined.

* FileThumbnail: skip resolve if thumbnail url is specified

* UriIndicator: skip resolve if channel info is specified

* Notifications: disable batch resolve + use fetched data if available + fallback to resolve if n/a

The fallback is using the individual resolve when no direct data is provided and claim is undefined.
2022-02-07 15:59:20 -05:00
..
component Notifications: use fetched urls instead of resolving (#820) 2022-02-07 15:59:20 -05:00
constants i18n updates and fixes (#822) 2022-02-07 13:15:22 -05:00
effects useHasWindowWidthChangedEnough 2022-02-07 10:18:50 -05:00
modal Remove unused FIRST_SUBSCRIPTION modal -- it is now just a toast. 2022-01-19 13:12:09 -05:00
page Notifications: use fetched urls instead of resolving (#820) 2022-02-07 15:59:20 -05:00
redux Patch to restore position upon returning to video until more fully fleshed out fix can be introduced (#817) 2022-02-07 12:51:26 -05:00
scss Add padding around search input 2022-02-01 10:20:00 -05:00
util Add escapeHtmlProperty on url params 2022-01-31 14:22:39 -05:00
analytics.js More cleanup 2022-01-31 11:39:03 -05:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js Remove custom comments server 2022-02-03 10:24:58 -05:00
i18n.js Add env to auto report new strings in console 2022-01-05 00:26:31 -08:00
index.jsx [oEmbed] some changes and fixes (#392) 2021-12-01 10:36:52 -05:00
lbry.js Un-authenticated resolve (#341) 2021-11-24 09:33:34 -05:00
logWarningConsoleMessage.js new lbc icon 2020-09-29 17:12:32 -04:00
native.js working 2020-12-16 10:52:22 -05:00
reducers.js Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
rewards.js Change logic for daily reward claiming to weekly 2021-12-23 02:40:58 -05:00
store.js Patch to restore position upon returning to video until more fully fleshed out fix can be introduced (#817) 2022-02-07 12:51:26 -05:00