-
Notifications
You must be signed in to change notification settings - Fork 872
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
Add back favorites shortcut #4517
Add back favorites shortcut #4517
Conversation
Watch Later is now protected, given that its manipulation requires its specific id. The addToPlaylists icon is now persistently visible whenever the favorites icon is (i.e., when the video is favorited). The :focus-within logic to that was changed to be :has(:focus-visible) to fix an issue with it staying visible after clicked (pre-existing).
You're probably the only user who has deleted it - it's protected as of this PR. |
I am a user who don't need that playlist and the feature (quick bookmark) |
See comment under other PR - don't care how it's resolved, but "missing" items need to be addressed. If you don't have a protected Favorites playlist, you need to find some other mechanism for programmatically selecting a default bookmarked playlist. |
@@ -147,7 +147,7 @@ class Playlists { | |||
static deleteVideoIdsByPlaylistId(_id, videoIds) { | |||
return db.playlists.updateAsync( | |||
{ _id }, | |||
{ $pull: { videos: { $in: videoIds } } }, | |||
{ $pull: { videos: { videoId: { $in: videoIds } } } }, |
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.
Is this a fix?
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.
Yes, it is. But this function is not in use in your PR, it seems. You can add this fix as well.
Pull request was closed
Add back favorites shortcut
Pull Request Type
Related issue
favorites shortcut removed in #4234
reopens #3536 and #1762
Description
removeVideos
anddeleteVideoIdsByPlaylistId
) to do so:has(:focus-visible)
instead of:focus-within
Screenshots
Testing
Desktop