New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always have quick bookmark set #5058
Always have quick bookmark set #5058
Conversation
The original plan: use the Quick Bookmark icons here for enabled/disabled sates. Problem: colors would be off if we used the same background color for the ft-list-item. Button would barely appear visible. Thereore, we should probably use the existing 'secondary' theme. Problem: the 'checked' icon then looks unrecognizable and instead generic. Solution: use 'unfilled'/regular icon version for disabled state and 'filled'/solid icon version for enabled state, specifically on the ft-playlist-info page.
… and playlist deletion
How about auto picking next quick bookmark target on delete but still allow removing quick bookmark target |
I don't think this is a tenable standard if we're counting the ability to not have a quick bookmark playlist as a feature we are obligated to preserve by merit of it being included in a prior release. I don't see any cost to the user experience by removing this capability. The cost of keeping this capability is having people accidentally click it at some point and wonder why they can't add videos to playlists like they could before. There's no reasonable cost calculation I can come up with that justifies keeping this, but I'm open to hearing any. But I'm always going to value the choice that improves the UX if the only case against it is an arbitrary standard. |
Let me list out some issues from #5051 and what I think how this PR solves it (or not) A. User clicks "Disable Quick Bookmark" icon (accidentally)
B. User deletes their Favorites playlist at some point and uses a different one, not realizing that the Quick Bookmark will disappear until a new playlist is set as that one
This PR tries to solve A1 & A2 by making it impossible to disable the feature. I agree that it's effective but I don't like the side effect. There are other ways to solve these
|
I'm fine with also requiring modal confirmation for changing the quick bookmark; I can add that in if you'd prefer. But I'm still not seeing a justification for why we should allow the quick bookmark to be null if the user has a user playlist. And as to improving the auto-selection of the new playlist or making it manual, I'm open to it, but would prefer that to be in a separate PR, as I think this is a sufficient solution on its own. |
Until the manual selection is in place I don't consider |
That's incorrect; disabling quick bookmark is no longer an option for this PR. That's something that some users have already done, and we would at the very least have to do programmatic selection for these people because we don't want to prompt them on startup. Only other case that unexpected programmatic selection is done is when removing the current Quick Bookmark playlist, which is an edge case, and a toast informs them of the new playlist that is set as the new target (+ it shows up on the title of the actual control). I think that it's unfair to say this is equivalent to the current state of users not being aware that the control is present, and it makes it clearer that they can go to the page for that playlist to configure it when seeing any instance of the Quick Bookmark icon. I don't want to build out a whole new selection prompt just for the "delete currently quick bookmarked playlist" case due to the new mitigations of the new toast ( |
IMO I think everything about this implementation is nicely done. I also dont see a reason why it should be We could indeed let the user select what Playlist they want to use for Quick Bookmark when the Quick Bookmark playlist is deleted as it could come over as random and would require "another input" from the user to go to the actual playlist they want to have as the Quick Bookmark one. |
They can want to stop using a playlist as quick bookmark target (for converting it into playlist(s) with its content) (permanently or temporarily) |
Co-authored-by: efb4f5ff-1298-471a-8973-3d47447115dc <73130443+efb4f5ff-1298-471a-8973-3d47447115dc@users.noreply.github.com>
Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
…n ft-list-playlist item
Also removes now unneeded on-removal logic.
Everything LGTM. I have a few Q's before approval though.
|
I think it makes sense to be able to set it inside of the playlist, because that's information & a control about the playlist grouped with other information about it. I think it's nice to be able to have the icon visible on the list item because it's useful information about a playlist. I don't have a strong opinion about whether it should still be a button on every playlist item, or instead just a disabled icon on the list item of the current Quick Bookmark target. @PikachuEXE If you have any justification for one or the other, please feel welcome to share. |
My use case for having buttons in user playlists view is to quickly changing a quick bookmark target, add a new videos maybe (from search result, channel video list, single remote playlist, whatever), and change it back to usual "watch later" playlist (in my case I don't have one I actually unset it). It's for saving clicks especially when there are a lot of playlists (search, click instead of search, click inside, click again, then go back to user playlists page) plus what's the point not making it a button when it's already an indicator. (Review comment about latest change to be given later) |
The target indicator style seems different from what I have in #5082
I see nothing in regards about what should be done and/or why is it disabled to be able to delete that playlist |
…at/always-have-quick-bookmark
…avior The prior implementation was also leading into module loading errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This wording of the toast message throws me off a little. This playlist is now used for quick bookmark.
The playlist was already being used as the quick bookmark one so including the now in there would mean that it wasnt before?
VirtualBoxVM_b3dlpNRq2G.mp4
You can blame that one on my excessive label conservativeness. Updated now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see Quick Bookmark and quick bookmark being used allot. Which one should be replaced to be consistent within the whole app?
Majority seems to be in lowercase, although it's basically tied. Doesn't that make it re-request translations if we change it? |
Im not sure, either way we should still make it consistent imo. |
Turns out it was actually just one label (pre-existing). The others are in caps because they're in title case (see: #5000). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything seems fine except one line/question
Always have quick bookmark set
Pull Request Type
Related issue
closes #5051
Description
Co-authored-by: @PikachuEXE
ft-icon-button
disabled
styling to show title on hover, usearia-disabled
, and be able to show a toast on trigger (click/space/enter) when disabled. All of these are needed usability improvements to communicate what the disabled icon actually means, as our only disabledft-icon-button
case beforehand was the blink-and-you'll-miss-it disabledft-refresh-widget
icon.ft-list-playlist
item.Screenshots
Testing
quickBookmarkTargetPlaylistId
entry insettings.db
) and one playlist with 0 videos -> run FreeTube -> see playlist with 0 videos set as the new quick bookmark playlist -> (REG, optional) see it persists on Ctrl+RquickBookmarkTargetPlaylistId
entry insettings.db
) -> run FreeTube -> see most recently played playlist is set as the new quick bookmark playlist -> (REG, optional) see it persists on Ctrl+RDesktop