lbry-desktop/ui/constants
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
..
abandon_states.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
action_types.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
cdn_urls.js Update thumbnail paths (#1747) 2022-06-23 22:33:32 +02:00
channels.js Clean up @odysee membership channel definition 2022-05-23 10:53:24 +08:00
claim.js Fix fee estmation 2022-04-05 09:36:06 -04:00
claim_search.js claim_search: support ordering by 'name' 2022-03-01 10:50:07 -05:00
classnames.js Move MAIN_CLASS to constants file for better code-splitting. 2021-12-09 20:58:23 -08:00
collections.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
comment.js Re-design comment threads (#1489) 2022-05-16 06:22:13 -04:00
country_languages.js Use locale/get response to suggest homepage and language switch (#839) 2022-03-02 09:44:01 -05:00
daemon_settings.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
drawer_types.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
email.js simpler email regex 2019-11-18 14:50:29 -05:00
emotes.js Remove localization from emotes and make all names lower case by default 2022-01-06 03:54:47 -08:00
errors.js Tip: show modal instead of toast when timeout 2022-06-01 08:40:39 -04:00
file_render_modes.js Limit embed generation to just Audio and Video 2022-02-07 10:21:33 -05:00
form-field.js some recon (#6532) 2021-07-18 13:06:52 -04:00
hashes.js Add hint that results are being filtered by language 2022-02-25 16:53:45 -05:00
homepage_languages.js Homepage: add "reset" + 'hideByDefault' categories 2022-05-26 10:59:31 -04:00
icons.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
keycodes.js Add percentage video duration keybinds› 2022-03-29 22:39:01 -04:00
language-migrations.js Revert "Simplify language lists" 2021-04-06 15:42:27 -04:00
languages.js Use locale/get response to suggest homepage and language switch (#839) 2022-03-02 09:44:01 -05:00
licenses.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
livestream.js Update /$/live to use latest API 2022-05-11 07:57:44 -04:00
modal_types.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
moonpay.js moonpay 2020-06-03 14:16:43 -04:00
navigation.js Fill in remaining Recsys fields 2021-08-03 09:34:36 -04:00
notifications.js MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
pages.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
pageTitles.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
player.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
publish.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
publish_sources.js move publish source state up, when editing livestream only show scheduling option when source is none. 2022-01-05 11:20:57 -05:00
publish_types.js livestream related publish fixes 2021-04-22 10:59:03 -04:00
reactions.js creator only like reactions 2020-10-27 12:27:30 -04:00
report_content.js update reports endpoint. 2022-02-09 15:06:38 -05:00
search.js Fix spelling of SORT_ASCENDING in search constants 2022-05-30 12:04:20 +08:00
searchable_languages.js Use locale/get response to suggest homepage and language switch (#839) 2022-03-02 09:44:01 -05:00
settings.js Allow selecting an active channel by default 2022-05-05 11:24:22 -04:00
shape_shift.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
shared_preferences.js Allow selecting an active channel by default 2022-05-05 11:24:22 -04:00
sort_options.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
speech_urls.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
stickers.js Add twitch sticker 2022-05-31 15:47:03 -04:00
stripe.js Chore desktop cleanup (#6896) 2021-08-17 18:34:16 -04:00
subscriptions.js Fix sidebar subs inefficiencies 2022-03-01 10:50:07 -05:00
supported_browser_languages.js Add hungarian - hu 2022-02-18 13:40:33 -05:00
supported_languages.js Use locale/get response to suggest homepage and language switch (#839) 2022-03-02 09:44:01 -05:00
supported_sub_languages.js support brazilian portugese 2021-04-16 11:16:25 -04:00
tags.js MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
themes.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
thumbnail_upload_statuses.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
token.js Un-authenticated resolve (#341) 2021-11-24 09:33:34 -05:00
transaction_list.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
transaction_types.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
txo_list.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
urlParams.js [on hold recsys work] Recommended For You (#782) 2022-03-15 15:07:31 -04:00
user.js wip 2021-06-08 13:25:52 -04:00
youtube.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00