lbry-desktop/ui/component/common
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
..
form-components Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
busy-indicator.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
card.jsx Settings Page Side Navigation 2021-08-23 23:45:23 +08:00
credit-amount.jsx Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -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 Electron 15 (#7384) 2022-01-02 15:33:11 -05:00
form.jsx refactor lbrytv web server 2019-11-11 13:27:29 -05:00
header-menu-link.jsx Header refactor (#7440) 2022-01-26 14:54:58 -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 mostly remove is_web (#7408) 2022-01-07 14:02:33 -05:00
icon-custom.jsx Playlistorder (#7442) 2022-01-27 10:20:21 -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 Bringing in emotes, stickers, and refactors from ody (#7435) 2022-01-24 11:07:09 -05:00
nag.jsx new signin/signup (#3960) 2020-04-13 15:16:07 -04:00
paginate.jsx update pagination if page param changes 2021-11-07 14:59:35 -05: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 More header refactors (#7441) 2022-01-26 21:14:36 -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