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
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
claimAbandonButton
claimAuthor Refactor claimAuthor 2022-02-08 12:35:40 -05:00
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 fix mobile embed 2022-03-16 16:36:50 -04:00
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 Add backdrop to progress indicator 2022-04-04 17:27:00 +08:00
claimPreviewReset livestream new api 2022-04-20 15:53:28 -04:00
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
claimRepostAuthor Use titles vs names on channel claim previews, but show name in channel areas (#962) 2022-02-25 09:04:23 -05:00
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
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
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 MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
commentsList Fix comment sort change (#1556) 2022-05-23 11:34:32 -03:00
commentsReplies Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
common Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
copyableText
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
embedTextArea Add share buttons on channel page 2022-05-16 06:36:50 -04:00
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
fileRenderDownload
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
fileTitleSection Geoblock: show warning for own content 2022-05-25 08:51:08 -04:00
fileType
fileValues Handle case of missing effective_amount 2022-03-12 01:02:03 -05:00
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 i18n: context-split "Duration" 2022-02-26 20:35:04 +08:00
formFieldPrice
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
homepageSelector Localize the homepage selector too 2022-03-04 12:21:34 +08:00
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
inviteList More cleanup 2022-01-31 11:39:03 -05:00
inviteNew Remove unused props 2021-12-02 20:41:02 +08:00
langFilterIndicator Add hint that results are being filtered by language 2022-02-25 16:53:45 -05:00
lastReleaseChanges
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 Improve scrolling behavior, fix tips sorting (#863) 2022-02-14 14:28:25 -05:00
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 LivestreamLink: fix flicker when a child updates 2022-04-21 10:31:31 -04:00
livestreamList Update /$/live to use latest API 2022-05-11 07:57:44 -04:00
livestreamScheduledInfo Fix livestream countdown i18n 2022-03-31 08:25:32 -04:00
loadingBarOneOff
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 File Page style improvements on mobile view 2022-02-08 12:35:40 -05:00
maxPurchasePrice
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
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
nudgeFloating
optimizedImage Let's try 95... 2022-04-01 23:36:56 -04:00
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 Improve livestream claimLink embeds 2022-03-16 16:36:50 -04:00
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 MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
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
rewardSummary
rewardTile
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
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 Bump thumbnail size to 5MB & check size before upload. 2022-02-09 11:14:46 -05:00
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 Re-enable 'Purchases' page 2022-04-07 14:28:12 -04:00
settingAccountPassword Render whole app on language change 2022-02-26 13:08:17 -05:00
settingAppearance Option to hide notification count in title bar 2022-03-31 10:23:31 -04:00
settingAutoLaunch Render whole app on language change 2022-02-26 13:08:17 -05:00
settingClosingBehavior
settingContent Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
settingDefaultQuality Video-quality string cleanup 2022-04-29 09:42:29 -04:00
settingLanguage
settingsRow Better non-clickable implementation 2022-04-05 19:44:09 -07:00
settingsSideNavigation
settingSystem Render whole app on language change 2022-02-26 13:08:17 -05:00
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
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 MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
supportsLiquidate
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 Render whole app on language change 2022-02-26 13:08:17 -05:00
syncFatalError
syncPassword More cleanup 2022-01-31 11:39:03 -05:00
syncToggle Render whole app on language change 2022-02-26 13:08:17 -05:00
tag
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
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
userEmailReturning
userEmailVerify Odysee chat updates 2022-01-17 11:19:01 -05:00
userFirstChannel Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
userPasswordReset
userPasswordSet
userPhoneNew
userPhoneVerify Odysee chat updates 2022-01-17 11:19:01 -05:00
userSignIn
userSignInPassword
userSignOutButton
userSignUp Add code review requests 2022-05-05 15:47:01 -04:00
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
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 Better non-clickable implementation 2022-04-05 19:44:09 -07:00
walletSendTip Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
walletSpendableBalanceHelp Fix double translation 2022-03-31 17:46:12 +08:00
walletSwap Fix context for translators 2022-04-03 22:13:18 +08:00
walletTipAmountSelector fix some flow errors and other pointers 2022-03-29 23:00:55 -04:00
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
wunderbarSuggestion PremiumBadge: retrieve membership db internally instead of from parent (#1764) 2022-07-01 15:40:06 -04:00
wunderbarSuggestions Render whole app on language change 2022-02-26 13:08:17 -05:00
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
yrblWalletEmpty Fix component naming 2022-05-05 17:02:08 +08:00
zoomableImage