lbry-desktop/ui/page
infinite-persistence 2a6df18b72
ChannelThumbnail fixes (#6075)
* Restore "use cdn for channel thumbnails"

This reverts commit e7adc607fa.

* ChannelThumbnail: disable optimization in Channel Page and for GIFs

## Issue
5564: Don't use optimized URLs on channel pages (profile/banner)

## Notes
This is not the best/full solution yet, but it is better than what we have to today (one step in the right direction).

Optimized channel thumbnail size is currently hardcoded to a lowest common denominator.
- Pro(s):
  - For images used in multiple places (different sizes) in a page, the total time needed to get the optimized version for each size is too much. Also, the optimizer seems to increase the size of the image in some cases. So, getting 1 image and re-using it is faster for this scenario.
  - Simpler code (no need to mount first -> get dimension -> load image)
- Cons:
  - We aren't fully optimizing the size, so not really addressing Core Web Vitals score problem.
    - e.g. in the front page, we could have used a smaller image for the channel thumbnails.
  - We haven't address the problem with large screen sizes.

* Restore channel selector

This reverts b5cc0bb42d

* ChannelThumbnail: fix lazy-loading

- Closes 6066: Revisit lazy-loading Channel thumbnails
- Properly fixes 5933: Thumbnail lazy-load causes ChannelSelector icon to not update.
    - Add effect-dependency on `channelThumbnail` and `thumbError`.
- Really perform the lazy-loading now.
    - `data-src` was not used, so it wasn't actually lazy loading previously.
2021-05-17 15:51:21 -04:00
..
backup add wallet sync message on wallet page 2020-02-21 13:42:17 -05:00
buy integrate some Odysee code with master 2021-04-27 19:56:30 -04:00
channel ChannelThumbnail fixes (#6075) 2021-05-17 15:51:21 -04:00
channelNew claim email_verified reward on channel/new page 2021-04-04 22:16:45 -04:00
channels More master reconciliation 2021-04-27 23:05:38 -04:00
channelsFollowing Homepage|Discover: hide livestreams, then append active livestreams at the top. 2021-04-30 14:11:42 -04:00
channelsFollowingDiscover New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
checkoutPage new layout 🕺 2020-09-29 17:12:32 -04:00
creatorDashboard refactor 'active' channel usage across the app 2021-02-11 10:45:34 -05:00
discover Homepage|Discover: hide livestreams, then append active livestreams at the top. 2021-04-30 14:11:42 -04:00
embedWrapper use pending livestreams on dash, filter modes 2021-03-24 13:36:50 -04:00
file update master with some odysee changes 2021-04-05 13:26:52 -04:00
fileListDownloaded new lbc icon 2020-09-29 17:12:32 -04:00
fileListPublished use button-toggle group for page title 2021-03-16 12:04:39 -04:00
fourOhFour refactor lbrytv web server 2019-11-11 13:27:29 -05:00
help integrate some Odysee code with master 2021-04-27 19:56:30 -04:00
home Homepage|Discover: hide livestreams, then append active livestreams at the top. 2021-04-30 14:11:42 -04:00
invite add youtube sync to first run 2020-09-29 17:12:32 -04:00
invited new layout 🕺 2020-09-29 17:12:32 -04:00
library new lbc icon 2020-09-29 17:12:32 -04:00
listBlocked improve mobile style and initial blocked screen loading 2021-03-05 16:51:38 -05:00
livestream hyperchats 2021-04-23 16:20:17 -04:00
livestreamCurrent hyperchats 2021-04-23 16:20:17 -04:00
livestreamSetup bugfixes 2021-04-23 14:51:09 -04:00
navigationHistory refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notifications fetch notofication/categories for notification types dropdown 2021-04-30 12:45:46 -04:00
passwordReset new layout 🕺 2020-09-29 17:12:32 -04:00
passwordSet new layout 🕺 2020-09-29 17:12:32 -04:00
publish add initial support for comment API outside of SDK 2021-02-11 10:45:34 -05:00
receive ReceiveLBC: switch from Modal to Page 2021-04-13 14:02:25 -04:00
report Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
reportContent Implement ReportContent page 2021-04-21 10:49:31 -04:00
repost changes, bump 2020-12-28 15:00:15 -05:00
rewards More master reconciliation 2021-04-27 23:05:38 -04:00
rewardsVerify rewards redirect fix for manually approved users 2020-07-03 13:18:28 -04:00
search integrate some Odysee code with master 2021-04-27 19:56:30 -04:00
send SendLBC: switch from Modal to Page 2021-04-13 14:02:25 -04:00
settings Fix the "Automatic dark mode" labels having the same name. Now the correct input is selected when clicking the "To" label. 2021-04-06 13:00:10 -04:00
settingsAdvanced fix wrong word to 2021-02-03 23:39:40 -05:00
settingsNotifications i18n: Notification setting strings 2021-03-19 11:27:10 -04:00
show use isChannel from parseURI 2021-04-12 12:24:04 -04:00
signIn new layout 🕺 2020-09-29 17:12:32 -04:00
signInVerify copy changes 2020-09-29 17:12:32 -04:00
signInWalletPassword get sync password out of signing flow 2020-09-21 14:11:25 -04:00
signUp new layout 🕺 2020-09-29 17:12:32 -04:00
swap CoinSwap: websocket + multi-coin 2021-04-13 14:02:25 -04:00
tagsFollowing Enable tile layout for 'Your Tags' page 2020-12-18 14:02:50 -05:00
tagsFollowingManage per channel notification settings 2020-11-02 14:13:13 -05:00
top integrate some Odysee code with master 2021-04-27 19:56:30 -04:00
wallet use totalBalance for check to show empty wallet page or not 2021-02-05 13:12:15 -05:00
welcome new layout 🕺 2020-09-29 17:12:32 -04:00
youtubeSync Corrected channel_language order 2021-03-21 20:00:16 -04:00