lbry-desktop/ui/component
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
..
abandonedChannelPreview allow unsubscribe from deleted channels by navigating from sidebar 2021-04-30 11:06:34 -04:00
app More master reconciliation 2021-04-27 23:05:38 -04:00
autoplayCountdown Fix initial pause state for the Autoplay Countdown 2020-12-21 12:14:31 -05:00
button move nudge to FileReactions and add src param to sign up redirects 2020-11-17 14:32:53 -05:00
cardVerify add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
channelAbout Only apply Staked Levels to Comments (allow it in Posts) 2021-04-09 11:27:07 -04:00
channelBlockButton New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
channelContent Fix blocking/muting issues on channel pages (#6034) 2021-05-15 01:53:56 -04:00
channelDiscussion review changes 2021-02-04 20:55:36 -05:00
channelEdit update master with some odysee changes 2021-04-05 13:26:52 -04:00
channelMuteButton New moderation tools: block & mute (#5572) 2021-03-03 13:50:16 -05:00
channelSelector add new 'livestream' publish mode 2021-03-22 15:30:03 -07:00
channelStakedIndicator Move getChannelLevel to a selector. Requires accompanying lbry-redux PR. 2021-03-12 10:38:16 -05:00
channelThumbnail ChannelThumbnail fixes (#6075) 2021-05-17 15:51:21 -04:00
channelTitle improve empty states 2020-03-19 12:12:19 -04:00
claimAbandonButton style pass for channel edit 2020-07-01 22:04:23 -04:00
claimEffectiveAmount show loading while searching 2020-12-28 15:00:15 -05:00
claimInsufficientCredits new lbc icon 2020-09-29 17:12:32 -04:00
claimLink Fix channel links being filtered by Staked Level 2021-04-26 14:51:58 -04:00
claimList Fix blocking/muting issues on channel pages (#6034) 2021-05-15 01:53:56 -04:00
claimListDiscover Fix blocking/muting issues on channel pages (#6034) 2021-05-15 01:53:56 -04:00
claimListHeader use show mature selector (#5803) 2021-03-31 16:55:26 -04:00
claimMenuList Fix blocking/muting issues on channel pages (#6034) 2021-05-15 01:53:56 -04:00
claimPreview ClaimListDiscover: repeat livestream-sorting changes in ClaimTilesDiscover 2021-04-30 14:11:42 -04:00
claimPreviewSubtitle use new isLivestream (placeholder stream) selector 2021-03-25 20:14:24 -04:00
claimPreviewTile Fix blocking/muting issues on channel pages (#6034) 2021-05-15 01:53:56 -04:00
claimPreviewTitle cleanup 2020-03-19 12:12:19 -04:00
claimRepostAuthor add channel staked amount indicator on channel thumbnails 2021-02-18 01:14:39 -05:00
claimSupportButton String fix for 'Support Repost' 2021-01-21 14:31:31 -05:00
claimTags better posts styling 2021-03-11 14:12:59 -05:00
claimTilesDiscover Livestream-only query cleanup. (#6036) 2021-05-15 01:52:24 -04:00
claimUri bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
comment hyperchats 2021-04-23 16:20:17 -04:00
commentCreate own comments show first in controversial / best #5905 (#5939) 2021-05-15 00:56:58 -04:00
commentMenuList Livestream comment delete/edit fix (#5971) 2021-05-04 11:08:36 -04:00
commentReactions hide staked indicator on creator likes in comments 2021-02-18 22:29:11 -05:00
commentsList own comments show first in controversial / best #5905 (#5939) 2021-05-15 00:56:58 -04:00
commentsReplies hyperchats 2021-04-23 16:20:17 -04:00
common Posts: restore "Tip unlock | Claim details" component (#6051) 2021-05-12 14:26:47 -04:00
copyableText Swap: Don't copy the currency, only amount (#5915) 2021-04-21 11:36:34 -04:00
creatorAnalytics refactor 'active' channel usage across the app 2021-02-11 10:45:34 -05:00
dateTime Add 24-hour clock setting. 2021-04-06 13:00:10 -04:00
emailCollection all settings constants come from redux 2020-07-27 11:53:14 -04:00
embedPlayButton Revert "Use blank poster and advisory when preview is blocked by insufficient stake." 2021-04-07 00:39:35 -04:00
embedTextArea add referral code to embed links 2020-10-07 16:23:53 -04:00
errorBoundary new signin/signup (#3960) 2020-04-13 15:16:07 -04:00
expandable remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
fileActions Reporting: use upcoming new Page 2021-04-21 10:49:31 -04:00
fileAuthor better posts styling 2021-03-11 14:12:59 -05:00
fileDescription More master reconciliation 2021-04-27 23:05:38 -04:00
fileDetails make file details smaller 2020-10-30 00:04:59 -04:00
fileDownloadLink Fix broken 'Open File' icon color 2021-02-24 11:23:06 -05:00
fileDrop Add all proper react lifecycle hooks 2021-01-29 14:49:12 -05:00
filePrice new lbc icon 2020-09-29 17:12:32 -04:00
fileProperties hyperchats 2021-04-23 16:20:17 -04:00
fileReactions show total balance on wallet page/header 2021-01-22 11:46:27 -05:00
fileRender Only apply Staked Levels to Comments (allow it in Posts) 2021-04-09 11:27:07 -04:00
fileRenderDownload Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
fileRenderFloating Fix autoplay in floating mode 2021-04-02 14:35:18 -04:00
fileRenderInitiator Restore "Autoplay media files" behavior 2021-05-18 01:57:16 +08:00
fileRenderInline Fix broken video embed 2021-04-02 14:44:22 -04:00
fileSubtitle trigger file/view event for livestream claims 2021-04-14 12:26:33 -04:00
fileThumbnail Fix blank gif avatars (#6060) 2021-05-14 11:00:07 -04:00
fileTitle better posts styling 2021-03-11 14:12:59 -05:00
fileTitleSection trigger file/view event for livestream claims 2021-04-14 12:26:33 -04:00
fileType use new isLivestream (placeholder stream) selector 2021-03-25 20:14:24 -04:00
fileValues Tip-unlock: add tooltip and related strings 2021-03-25 15:35:53 -04:00
fileViewCount trigger file/view event for livestream claims 2021-04-14 12:26:33 -04:00
fileViewerEmbeddedTitle Add tooltip to embed's Title and Home button 2021-03-01 10:27:52 -05:00
formFieldPrice refactor lbrytv web server 2019-11-11 13:27:29 -05:00
header update livestream eligibilty 2021-04-12 11:17:17 -04:00
hiddenNsfwClaims fix empty state when mature content is hidden 2019-12-14 02:28:47 -05:00
homepageSelector zh languages 2021-01-11 10:30:26 -05:00
i18nMessage Fix <i18nMessage> not localizing the message. 2020-05-25 10:18:08 -04:00
IframeReact re-enable pdfs on web 2021-04-05 15:06:56 -04:00
invited flow fixes 2020-12-16 10:52:22 -05:00
inviteList update app-strings 2020-10-08 13:15:22 -04:00
inviteNew refactor 'active' channel usage across the app 2021-02-11 10:45:34 -05:00
lastReleaseChanges prevent release notes from extending beyond height of app 2021-03-18 18:17:10 -04:00
livestreamComment Livestream comment delete/edit fix (#5971) 2021-05-04 11:08:36 -04:00
livestreamComments Livestream comment delete/edit fix (#5971) 2021-05-04 11:08:36 -04:00
livestreamLayout hyperchats 2021-04-23 16:20:17 -04:00
livestreamLink fix role=button on all cards and add correct release_time flag to livestreamLink 2021-04-27 13:40:40 -04:00
livestreamList Force page size to 50 on live streams 2021-05-04 14:12:51 -04:00
markdownLink Fix channel links being filtered by Staked Level 2021-04-26 14:51:58 -04:00
nagContinueFirstRun copy changes 2020-09-29 17:12:32 -04:00
navigationButton Allow double-clicking in header to maximize the app. 2020-05-17 21:26:30 -07:00
navigationHistory remove [data-mode='dark'] 2019-11-22 16:45:33 -05:00
navigationHistoryItem cleanup css 2019-12-10 10:08:14 -05:00
navigationHistoryRecent refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notification Notification: handle "creator_comment" (#6069) 2021-05-14 10:59:36 -04:00
notificationBubble Notification bell shows is_read, not is_seen 2021-03-16 11:39:52 -04:00
notificationContentChannelMenu make notifications deleteable + unsub from the bell on notifications page 2020-11-04 10:25:49 -05:00
notificationHeaderButton swap seen & read notification behavior 2020-12-15 13:59:08 -05:00
nudgeFloating move nudge to FileReactions and add src param to sign up redirects 2020-11-17 14:32:53 -05:00
page More master reconciliation 2021-04-27 23:05:38 -04:00
postEditor Markdown editor: Remove character limit 2021-03-21 21:00:16 -04:00
postViewer Posts: restore "Tip unlock | Claim details" component (#6051) 2021-05-12 14:26:47 -04:00
previewLink refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
privacyAgreement call install/new after users select privacy options 2021-01-25 14:24:57 -05:00
publishAdditionalOptions Continuation of "Add release date field #5514" (#6049) 2021-05-15 00:10:28 -04:00
publishBid refactor 'active' channel usage across the app 2021-02-11 10:45:34 -05:00
publishDescription moar alignment 2020-10-05 14:28:19 -04:00
publishFile bugfixes 2021-04-23 14:51:09 -04:00
publishForm fix disabled publish form 2021-04-27 09:22:11 -04:00
publishFormErrors Propagate thumbnail errors to PublishFormData 2021-04-26 12:24:19 -04:00
publishName Restore 'duplicate claim URL' msg while waiting for 3704 2021-02-24 11:23:01 -05:00
publishPending add spinner to web upload message and fix double card issue 2020-09-29 17:12:32 -04:00
publishPrice new lbc icon 2020-09-29 17:12:32 -04:00
publishReleaseDate Continuation of "Add release date field #5514" (#6049) 2021-05-15 00:10:28 -04:00
publishSettings Add SETTINGS.ENABLE_PUBLISH_PREVIEW 2020-10-02 10:25:17 -04:00
recommendedContent style pass 2021-04-08 12:40:07 -04:00
reportContent remove emojis from reporting (#6042) 2021-05-12 10:19:45 -04:00
repostCreate ReportCreate: Fix anonymous url prefix 2021-04-09 17:05:20 -04:00
rewardAuthIntro add youtube sync to first run 2020-09-29 17:12:32 -04:00
rewardLink fix LbcMessage for single digit integers 2020-09-29 17:12:32 -04:00
rewardListClaimed table alignment fixes 2020-09-29 17:12:32 -04:00
rewardSummary Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
rewardTile i18n: Reward cards 2021-03-19 11:27:10 -04:00
rewardTotal new lbc icon 2020-09-29 17:12:32 -04:00
router More master reconciliation 2021-04-27 23:05:38 -04:00
searchOptions Odysee audio support (#5897) 2021-04-15 22:52:41 -04:00
searchTopClaim i18n: missing translation + emoji fixes 2021-03-29 15:50:21 -04:00
selectAsset Thumbnail: Display the same label (recommended ratio) for both URL and UPLOAD. 2021-01-27 10:21:59 -05:00
selectChannel refactor 'active' channel usage across the app 2021-02-11 10:45:34 -05:00
selectThumbnail Block encoded thumbnail URLs ('data:image') 2021-04-26 12:24:19 -04:00
settingAccountPassword settings use null when matching current browser language 2020-11-23 14:12:31 -05:00
settingAutoLaunch settings use null when matching current browser language 2020-11-23 14:12:31 -05:00
settingClosingBehavior Add app closing behavior setting 2020-08-20 01:16:11 -04:00
settingLanguage Sort the language list (correctly) 2021-04-05 14:45:21 -04:00
settingWalletServer all settings constants come from redux 2020-07-27 11:53:14 -04:00
shareButton bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
sideNavigation add tags to mobile navigation and add manage tags link on tag page 2021-04-13 17:08:24 -04:00
snackBar use LbcMessage on snackbars 2020-09-29 17:12:32 -04:00
socialShare encode share url parts 2021-01-14 11:48:42 -05:00
spinner refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
splash status -> wallet_status on wallet_status call 2021-03-15 16:19:13 -04:00
subscribeButton allow unsubscribe from deleted channels by navigating from sidebar 2021-04-30 11:06:34 -04:00
supportsLiquidate new lbc icon 2020-09-29 17:12:32 -04:00
syncEnableFlow settings use null when matching current browser language 2020-11-23 14:12:31 -05:00
syncFatalError ensure lbrytv api status is web only 2021-03-16 22:19:03 -04:00
syncPassword More master reconciliation 2021-04-27 23:05:38 -04:00
syncToggle settings use null when matching current browser language 2020-11-23 14:12:31 -05:00
tag Tag: Add "type=flow" that reflows to multiline with gaps. 2020-10-02 10:25:17 -04:00
tagsSearch tags: keep placeholder if only special tags 2021-02-04 22:36:07 -05:00
tagsSelect sync reducer stuff 2020-10-27 10:17:11 -04:00
theme flow fixes 2020-12-16 10:52:22 -05:00
transactionListTable display signing channel for tips 2021-03-08 12:31:19 -05:00
transactionListTableItem display signing channel for tips 2021-03-08 12:31:19 -05:00
txoList Re-add ability to export transactions (#5899) 2021-04-23 12:10:37 -04:00
uriIndicator add helplbrysavecrypto prompt and fix file page UI bugs 2021-04-04 23:32:47 -04:00
userChannelFollowIntro autofollow waits for prefs ready 2021-04-26 14:59:15 -04:00
userEmail Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
userEmailNew add lbry.tv is shutting down message 2021-03-19 17:58:05 -04:00
userEmailReturning add lbry.tv is shutting down message 2021-03-19 17:58:05 -04:00
userEmailVerify More master reconciliation 2021-04-27 23:05:38 -04:00
userFirstChannel record channel in analytics on first run 2020-11-30 11:50:26 -05:00
userPasswordReset Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
userPasswordSet Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
userPhoneNew Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
userPhoneVerify More master reconciliation 2021-04-27 23:05:38 -04:00
userSignIn sync changes 2020-09-10 14:20:02 -04:00
userSignInPassword Add SITE_HELP_EMAIL in strings to ease Odysee string merge and maintenance. 2021-03-08 11:33:33 -05:00
userSignOutButton add user + rewards redux code from lbryinc 2020-06-16 09:56:32 -04:00
userSignUp don't set setting until preferences are ready 2021-02-17 17:29:09 -05:00
userTagFollowIntro sync reducer stuff 2020-10-27 10:17:11 -04:00
userVerify String scrub from odysee/release merge 2020-09-30 14:06:11 -04:00
videoDuration refactor lbrytv web server 2019-11-11 13:27:29 -05:00
viewers Mobile: make double-tap match the arrow keys (+/-5s instead of 10s) 2021-04-27 09:26:19 +08:00
walletAddress ReceiveLBC: switch from Modal to Page 2021-04-13 14:02:25 -04:00
walletBackup rc fixes for electron 9 2020-10-15 19:06:47 -04:00
walletBalance open the floodgates 2021-04-14 11:00:36 -04:00
walletSend SendLBC: switch from Modal to Page 2021-04-13 14:02:25 -04:00
walletSendTip Support = Boost | Tip 2021-03-23 20:01:55 -04:00
walletSpendableBalanceHelp add immediately spendable balance inline wherever credits are used 2021-02-04 18:02:04 -05:00
walletSwap i18n update (#6039) 2021-05-15 02:01:00 -04:00
walletTipAmountSelector hyperchats 2021-04-23 16:20:17 -04:00
webUploadList Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
wunderbar improved mobile-search experience 2020-12-11 14:37:06 -05:00
wunderbarSuggestion add channel staked amount indicator on channel thumbnails 2021-02-18 01:14:39 -05:00
wunderbarSuggestions add back tags search 2021-04-13 13:21:44 -04:00
wunderbarTopSuggestion cleanup 2020-12-03 16:18:04 -05:00
youtubeBadge move youtube badge to 'channel about' section 2020-10-06 16:30:03 -04:00
youtubeTransferStatus More master reconciliation 2021-04-27 23:05:38 -04:00
yrbl winning claim style pass 2020-12-16 14:58:30 -05:00
yrblWalletEmpty ReceiveLBC: switch from Modal to Page 2021-04-13 14:02:25 -04:00
zoomableImage Zoomable image viewer in Markdown (posts and comments) 2021-01-27 10:06:31 -05:00