lbry-desktop/ui/component
infinite-persistence eb5a6ccde9 Memoize GetLinksData for performance
`GetLinksData` is somewhat expensive.  The value won't change until user changes the window size or selects another homepage.

As we can't call an `effect` within a `memo`, we had to extract out `isLargeScreen` as an input parameter, which is fine as it makes `GetLinksData` more functional (functional programming).
2021-12-08 13:59:33 -05:00
..
abandonedChannelPreview Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
app Upload: tab sync and various fixes (#428) 2021-12-07 09:48:09 -05:00
autoplayCountdown Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
blockList Blocklist: don't show pagination widget when searching. 2021-09-11 21:16:42 +08:00
button support embed preference (#7114) 2021-09-18 10:23:30 -04:00
cardVerify updated code 2021-07-03 14:42:37 -04:00
channelAbout Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00
channelBlockButton Simplify 'selectClaimIdForUri' 2021-11-10 16:50:26 +08:00
channelContent Restore 'https' to dmca link and remove actual dup 2021-11-30 14:21:33 +08:00
channelDiscussion Lazy-load comment components 2021-11-11 15:09:28 -05:00
channelEdit Misc updates 2021-11-29 20:32:39 -05:00
channelMentionSuggestion Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
channelMentionSuggestions Cache the processing of ChannelMentionSuggestions (#309) 2021-11-17 11:47:56 -05:00
channelMentionTopSuggestion Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
channelMuteButton Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
channelSelector Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
channelStakedIndicator Fix memo: stake indicator 2021-11-11 10:23:28 +08:00
channelThumbnail Misc updates 2021-11-29 20:32:39 -05:00
channelTitle Simplify makeSelectTitleForUri 2021-11-16 12:23:18 +08:00
claimAbandonButton Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
claimAuthor Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
claimCollectionAdd Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
claimCollectionAddButton Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
claimEffectiveAmount Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
claimInsufficientCredits Cost Info selector fixes 2021-11-19 16:01:25 +08:00
claimLink Fix some certain wordings breaking page (#440) 2021-12-07 14:03:19 -05:00
claimList Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
claimListDiscover Add pinning in Category Pages's Trending Tab (#399) 2021-12-01 10:18:57 -05:00
claimListHeader Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
claimMenuList Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
claimPreview Fix inability to unblock an abandoned claim 2021-12-01 21:21:09 +08:00
claimPreviewReset Remove claim search long poll + introduce pending state that blocks render + avoid polling status for non-owned claim (#320) 2021-11-18 14:43:39 -05:00
claimPreviewSubtitle Fix memo: isLivestream & isLivestreamActive 2021-11-16 11:52:35 +08:00
claimPreviewTile Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
claimPreviewTitle Simplify makeSelectTitleForUri 2021-11-16 12:23:18 +08:00
claimProperties Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
claimRepostAuthor Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
claimSupportButton Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
claimTags Optimize tags and followedTags 2021-10-20 11:29:16 +08:00
claimTilesDiscover Re-enable reposts on homepages (#352) 2021-11-24 11:11:25 -05:00
claimType Fix memo: isLivestream & isLivestreamActive 2021-11-16 11:52:35 +08:00
claimUri Fix url selectors 2021-11-17 19:57:04 +08:00
collectionActions Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
collectionContentSidebar Optimize selectClaimIsMine 2021-11-11 16:10:06 +08:00
collectionEdit Simplify makeSelectTitleForUri 2021-11-16 12:23:18 +08:00
collectionMenuList Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
collectionPreviewOverlay Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
collectionPreviewTile Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
collectionSelectItem Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
collectionsListMine improve playlists display (#232) 2021-11-05 21:00:27 -04:00
comment Attempt to speed up sidebar menu for mobile (#283) 2021-11-12 10:59:11 -05:00
commentCreate Fix cancel sending sticker (#447) 2021-12-08 09:17:22 -05:00
commentMenuList Un-authenticated resolve (#341) 2021-11-24 09:33:34 -05:00
commentReactions Optimize selectClaimIsMine 2021-11-11 16:10:06 +08:00
commentsList Optimize selectClaimIsMine 2021-11-11 16:10:06 +08:00
commentsReplies selectClaimIsMineForUri to replace makeSelectClaimIsMine 2021-11-10 16:49:12 +08:00
common i18n update 2021-11-29 08:45:57 +08:00
copyableText Restore "Stream Key Button (#7127)" + lint and modifications 2021-09-23 20:13:02 +08:00
creatorAnalytics Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
dateTime Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
emailCollection Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
embedPlayButton Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
embedTextArea [oEmbed] some changes and fixes (#392) 2021-12-01 10:36:52 -05:00
errorBoundary Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
expandable Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
fileActions Cost Info selector fixes 2021-11-19 16:01:25 +08:00
fileDescription Optimize selectClaimIsMine 2021-11-11 16:10:06 +08:00
fileDetails Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
fileDownloadLink Cost Info selector fixes 2021-11-19 16:01:25 +08:00
fileDrop Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
filePrice Cost Info selector fixes 2021-11-19 16:01:25 +08:00
fileReactions Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
fileRender Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
fileRenderDownload Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00
fileRenderFloating Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
fileRenderInitiator Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
fileRenderInline Cost Info selector fixes 2021-11-19 16:01:25 +08:00
fileSubtitle Reduce the chain of renders when Viewer Count is updated 2021-11-17 18:16:01 +08:00
fileThumbnail Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
fileTitle Simplify makeSelectTitleForUri 2021-11-16 12:23:18 +08:00
fileTitleSection Cost Info selector fixes 2021-11-19 16:01:25 +08:00
fileType Fix memo: isLivestream & isLivestreamActive 2021-11-16 11:52:35 +08:00
fileValues Optimize selectClaimIsMine 2021-11-11 16:10:06 +08:00
fileViewCount get active viewers even when not live (we want waiting count) (#322) 2021-11-18 18:41:43 -05:00
fileViewCountInline Fix memo: makeSelectViewCountForUri, makeSelectSubCountForUri 2021-11-16 08:15:24 +08:00
fileViewerEmbeddedTitle Simplify makeSelectTitleForUri 2021-11-16 12:23:18 +08:00
fileWatchLaterLink Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
formFieldPrice refactor lbrytv web server 2019-11-11 13:27:29 -05:00
header Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
hiddenNsfwClaims Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
homepageSelector Move combobox to right | Move "Search only in language" into separate row 2021-08-23 23:45:09 +08:00
i18nMessage Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
IframeReact Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
invited Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
inviteList update app-strings 2020-10-08 13:15:22 -04:00
inviteNew Remove unused props 2021-12-02 20:41:02 +08:00
lastReleaseChanges prevent release notes from extending beyond height of app 2021-03-18 18:17:10 -04:00
livestreamComment Fix memo: stake indicator 2021-11-11 10:23:28 +08:00
livestreamComments Reduce the chain of renders when Viewer Count is updated 2021-11-17 18:16:01 +08:00
livestreamLayout Attempt to speed up sidebar menu for mobile (#283) 2021-11-12 10:59:11 -05:00
livestreamLink Fix livestream state issues. Create unified long polling mechanism. 2021-11-10 08:21:15 +08:00
livestreamList Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
loadingBarOneOff Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
loginGraphic FileThumbnail: don't go through optimizer if GIF 2021-06-23 14:15:37 -04:00
logo Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
markdownLink Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
maxPurchasePrice [Content] refactor and grab Max Purchase Price 2021-08-23 23:45:10 +08:00
nagContinueFirstRun Kill makeSelectClientSetting 2021-11-23 12:29:53 +08: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 Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
navigationHistoryRecent refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notification Lazy-load comment components 2021-11-11 15:09:28 -05:00
notificationBubble recon notify components 2021-07-19 22:16:29 -04:00
notificationContentChannelMenu Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
notificationHeaderButton recon notify components 2021-07-19 22:16:29 -04:00
nudgeFloating move nudge to FileReactions and add src param to sign up redirects 2020-11-17 14:32:53 -05:00
optimizedImage [New Feature] Comment Emotes (#125) 2021-10-27 14:20:47 -04:00
page Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
playlistsMine improve playlists display (#232) 2021-11-05 21:00:27 -04:00
postEditor Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
postViewer selectClaimIsMineForUri to replace makeSelectClaimIsMine 2021-11-10 16:49:12 +08:00
previewLink Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
previewOverlayProperties Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
privacyAgreement Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00
publishAdditionalOptions Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
publishBid Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
publishDescription Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
publishFile Fix memo: isLivestream & isLivestreamActive 2021-11-16 11:52:35 +08:00
publishForm Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
publishFormErrors Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00
publishName Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
publishPending Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
publishPrice Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
publishReleaseDate Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
recommendedContent fix linter (#438) 2021-12-06 13:46:45 -05:00
reportContent Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
repostCreate Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
rewardAuthIntro add youtube sync to first run 2020-09-29 17:12:32 -04:00
rewardLink fix accessibility issue on rewards page #5991 2021-07-20 12:14:28 -05:00
rewardListClaimed table alignment fixes 2020-09-29 17:12:32 -04:00
rewardSummary FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
rewardTile fix accessibility issue on rewards page #5991 2021-07-20 12:14:28 -05:00
rewardTotal new lbc icon 2020-09-29 17:12:32 -04:00
router Memoize GetLinksData for performance 2021-12-08 13:59:33 -05:00
searchChannelField Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
searchOptions Remove unused items 2021-07-14 11:13:13 +08:00
searchTopClaim Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
selectAsset Fix cover upload ux (#184) 2021-10-29 10:53:46 -04:00
selectChannel Use the lighter activeChannelId 2021-12-02 21:00:17 +08:00
selectThumbnail Misc updates 2021-11-29 20:32:39 -05:00
settingAccount Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' 2021-11-08 15:02:44 +08:00
settingAccountPassword Move 'update password' into a subpage 2021-08-23 23:45:31 +08:00
settingAppearance Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
settingAutoLaunch Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
settingClosingBehavior Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
settingCommentsServer Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
settingContent Re-enable reposts on homepages (#352) 2021-11-24 11:11:25 -05:00
settingLanguage Fix jumpy ui when changing language 2021-09-13 15:44:29 +08:00
settingsRow Add hints if an error occurs subscribing to notifications (#143) 2021-11-01 14:51:23 -04:00
settingsSideNavigation Settings: use 'smooth' instead of 'instant' scroll. 2021-09-13 09:59:11 +08:00
settingSystem FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
settingUnauthenticated Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
settingWalletServer Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
shareButton bring in 'notifications' state from lbry-redux 2020-06-16 09:56:32 -04:00
sideNavigation Memoize GetLinksData for performance 2021-12-08 13:59:33 -05:00
skipNavigationButton add SkipNavigationButton to its own file 2021-07-20 19:31:26 -05:00
snackBar adjust css for toast message so that it behaves as expected (text truncation via ellipsis) (#7213) 2021-10-04 09:21:59 -04:00
socialShare Simplify makeSelectTitleForUri 2021-11-16 12:23:18 +08:00
spinner refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
splash Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
subscribeButton Fix url selectors 2021-11-17 19:57:04 +08:00
supportsLiquidate FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
syncEnableFlow Kill makeSelectClientSetting 2021-11-23 12:29:53 +08: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 Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
tag Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
tagsSearch Moderator Delegation GUI 2021-06-18 15:46:51 -04:00
tagsSelect FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
theme flow fixes 2020-12-16 10:52:22 -05:00
themeSelector Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
transactionListTable Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
transactionListTableItem Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
txoList FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
uriIndicator Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
userChannelFollowIntro Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
userEmail Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00
userEmailNew Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
userEmailReturning Add sign-in graphics for SIMPLE_SITE 2021-05-27 14:21:16 +08:00
userEmailVerify More master reconciliation 2021-04-27 23:05:38 -04:00
userFirstChannel Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08: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 Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
userTagFollowIntro sync reducer stuff 2020-10-27 10:17:11 -04:00
userVerify Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00
videoDuration Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
viewers Finish cleaning out DOM (#413) 2021-12-02 13:22:51 -05:00
walletAddress Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
walletBackup rc fixes for electron 9 2020-10-15 19:06:47 -04:00
walletBalance FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
walletFiatAccountHistory i18n 2021-10-15 14:23:40 +08:00
walletFiatBalance i18n - stripe 2021-08-27 13:14:15 +08:00
walletFiatPaymentBalance Move transactions from Settings to Wallet (#6871) 2021-08-13 13:59:43 -04:00
walletFiatPaymentHistory i18n 2021-10-15 14:23:40 +08:00
walletSend Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' 2021-11-08 15:02:44 +08:00
walletSendTip Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
walletSpendableBalanceHelp [New Feature] Stickers (#131) 2021-10-28 16:25:34 -04:00
walletSwap General-purpose "Confirm" modal 2021-10-29 13:36:27 +08:00
walletTipAmountSelector Fix string (#257) 2021-11-09 15:25:19 -05:00
webUploadList Upload: tab sync and various fixes (#428) 2021-12-07 09:48:09 -05:00
wunderbar Fix 'secondary.js' code coverage 2021-11-01 15:25:40 +08:00
wunderbarSuggestion Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
wunderbarSuggestions Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
wunderbarTopSuggestion Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
youtubeBadge Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
youtubeTransferStatus Route recommendation search to recsys + add user_id (#353) 2021-11-24 15:25:22 -05:00
yrbl Fix annoying hierarchy error with Yrbl 2021-11-17 10:27:11 +08:00
yrblWalletEmpty Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
zoomableImage Zoomable image viewer in Markdown (posts and comments) 2021-01-27 10:06:31 -05:00