Playlist fall out fixes #7032

Merged
saltrafael merged 4 commits from list-fall-out into master 2021-09-10 19:27:21 +02:00
saltrafael commented 2021-09-07 13:15:12 +02:00 (Migrated from github.com)

Can test it now on: https://salt.odysee.com/

Fixes

Issue Number: Closes #7009

  • Improved and optimized code, removed what was unneeded and reduced complexity and repetition, which also allowed to fix and improve things like hiding the floating player while navigating with < and >
  • Better handling of paid content during list playback (https://salt.odysee.com/$/list/91e0456af8eb0ca922bfe5107aa06cfa8278caf1)
  • Added snack bar notification when you enable / disable autoplay next so users know what it is.

PR Checklist

Toggle...

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting)
  • Refactoring (no functional changes)
  • Documentation changes
  • Other - Please describe:

Please check all that apply to this PR using "x":

  • I have checked that this PR is not a duplicate of an existing PR (open, closed or merged)
  • I added a line describing my change to CHANGELOG.md
  • I have checked that this PR does not introduce a breaking change
  • This PR introduces breaking changes and I have provided a detailed explanation below
Can test it now on: https://salt.odysee.com/ ## Fixes Issue Number: Closes #7009 - Improved and optimized code, removed what was unneeded and reduced complexity and repetition, which also allowed to fix and improve things like hiding the floating player while navigating with < and > - Better handling of paid content during list playback (https://salt.odysee.com/$/list/91e0456af8eb0ca922bfe5107aa06cfa8278caf1) - Added snack bar notification when you enable / disable autoplay next so users know what it is. ## PR Checklist <details><summary>Toggle...</summary> What kind of change does this PR introduce? - [X] Bugfix - [X] Feature - [X] Code style update (formatting) - [ ] Refactoring (no functional changes) - [ ] Documentation changes - [ ] Other - Please describe: Please check all that apply to this PR using "x": - [X] I have checked that this PR is not a duplicate of an existing PR (open, closed or merged) - [ ] I added a line describing my change to CHANGELOG.md - [X] I have checked that this PR does not introduce a breaking change - [ ] This PR introduces breaking changes and I have provided a detailed explanation below </details>
jessopb (Migrated from github.com) reviewed 2021-09-07 13:15:12 +02:00
jessopb (Migrated from github.com) reviewed 2021-09-09 05:05:57 +02:00
jessopb (Migrated from github.com) left a comment

Nice! Just a few things.

Nice! Just a few things.
jessopb (Migrated from github.com) commented 2021-09-09 03:56:59 +02:00

Not sure it feels right to announce "Skipping paid content in 4 seconds...".
Maybe just
"Next {skipPaid ? '<Free? Unpaid?>' : '' } Content in 4 seconds..." ?
Am I missing something?

Not sure it feels right to announce "Skipping paid content in 4 seconds...". Maybe just "Next {skipPaid ? '<Free? Unpaid?>' : '' } Content in 4 seconds..." ? Am I missing something?
jessopb (Migrated from github.com) commented 2021-09-09 04:56:20 +02:00

generateListSearchUrlParams

`generateListSearchUrlParams`
jessopb (Migrated from github.com) commented 2021-09-09 04:09:20 +02:00

if (playNextUrl && nextListUri) { } ?

if (playNextUrl && nextListUri) { } ?
@ -225,0 +254,4 @@
if (!doNavigate) return;
if (playNextUrl && nextListUri) {
doPlay(nextListUri);
jessopb (Migrated from github.com) commented 2021-09-09 04:49:22 +02:00

nice

nice
jessopb (Migrated from github.com) commented 2021-09-09 04:42:43 +02:00

?xyz is UrlParams or UrlParamsString.
generateListSearchUrlParams

?xyz is UrlParams or UrlParamsString. generateListSearchUrlParams
saltrafael commented 2021-09-09 15:45:50 +02:00 (Migrated from github.com)

added another fix: I noticed list menu options like "View List" or "Shuffle" weren't showing for unauthenticated users or on an incognito tab

added another fix: I noticed list menu options like "View List" or "Shuffle" weren't showing for unauthenticated users or on an incognito tab
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#7032
No description provided.