lbry-desktop/ui/component
Rafael Saes 83dbe8ec7c
Playlists v2: Refactors, touch ups + Queue Mode (#1604)
* Playlists v2

* Style pass

* Change playlist items arrange icon

* Playlist card body open by default

* Refactor collectionEdit components

* Paginate & Refactor bid field

* Collection page changes

* Add Thumbnail optional

* Replace extra info for description on collection page

* Playlist card right below video on medium screen

* Allow editing private collections

* Add edit option to menus

* Allow deleting a public playlist but keeping a private version

* Add queue to Save menu, remove edit option from Builtin pages, show queue on playlists page

* Fix scroll to recent persisting on medium screen

* Fix adding to queue from menu

* Fixes for delete

* PublishList: delay mounting Items tab to prevent lock-up (#1783)

For a large list, the playlist publish form is unusable (super-slow typing) due to the entire list being mounted despite the tab is not active.
The full solution is still to paginate it, but for now, don't mount the tab until it is selected. Add a spinner to indicate something is loading. It's not prefect, but it's throwaway code anyway. At least we can fill in the fields properly now.

* Batch-resolve private collections (#1782)

* makeSelectClaimForClaimId --> selectClaimForClaimId

Move away from the problematic `makeSelect*`, especially in large loops.

* Batch-resolve private collections
1758

This alleviates the lock-up that is caused by large number of invidual resolves. There will still be some minor stutter due to the large DOM that React needs to handle -- that is logged in 1758 and will be handled separately.

At least the stutter is short (1-2s) and the app is still usable.
Private list items are being resolve individually, super slow if the list is large (>100). Published lists doesn't have this issue.
doFetchItemsInCollections contains most of the useful logic, but it isn't called for private/built-in lists because it's not an actual claim.
Tweaked doFetchItemsInCollections to handle private (UUID-based) collections.

* Use persisted state for floating player playlist card body
- I find it annoying being open everytime

* Fix removing edits from published playlist

* Fix scroll on mobile

* Allow going editing items from toast

* Fix ClaimShareButton

* Prevent edit/publish of builtin

* Fix async inside forEach

* Fix sync on queue edit

* Fix autoplayCountdown replay

* Fix deleting an item scrolling the playlist

* CreatedAt fixes

* Remove repost for now

* Anon publish fixes

* Fix mature case on floating

Co-authored-by: infinite-persistence <64950861+infinite-persistence@users.noreply.github.com>
2022-07-13 10:59:59 -03:00
..
abandonedChannelPreview
app Fix url problems (#1679) 2022-07-12 16:58:18 -03:00
autoplayCountdown Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
blockList MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
button Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
buttonAddToQueue Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
cardVerify
channelAbout clear up about page 2022-05-10 14:10:31 -04:00
channelBlockButton Simplify 'selectClaimIdForUri' 2021-11-10 16:50:26 +08:00
channelContent default fee amount to undefined (don't pass) 2022-07-07 16:37:37 -04:00
channelDiscussion Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
channelEdit Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
channelMuteButton
channelSelector Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
channelStakedIndicator MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
channelThumbnail Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
channelTitle Simplify makeSelectTitleForUri 2021-11-16 12:23:18 +08:00
claimAbandonButton
claimAuthor
claimCollectionAddButton Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimDescription Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimEffectiveAmount
claimInsufficientCredits Selector change 2022-04-20 09:18:43 -04:00
claimLink
claimList Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimListDiscover Add "Hide Repost" button in channel page (#1796) 2022-07-05 13:20:10 -04:00
claimListHeader Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimMenuList Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimPreview Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimPreviewProgress
claimPreviewReset
claimPreviewSubtitle Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimPreviewTile Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimPreviewTitle Use titles vs names on channel claim previews, but show name in channel areas (#962) 2022-02-25 09:04:23 -05:00
claimProperties Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
claimRepostAuthor
claimRepostButton Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimShareButton Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimSupportButton Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimTags Optimize tags and followedTags 2021-10-20 11:29:16 +08:00
claimTilesDiscover Replace state with ref for uriBuffer 2022-05-31 10:38:39 +08:00
claimType Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
claimUri Fix url selectors 2021-11-17 19:57:04 +08:00
collectionEditButtons Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
collectionGeneralTab Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
collectionItemsList Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
collectionMenuList Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
collectionPreviewOverlay Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
colorPicker MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
comment Comment: add hideContextMenu + hide reply button too when hideActions is set 2022-07-12 15:08:04 +08:00
commentCreate Tweak tip/boost toast message 2022-06-02 15:36:05 +08:00
commentMenuList Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
commentReactions
commentsList Fix comment sort change (#1556) 2022-05-23 11:34:32 -03:00
commentsReplies
common Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
copyableText Restore "Stream Key Button (#7127)" + lint and modifications 2021-09-23 20:13:02 +08:00
creatorAnalytics use new reporting endpoint 2022-06-23 08:47:34 -04:00
dateTime Use generic string for seconds ago when needed 2022-01-05 09:27:52 -05:00
emailCollection Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
embedTextArea
errorBoundary Revert "Test 'Rich Test' error screenshot" 2022-05-30 22:50:40 +08:00
fileActions Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
fileDescription Fixes 2022-02-08 12:35:40 -05:00
fileDetails Odysee updates 2022-04-14 20:31:16 -04:00
fileDownloadLink Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
fileDrop Paste/drop images directly to markdown editor 2022-04-01 12:36:49 -04:00
fileHideRecommendation FYP: allow mobile to reject + change phrasing 2022-03-15 20:57:28 -07:00
filePrice Selector change 2022-04-20 09:18:43 -04:00
fileReactions Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03: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 Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
fileRenderInitiator Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
fileRenderInline Selector change 2022-04-20 09:18:43 -04:00
fileSubtitle Refactor dateTime component and getTimeAgoStr function to prevent displaying comments as 'in a few seconds' 2022-01-05 09:27:52 -05:00
fileThumbnail Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
fileTitle Simplify makeSelectTitleForUri 2021-11-16 12:23:18 +08:00
fileTitleSection Geoblock: show warning for own content 2022-05-25 08:51:08 -04:00
fileType Fix memo: isLivestream & isLivestreamActive 2021-11-16 11:52:35 +08:00
fileValues
fileViewCount View/Follower count: only use compact when > 10k (#664) 2022-01-11 11:42:12 -05:00
fileViewCountInline Factor out 'toCompactNotation' 2022-01-10 10:42:56 +08:00
fileViewerEmbeddedTitle Fix embed logo links 2022-05-05 09:12:47 -04:00
fileWatchLaterLink Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
formFieldDuration
formFieldPrice refactor lbrytv web server 2019-11-11 13:27:29 -05:00
formNewCollection Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
geoRestictionInfo Geoblock: show warning for own content 2022-05-25 08:51:08 -04:00
header Show balance on large & medium screens 2022-07-11 18:52:04 +02:00
headerMenuButtons Publish revamp (Part 2) (#1781) 2022-07-11 16:12:37 +02:00
headerNotificationButton Publish revamp (Part 2) (#1781) 2022-07-11 16:12:37 +02:00
headerProfileMenuButton Publish revamp (Part 2) (#1781) 2022-07-11 16:12:37 +02:00
hiddenNsfwClaims Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
homepageSelector
homepageSort Homepage: add "reset" + 'hideByDefault' categories 2022-05-26 10:59:31 -04:00
i18nMessage Various touchups/fixes of membership functionality (#1066) 2022-03-14 22:38:45 -04:00
IframeReact
invited Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
inviteList
inviteNew
langFilterIndicator Add hint that results are being filtered by language 2022-02-25 16:53:45 -05:00
lastReleaseChanges prevent release notes from extending beyond height of app 2021-03-18 18:17:10 -04:00
livestreamChatLayout Fix Livestream Popout Chat not refreshing when closed (#1797) 2022-07-05 14:30:54 -04:00
livestreamComment PremiumBadge: retrieve membership db internally instead of from parent (#1764) 2022-07-01 15:40:06 -04:00
livestreamComments
livestreamDateTime Fix usages of I18nMessage + missed sign-in verification strings 2022-03-10 13:21:46 +08:00
livestreamLayout Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
livestreamLink
livestreamList
livestreamScheduledInfo
loadingBarOneOff Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
loginGraphic LoginGraphic: remove image resizing 2021-12-14 17:25:04 +08:00
logo Switch Logo from images to icons 2021-12-21 16:36:16 -05:00
markdownLink
maxPurchasePrice [Content] refactor and grab Max Purchase Price 2021-08-23 23:45:10 +08:00
membershipSplash optimize premium image + add smaller 2022-05-26 09:22:23 -04:00
nagContinueFirstRun
nagLocaleSwitch Reuse videojs instance between video reload, return mobile UI plugin for iOS (#1512) 2022-06-10 12:18:58 -04:00
navigationHistory
navigationHistoryItem Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
navigationHistoryRecent
notification Fix notification target for some types (#1790) 2022-07-05 06:55:04 -04:00
notificationBubble Notification Menu Upgrade (#1713) 2022-06-21 20:59:37 -04:00
notificationContentChannelMenu Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
nudgeFloating move nudge to FileReactions and add src param to sign up redirects 2020-11-17 14:32:53 -05:00
optimizedImage
page Fix url problems (#1679) 2022-07-12 16:58:18 -03:00
playlistCard Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
postEditor Publish revamp (Part 2) (#1781) 2022-07-11 16:12:37 +02:00
postViewer Geoblock: show warning for own content 2022-05-25 08:51:08 -04:00
premiumBadge PremiumBadge: retrieve membership db internally instead of from parent (#1764) 2022-07-01 15:40:06 -04:00
premiumPlusTile Remove 'now' in the ad 2022-07-06 13:07:45 +08:00
preorderButton Preorder button touchups (#1755) 2022-06-24 09:08:46 -04:00
preorderContent Preorder cleanup 2022-06-28 13:36:18 +08:00
previewLink
previewOverlayProperties Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
publish Adjust uploading label 2022-07-12 16:27:25 +02:00
publishBidField Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
ratioBar
recommendedContent Recsys: capture and use x-uuid from search results (#1727) 2022-06-22 09:43:54 -04:00
recommendedPersonal Tile Grid Revamp (#1502) 2022-05-18 13:16:35 +02:00
reportContent ReportContent: add ?commentId support (#1826) 2022-07-12 13:44:34 -04:00
repostCreate Publish revamp (Part 2) (#1781) 2022-07-11 16:12:37 +02:00
rewardAuthIntro
rewardLink
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
router Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
scheduledStreams Publish revamp (Part 2) (#1781) 2022-07-11 16:12:37 +02:00
searchChannelField Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
searchOptions Fix spelling of SORT_ASCENDING in search constants 2022-05-30 12:04:20 +08:00
searchTopClaim Publish revamp (Part 2) (#1781) 2022-07-11 16:12:37 +02:00
selectAsset
selectChannel Undo the channel-clamping and let user figure out from Toast 2022-05-06 11:31:42 -04:00
selectThumbnail Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
settingAccount
settingAccountPassword Render whole app on language change 2022-02-26 13:08:17 -05:00
settingAppearance
settingAutoLaunch
settingClosingBehavior Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
settingContent Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
settingDefaultQuality
settingLanguage
settingsRow
settingsSideNavigation
settingSystem
settingUnauthenticated Missed remaining 'homepages' imports 2022-03-04 11:10:08 +08:00
settingWalletServer
sideNavigation Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
skipNavigationButton add SkipNavigationButton to its own file 2021-07-20 19:31:26 -05:00
snackBar Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
socialShare Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
spinner
splash
subscribeButton
supportsLiquidate FAQ stuff (#109) 2021-10-21 16:21:51 -04:00
swipeableDrawer Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
swipeableDrawerExpand Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
syncEnableFlow
syncFatalError
syncPassword
syncToggle Render whole app on language change 2022-02-26 13:08:17 -05:00
tag Don't connect to the Redux store when not needed. 2021-10-24 13:04:01 +08:00
tagsSearch Publish revamp (Part 2) (#1781) 2022-07-11 16:12:37 +02:00
tagsSelect Publish revamp (Part 2) (#1781) 2022-07-11 16:12:37 +02:00
textareaSuggestionsItem PremiumBadge: retrieve membership db internally instead of from parent (#1764) 2022-07-01 15:40:06 -04:00
textareaWithSuggestions Fix undefined value case 2022-04-25 14:00:55 -04:00
theme flow fixes 2020-12-16 10:52:22 -05:00
themeSelector
transactionListTable MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
transactionListTableItem Claim title fixes 2022-02-26 13:48:22 -05:00
txoList support eur in transactions 2022-03-29 23:00:55 -04:00
uriIndicator Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
userChannelFollowIntro Rename 'community_channels.js' -> 'channels.js' for re-use 2022-05-23 10:53:23 +08:00
userEmailNew Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
userEmailReturning
userEmailVerify
userFirstChannel Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
userPasswordReset
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
userSignIn
userSignInPassword
userSignOutButton
userSignUp
userTagFollowIntro
userVerify MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
videoDuration
viewers Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
walletAddress Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
walletBackup
walletBalance
walletFiatAccountHistory Preorder content functionality (#1743) 2022-06-23 20:58:32 -04:00
walletFiatBalance Fix incorrect usages of I18nMessage 2022-02-18 20:00:36 +08:00
walletFiatPaymentBalance
walletFiatPaymentHistory Preorder content functionality (#1743) 2022-06-23 20:58:32 -04:00
walletSend
walletSendTip Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
walletSpendableBalanceHelp
walletSwap
walletTipAmountSelector
wallpaper update background URL 2022-05-06 14:28:04 -04:00
webUploadList Fix v1-publish items not removable (#1823) 2022-07-12 01:13:58 -04:00
wunderbar Fix 'secondary.js' code coverage 2021-11-01 15:25:40 +08:00
wunderbarSuggestion PremiumBadge: retrieve membership db internally instead of from parent (#1764) 2022-07-01 15:40:06 -04:00
wunderbarSuggestions
wunderbarTopSuggestion
youtubeBadge Refactor dateTime component and getTimeAgoStr function to prevent displaying comments as 'in a few seconds' 2022-01-05 09:27:52 -05:00
youtubeTransferStatus Part 1 (#1789) 2022-07-04 14:32:30 +02:00
yrbl Fix annoying hierarchy error with Yrbl 2021-11-17 10:27:11 +08:00
yrblWalletEmpty Fix component naming 2022-05-05 17:02:08 +08:00
zoomableImage