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
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
checkoutPage
creatorDashboard
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
fileListPublished
fourOhFour
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
invited
library
listBlocked
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
notifications fetch notofication/categories for notification types dropdown 2021-04-30 12:45:46 -04:00
passwordReset
passwordSet
publish
receive ReceiveLBC: switch from Modal to Page 2021-04-13 14:02:25 -04:00
report
reportContent Implement ReportContent page 2021-04-21 10:49:31 -04:00
repost
rewards More master reconciliation 2021-04-27 23:05:38 -04:00
rewardsVerify
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
settingsNotifications
show use isChannel from parseURI 2021-04-12 12:24:04 -04:00
signIn
signInVerify
signInWalletPassword
signUp
swap CoinSwap: websocket + multi-coin 2021-04-13 14:02:25 -04:00
tagsFollowing
tagsFollowingManage
top integrate some Odysee code with master 2021-04-27 19:56:30 -04:00
wallet
welcome
youtubeSync Corrected channel_language order 2021-03-21 20:00:16 -04:00