lbry-desktop/flow-typed
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
..
npm flow fixes 2020-12-16 10:52:22 -05:00
18nj.js pr feedback 2019-10-01 01:48:43 -04:00
Blocklist.js Geo blocklist - reimplement with backend support (#1089) 2022-03-14 15:15:30 -04:00
bluebird.js Fix Flow config 2017-12-07 17:04:19 -03:00
Claim.js Recsys: add flow and fix uncovered issues 2022-05-24 14:58:52 +08:00
classnames.js Fix Flow config 2017-12-07 17:04:19 -03:00
CoinSwap.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +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
content.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
electron.js Fix Flow config 2017-12-07 17:04:19 -03:00
File.js move file actions from lbry-redux 2021-10-06 10:22:49 -04:00
formik.js Fix Flow config 2017-12-07 17:04:19 -03:00
gui.js Tile Grid Revamp (#1502) 2022-05-18 13:16:35 +02:00
homepage.js Homepage: add "reset" + 'hideByDefault' categories 2022-05-26 10:59:31 -04:00
i18n.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
Lbry.js Refresh commented-channels list when deleting a comment 2022-05-06 11:31:42 -04:00
LbryFirst.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
lbryURI.js Fix url problems (#1679) 2022-07-12 16:58:18 -03:00
livestream.js Limit livestream fetches when failed 2022-05-04 08:44:33 -04:00
location.js 0.36.0 sdk changes 2019-04-24 10:02:52 -04:00
notification.js Playlists v2: Refactors, touch ups + Queue Mode (#1604) 2022-07-13 10:59:59 -03:00
publish.js PublishReleaseTime widget improvements (#1740) 2022-06-23 07:27:08 -04:00
qrcode.react.js Fix Flow config 2017-12-07 17:04:19 -03:00
react-markdown.js implement app redesign 2018-03-26 14:32:43 -07:00
react-modal.js implement app redesign 2018-03-26 14:32:43 -07:00
react-paginate.js implement app redesign 2018-03-26 14:32:43 -07:00
react-simplemde-editor.js implement app redesign 2018-03-26 14:32:43 -07:00
react-transition-group.js implement app redesign 2018-03-26 14:32:43 -07:00
recsys.js Recsys: fix resumed-send missing totalPlayTime 2022-06-24 16:52:08 +08:00
redux.js delete duplicate flow type files (#105) 2021-10-20 13:33:31 -05:00
Reflector.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
reportContent.js Add 'ReportContent' actions/reducers/selectors 2021-04-21 10:49:31 -04:00
reselect.js implement app redesign 2018-03-26 14:32:43 -07:00
reward.js feat: daily reward 2019-09-05 09:40:42 -04:00
search.js Recsys: capture and use x-uuid from search results (#1727) 2022-06-22 09:43:54 -04:00
shapeshift.io.js Fix Flow config 2017-12-07 17:04:19 -03:00
subscription.js Sidebar: show "last active subs" instead of "by name" 2022-03-04 11:32:00 -05:00
sync.js Sync: handle fast-actions being reverted 2021-12-29 10:32:38 -05:00
Tags.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
Transaction.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
Txo.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
user.js Membership-name state updates 2022-05-04 10:45:58 +08:00
web-file.js fix WebFile flow type 2020-08-13 11:11:23 -04:00
web.js replace insufficient credits modal with inline ui elements 2019-04-03 00:17:00 -04:00