lbry-desktop/ui/component/common
saltrafael 2575c5d448
[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
2022-01-12 14:14:12 -05:00
..
form-components Split MUI and Emoji-Lib 2021-12-14 12:59:36 -05:00
busy-indicator.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
card.jsx AuthPage: css fixes 2021-12-14 17:25:05 +08:00
credit-amount.jsx Fix scroll re-rendering issues and improve superchats 2021-12-29 09:37:05 -05:00
empty.jsx show loading while searching 2020-12-28 15:00:15 -05:00
error-text.jsx new signin/signup (#3960) 2020-04-13 15:16:07 -04:00
file-exporter.jsx Re-add ability to export transactions (#5899) 2021-04-23 12:10:37 -04:00
file-list.jsx Support drag-and-drop file publishing (#4170) 2020-05-25 10:27:36 -04:00
file-selector.jsx Thumbnail upload fixes (#6860) 2021-08-24 20:28:23 -04:00
form.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
header-menu-link.jsx Refactor header Component, split into smaller components and remove what is unused 2021-12-21 16:36:16 -05:00
help-link.jsx show channels + streams as winning claim from search query 2020-10-28 16:28:36 -04:00
hidden-nsfw.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
icon-custom.jsx [Playlist] Pull in sorting changes from desktop + Add Drag-n-Drop + Handle unavailable/deleted claims (#641) 2022-01-12 14:14:12 -05:00
icon.jsx use aria-hidden on all icons by default 2021-07-14 13:44:22 -05:00
lbc-message.jsx fix lbc-message to prevent incorrect 'Credits' replacement 2021-04-30 12:45:46 -04:00
lbc-symbol.jsx add channel staked amount indicator on channel thumbnails 2021-02-18 01:14:39 -05:00
loading-screen.jsx refactor floatingUri to allow inline players in comments/markdown 2020-10-21 15:29:29 -04:00
markdown-preview.jsx Use Memo on markdown-preview component to avoid re-render 2022-01-05 09:27:52 -05:00
nag.jsx new signin/signup (#3960) 2020-04-13 15:16:07 -04:00
paginate.jsx improve playlists display (#232) 2021-11-05 21:00:27 -04:00
qr-code.jsx flow fixes 2020-12-16 10:52:22 -05:00
status-bar.jsx Fix unencoded StatusBar on Desktop 2021-03-09 16:17:57 -05:00
tabs.jsx Move transactions from Settings to Wallet (#6871) 2021-08-13 13:59:43 -04:00
thumbnail.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
tooltip.jsx View/Follower count: only use compact when > 10k (#664) 2022-01-11 11:42:12 -05:00
transaction-link.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
truncated-text.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
wait-until-on-page.jsx WaitUntilOnPage: take scaling into account 2021-07-12 17:06:30 -04:00