lbry-desktop/ui/component
jessopb 5fdac4898f
Playlistorder (#7442)
* Add horizontal layout (#636)

* Test out a horizontal scroll for upcoming (tile only for now)

* - add support for list layout
- add following label on home page
- clan up css and naming conventions

* Update header type + show only if scheduled streams are showing

* [Playlist] Pull in sorting changes from desktop + Add Drag-n-Drop + Handle unavailable/deleted claims (#641)

* Add ordering Icons

* Refactor doCollectionEdit

- It required claims as parameter, when only uris are used to populate the collection, so that was changed to pass down the uris instead.
- There were unused and mostly unnecessary functions inside, for example the parameter claimIds was never used so it would never enter the claimSearch function which again would be used to generate uris, so it's better to just use uris as parameter

* Add List Reordering changes

* Add toggle button for list editing

* Add toggle on content page collection sidebar

* Enable drag-n-drop to re-order list items

https://www.youtube.com/watch?v=aYZRRyukuIw

* Allow removing all unavailable claims from a List

* Fix <g> on icons

* Fix section buttons positioning

* Move preventDefault and stopPropagation to buttons div instead of each button, preventing clicking even if disabled opening the claim

* Change dragging cursor

* Fix sizing

* Fix dragging component

* Restrict dragging to vertical axis

* Ignore shuffle state for ordering

* Fix console errors

* Mobile fixes

* Fix sidebar spacing

* Fix grey on mobile after click

* cleanup

Co-authored-by: Dan Peterson <dan@dan-peterson.ca>
Co-authored-by: saltrafael <76502841+saltrafael@users.noreply.github.com>
2022-01-27 10:20:21 -05:00
..
abandonedChannelPreview integrate all the things 2021-10-15 23:49:41 -04:00
app Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
autoplayCountdown integrate all the things 2021-10-15 23:49:41 -04: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 cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
channelBlockButton Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
channelContent Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
channelDiscussion integrate all the things 2021-10-15 23:49:41 -04:00
channelForm Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
channelMuteButton Rename default import/exports for clarity in text search (no functional change) 2021-07-09 08:40:26 +08:00
channelSelector integrate all the things 2021-10-15 23:49:41 -04:00
channelStakedIndicator More header refactors (#7441) 2022-01-26 21:14:36 -05:00
channelThumbnail Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
channelTitle Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
claimAbandonButton integrate all the things 2021-10-15 23:49:41 -04:00
claimAuthor integrate all the things 2021-10-15 23:49:41 -04:00
claimCollectionAdd Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimCollectionAddButton mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
claimEffectiveAmount integrate all the things 2021-10-15 23:49:41 -04:00
claimInsufficientCredits Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
claimLink apply ody pr #329 no blacklist check on claimLink (#7428) 2022-01-21 11:21:43 -05:00
claimList Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimListDiscover Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimListHeader cleaner discover filters display 2021-12-02 20:43:32 -05:00
claimMenuList Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimPreview Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimPreviewSubtitle strip out livestreams 2021-10-20 17:05:37 -04:00
claimPreviewTile Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
claimPreviewTitle Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
claimProperties Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
claimRepostAuthor integrate all the things 2021-10-15 23:49:41 -04:00
claimRepostButton mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
claimSupportButton mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
claimTags Optimize tags and followedTags 2021-12-03 15:22:32 -05:00
claimTilesDiscover fix 7188 window.location.pathname (#7401) 2022-01-04 15:40:42 -05:00
claimType strip out livestreams 2021-10-20 17:05:37 -04:00
claimUri integrate all the things 2021-10-15 23:49:41 -04:00
collectionActions Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
collectionContentSidebar Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
collectionEdit Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
collectionEditButtons Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
collectionMenuList integrate all the things 2021-10-15 23:49:41 -04:00
collectionPreviewOverlay Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
collectionPreviewTile Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
collectionSelectItem Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
collectionsListMine no empty lists on lists page (#7375) 2021-12-30 13:36:08 -05:00
comment More header refactors (#7441) 2022-01-26 21:14:36 -05:00
commentCreate Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
commentMenuList mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
commentReactions mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
commentsList Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
commentsReplies mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
common Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
copyableText Restore "Stream Key Button (#7127)" + lint and modifications 2021-09-23 20:13:02 +08:00
creatorAnalytics integrate all the things 2021-10-15 23:49:41 -04:00
dateTime re-reselect proof of concept + fix Date selector as first example 2021-12-03 15:22:32 -05:00
emailCollection integrate all the things 2021-10-15 23:49:41 -04:00
embedPlayButton Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
embedTextArea
errorBoundary mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
expandable
fileActions Fix comment disabling on MD (#685) (#7431) 2022-01-21 12:54:43 -05:00
fileDescription Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
fileDetails cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
fileDownloadLink Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileDrop integrate all the things 2021-10-15 23:49:41 -04:00
filePrice Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
fileReactions mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
fileRender Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileRenderDownload fixes restoring wallet page and removing lbry.tv references 2021-11-28 15:06:11 -05:00
fileRenderFloating More header refactors (#7441) 2022-01-26 21:14:36 -05:00
fileRenderInitiator Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileRenderInline Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileSubtitle restore file release time 2021-10-29 12:24:33 -04:00
fileThumbnail integrate all the things 2021-10-15 23:49:41 -04:00
fileTitle Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileTitleSection Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileType strip out livestreams 2021-10-20 17:05:37 -04:00
fileValues Optimize selectClaimIsMine (#7370) 2021-12-31 12:52:26 -05:00
fileViewCount Compact follower counts (#7432) 2022-01-25 18:16:28 -05:00
fileViewCountInline Compact follower counts (#7432) 2022-01-25 18:16:28 -05:00
fileViewerEmbeddedTitle Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
fileWatchLaterLink Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
formFieldPrice
header More header refactors (#7441) 2022-01-26 21:14:36 -05:00
headerMenuButtons More header refactors (#7441) 2022-01-26 21:14:36 -05:00
headerNotificationButton More header refactors (#7441) 2022-01-26 21:14:36 -05:00
headerProfileMenuButton More header refactors (#7441) 2022-01-26 21:14:36 -05:00
hiddenNsfwClaims integrate all the things 2021-10-15 23:49:41 -04:00
homepageSelector Move combobox to right | Move "Search only in language" into separate row 2021-08-23 23:45:09 +08:00
i18nMessage Fix <i18nMessage> not localizing the message. 2020-05-25 10:18:08 -04:00
IframeReact
invited Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
inviteList update app-strings 2020-10-08 13:15:22 -04:00
inviteNew remove invites and rewards 2021-12-08 20:41:57 -05:00
lastReleaseChanges
loginGraphic FileThumbnail: don't go through optimizer if GIF 2021-06-23 14:15:37 -04:00
logo cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
markdownLink integrate all the things 2021-10-15 23:49:41 -04:00
maxPurchasePrice [Content] refactor and grab Max Purchase Price 2021-08-23 23:45:10 +08:00
nagContinueFirstRun integrate all the things 2021-10-15 23:49:41 -04:00
navigationButton
navigationHistory
navigationHistoryItem integrate all the things 2021-10-15 23:49:41 -04:00
navigationHistoryRecent
notification Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
notificationBubble recon notify components 2021-07-19 22:16:29 -04:00
notificationContentChannelMenu lint 2021-10-15 23:49:41 -04:00
nudgeFloating
optimizedImage Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
page apply ody pr 463 - move MAIN_CLASS constant (#7430) 2022-01-21 12:54:22 -05:00
playlistsMine carry collection active tab to playlists page 2021-11-07 14:59:35 -05:00
postEditor integrate all the things 2021-10-15 23:49:41 -04:00
postViewer integrate all the things 2021-10-15 23:49:41 -04:00
previewLink Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
previewOverlayProperties Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
privacyAgreement Revert "rm lbry.tv, rm lbryfirst, rm DOMAIN, etc" 2021-12-04 22:20:39 -05:00
publishAdditionalOptions integrate all the things 2021-10-15 23:49:41 -04:00
publishBid integrate all the things 2021-10-15 23:49:41 -04:00
publishDescription fix advanced editor in description (#7372) 2021-12-29 15:58:55 -05:00
publishFile strip out livestreams 2021-10-20 17:05:37 -04:00
publishForm Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' (#7427) 2022-01-21 12:38:11 -05:00
publishFormErrors lint 2021-10-15 23:49:41 -04:00
publishName Revert "rm lbry.tv, rm lbryfirst, rm DOMAIN, etc" 2021-12-04 22:20:39 -05:00
publishPending integrate all the things 2021-10-15 23:49:41 -04:00
publishPrice integrate all the things 2021-10-15 23:49:41 -04:00
publishReleaseDate integrate all the things 2021-10-15 23:49:41 -04:00
recommendedContent Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
reportContent integrate all the things 2021-10-15 23:49:41 -04:00
repostCreate Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' (#7427) 2022-01-21 12:38:11 -05:00
rewardAuthIntro
rewardLink fix accessibility issue on rewards page #5991 2021-07-20 12:14:28 -05:00
rewardListClaimed
rewardSummary
rewardTile fix accessibility issue on rewards page #5991 2021-07-20 12:14:28 -05:00
rewardTotal
router Playlistorder (#7442) 2022-01-27 10:20:21 -05:00
searchChannelField integrate all the things 2021-10-15 23:49:41 -04:00
searchOptions Remove unused items 2021-07-14 11:13:13 +08:00
searchTopClaim Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
selectAsset improve channel cover upload ux 2021-10-28 15:17:18 -04:00
selectChannel integrate all the things 2021-10-15 23:49:41 -04:00
selectThumbnail reenable thumbs from videos (#7409) 2022-01-07 15:00:12 -05:00
settingAccount Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' (#7427) 2022-01-21 12:38:11 -05:00
settingAccountPassword Move 'update password' into a subpage 2021-08-23 23:45:31 +08:00
settingAppearance mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
settingAutoLaunch integrate all the things 2021-10-15 23:49:41 -04:00
settingClosingBehavior integrate all the things 2021-10-15 23:49:41 -04:00
settingCommentsServer integrate all the things 2021-10-15 23:49:41 -04:00
settingContent mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
settingEnablePrereleases add feature to enable experimental upgrades (#7353) 2021-12-15 15:58:47 -05:00
settingLanguage Fix jumpy ui when changing language 2021-09-13 15:44:29 +08:00
settingShareUrl Revert "rm lbry.tv, rm lbryfirst, rm DOMAIN, etc" 2021-12-04 22:20:39 -05:00
settingsRow Styles for new Settings Page 2021-08-23 23:45:04 +08:00
settingsSideNavigation Settings: use 'smooth' instead of 'instant' scroll. 2021-09-13 09:59:11 +08:00
settingSystem make data hosting clearer (#7438) 2022-01-24 22:12:27 -05:00
settingUnauthenticated integrate all the things 2021-10-15 23:49:41 -04:00
settingWalletServer fixes restoring wallet page and removing lbry.tv references 2021-11-28 15:06:11 -05:00
shareButton
sideNavigation mostly remove is_web (#7408) 2022-01-07 14:02: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 Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
spinner
splash integrate all the things 2021-10-15 23:49:41 -04:00
subscribeButton Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
supportsLiquidate integrate all the things 2021-10-15 23:49:41 -04:00
syncEnableFlow integrate all the things 2021-10-15 23:49:41 -04:00
syncFatalError remove more web folder stuff 2021-10-20 17:05:37 -04:00
syncPassword
syncToggle integrate all the things 2021-10-15 23:49:41 -04:00
tag integrate all the things 2021-10-15 23:49:41 -04:00
tagsSearch Control tags (#7433) 2022-01-21 20:43:45 -05:00
tagsSelect
textareaSuggestionsItem Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
textareaWithSuggestions Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
theme
themeSelector integrate all the things 2021-10-15 23:49:41 -04:00
transactionListTable integrate all the things 2021-10-15 23:49:41 -04:00
transactionListTableItem integrate all the things 2021-10-15 23:49:41 -04:00
txoList export all 2021-10-20 17:05:37 -04:00
uriIndicator Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
userChannelFollowIntro cut SIMPLE_SITE 2021-10-20 17:05:37 -04:00
userEmail fixes restoring wallet page and removing lbry.tv references 2021-11-28 15:06:11 -05:00
userEmailNew Revert "rm lbry.tv, rm lbryfirst, rm DOMAIN, etc" 2021-12-04 22:20:39 -05:00
userEmailReturning cloud connect 2021-10-22 16:39:45 -04:00
userEmailVerify
userFirstChannel lint 2021-10-15 23:49:41 -04:00
userPasswordReset
userPasswordSet
userPhoneNew
userPhoneVerify
userSignIn
userSignInPassword
userSignOutButton
userSignUp remove extra sign up pages 2021-12-08 20:41:57 -05:00
userTagFollowIntro
userVerify sms copy 2021-07-21 08:11:33 -04:00
videoDuration integrate all the things 2021-10-15 23:49:41 -04:00
viewers Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
walletAddress mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
walletBackup Electron 15 (#7384) 2022-01-02 15:33:11 -05:00
walletBalance fixes restoring wallet page and removing lbry.tv references 2021-11-28 15:06:11 -05:00
walletSend Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' (#7427) 2022-01-21 12:38:11 -05:00
walletSendTip Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
walletSpendableBalanceHelp Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
walletSwap integrate all the things 2021-10-15 23:49:41 -04:00
walletTipAmountSelector Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
wunderbar remove lazy import 2021-10-20 17:05:37 -04:00
wunderbarSuggestion Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
wunderbarSuggestions integrate all the things 2021-10-15 23:49:41 -04:00
wunderbarTopSuggestion Selector refactors (#7424) 2022-01-19 20:46:01 -05:00
youtubeBadge
youtubeTransferStatus integrate all the things 2021-10-15 23:49:41 -04:00
yrbl
yrblWalletEmpty remove invites and rewards 2021-12-08 20:41:57 -05:00
zoomableImage