lbry-desktop/ui/page
infinite-persistence 6f8758c819
Fix and optimize makeSelectIsSubscribed (#273)
## Issues with `makeSelectIsSubscribed`
- It will not return true if the uri provided is canonical, because the compared subscription uri is in permanent form. This was causing certain elements like the Heart to not appear in claim tiles.
- It is super slow for large subscriptions not just because of the array size + being a hot selector, but also because it is looking up the claim twice (not memo'd) and also calling `parseURI` to determine if it's a channel, which is unnecessary if you already have the claim.

## Changes
- Optimize the selector to only look up the claim once, and make operations using already-obtained info.
2021-11-12 09:47:07 -05:00
..
backup add wallet sync message on wallet page 2020-02-21 13:42:17 -05:00
buy Wallet swap disabled (#107) 2021-10-22 10:48:34 -04:00
channel Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
channelNew Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
channels Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' 2021-11-08 15:02:44 +08:00
channelsFollowing Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
channelsFollowingDiscover use homepage LATEST for following discover (#7185) 2021-09-29 15:22:46 -04:00
checkoutPage Revert "move stuff to web (#6537)" 2021-07-19 10:12:57 -04:00
collection Optimize selectClaimIsMine 2021-11-11 16:10:06 +08:00
creatorDashboard Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' 2021-11-08 15:02:44 +08:00
discover Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00
embedWrapper FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
file Lazy-load comment components 2021-11-11 15:09:28 -05:00
fileListDownloaded Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
fileListPublished Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
fourOhFour Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
help Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00
home Livestream category improvements (#7115) 2021-09-24 10:26:21 -04:00
invite Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
invited Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
library Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
listBlocked Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' 2021-11-08 15:02:44 +08:00
lists improve playlists display (#232) 2021-11-05 21:00:27 -04:00
livestream Lazy-load comment components 2021-11-11 15:09:28 -05:00
livestreamCurrent Add 'ENABLE_WIP_FEATURES' for live page. 2021-08-12 21:52:58 -07:00
livestreamSetup Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' 2021-11-08 15:02:44 +08:00
navigationHistory refactor lbrytv web server 2019-11-11 13:27:29 -05:00
notifications Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
ownComments Lazy-load comment components 2021-11-11 15:09:28 -05:00
passwordReset new layout 🕺 2020-09-29 17:12:32 -04:00
passwordSet new layout 🕺 2020-09-29 17:12:32 -04:00
passwordUpdate Move 'update password' into a subpage 2021-08-23 23:45:31 +08:00
playlists improve playlists display (#232) 2021-11-05 21:00:27 -04:00
publish Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
receive Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
report Use sentence case for all card titles 2020-09-29 17:12:32 -04:00
reportContent Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
repost Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
rewards FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
rewardsVerify rewards redirect fix for manually approved users 2020-07-03 13:18:28 -04:00
search Fix top search for channels (#104) 2021-10-20 12:55:21 -04:00
send Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
settings Page: the 'settingsPage' option now automatically adds the sidebar. 2021-08-23 23:45:25 +08:00
settingsCreator Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
settingsNotifications Browser push notifications (#133) 2021-10-27 10:38:10 -04:00
settingsStripeAccount Merge pull request #6917 from lbryio/squashed-and-merged 2021-08-24 18:46:47 +02:00
settingsStripeCard Fiat tip improvements (#7038) 2021-09-09 12:52:03 -04:00
show Optimize selectClaimIsMine 2021-11-11 16:10:06 +08:00
signIn new layout 🕺 2020-09-29 17:12:32 -04:00
signInVerify review this 2021-07-13 23:45:51 -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 Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
tagsFollowing Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
tagsFollowingManage per channel notification settings 2020-11-02 14:13:13 -05:00
top Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
wallet Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
welcome Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
youtubeSync Odysee specific changes and other misc improvements (#219) 2021-11-03 15:47:19 -04:00