Expanded Playback and List controls #6921
No reviewers
Labels
No labels
accessibility
app-parity
area: creator
area: daemon
area: design
area: devops
area: discovery
area: docs
area: installer
area: internal
area: livestream
area: performance
area: proposal
area: reposts
area: rewards
area: search
area: security
area: subscriptions
area: sync
area: ux
area: viewer
area: wallet
BEAMER
channel
comments
community PR
consider soon
core team
css
dependencies
electron
Epic
feature request
first-timers-only
good first issue
hacktoberfest
help wanted
hub-dependent
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
merge when green
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
notifications
odysee
on hold
playlists
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
recsys
redesign
regression
resilience
sdk dependent
Tom's Wishlist
trending
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-desktop#6921
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "playback-controls"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🟢 Available for testing on https://salt.odysee.com
What is the new behavior?
Other information
PR Type & Checklist
PR Type...
What kind of change does this PR introduce?
PR Checklist...
Please check all that apply to this PR using "x":
this is a long one
🚀 the best is yet to come
This is huge.
I think copy list is its own thing.
modalCollectionAdd could conditionally return a simple collectionCopy component instead of the collectionAdd with the checkboxes etc.
Not sure about adding lists to sidebare in this way. Will discuss at planning. I'd be interested to see if we can have an accordion for followign, tags, and lists where only one is open?
It seems like coming up with a a shuffled next url can be done in the index.js of the a component, especially interacting and excluding based on content/history reducer. I'm not sure you need any work in lbry-redux for this.
I don't quite understand the case for selecting the previous url from collection with shuffle.
Is it worth filtering out at least the top 5 in content/history reducer? Or even the top <collection_size>?
At the meeting we thought we needed to brainstorm the design for sidebar playlists more - take it out for now?
✔️ Separated Copy List
✔️ Took out Sidebar Lists
IMO on redux it avoids repetition of the same code every time you want to select a shuffled list
going back on previously played shuffled videos, or else the ordering would be lost
Ah, I see. You're right.
How about just selecting the values right in the selector like is done here:
d016d8057b/src/redux/selectors/publish.js (L43)
state => state.content.shuffledUris,
state => state.content.shouldLoop,
It seems like a lot of params to be passing to the selector, and breaks the pattern of the selector name spelling out its requirements. I think the above might be cleaner.
Other than that, I think this is really close!
✔️ Done, and wow this does look way cleaner
➕ Also just added "separate control for autoplay next"
Some other feedback/bugs:
No need to localize internal name, otherwise it'll change based on language. I think.
These are up for discussion
This is the last one missing, I didn't manage to reproduce it @tzarebczanNevermind! fixed