-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Show no of playlist a video already added to on add playlist button #5141
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
Show no of playlist a video already added to on add playlist button #5141
Conversation
| fontSize: `${size + padding * 2}px`, | ||
| }" | ||
| counter | ||
| :value="counterValue" |
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.
issue (blocking): There's currently no non-visual or semantic indication of the meaning, which makes it inaccessible to screen reader users, and somewhat confusing for people who don't intuitively grasp the meaning.
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.
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 think that's a safe way to do it. That label seems pretty good too, albeit maybe a bit too long. Maybe Add to Playlist (Aleady Added to 2)?
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.
Updated
|
suggestion (blocking): I get why you would want it to be small, but I'm having trouble seeing it in your regular zoom images. If possible, I'd recommend that it's at least 14-16px. |
src/renderer/components/ft-playlist-add-video-button/ft-playlist-add-video-button.scss
Outdated
Show resolved
Hide resolved
I think you're right. It commands too much attention at a larger size. Feedback after testing:
Interestingly, this problem is not apparent with the current RTL issue. Therefore, maybe a good fix for 2 is just moving it to the
Again, this might sound minor, but it's presenting the same information twice, that adds unnecessary visual scanning and processing time to understand what is being logically conveyed. It also makes this feature unnecessarily prominent for the more common use case of someone who uses their Quick Bookmark playlist for the vast majority of their videos. I'd strongly recommend implementing carveouts for the above three cases. |
* development: Update playlist name with title (FreeTubeApp#5150) User playlists as grid (FreeTubeApp#4949) Add custom webpack loader to remove unused mimetypes from mime-db (FreeTubeApp#5148) ^ Update GH action eps1lon/actions-label-merge-conflict (FreeTubeApp#5034) Translated using Weblate (Italian) Translated using Weblate (Serbian) Translated using Weblate (Estonian) Translated using Weblate (Bulgarian) Translated using Weblate (Spanish) Translated using Weblate (Italian) Translated using Weblate (Polish) Translated using Weblate (Portuguese (Brazil)) Translated using Weblate (French) Translated using Weblate (Chinese (Traditional)) Translated using Weblate (Chinese (Simplified)) Fix gap next to banner when Hide Side Bar Labels is enabled (FreeTubeApp#5120)
|
Thanks so much @PikachuEXE! Could you switch the default side to be
Yes, to clarify, that's what I intended with ii. If you're removing it from the User Playlist view altogether, that makes i and iii no longer applicable. |
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 looks great! I was initially skeptical if this requested feature could be implemented well, but the way you've implemented it solves the problem while also not overwhelming the user with information, or affecting other use cases negatively.
Fix the minor linting issue below please.
Edit: The performance implications mentioned in the Matrix channel are notably concerning. This will need to be addressed in some way for this to not cause a noticeable downgrade on the user experience.
|
@absidue |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
absidue
left a comment
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.
Here are a few suggestions to improve the performance, you will want to merge in development or rebase this branch on development, first though.
src/renderer/components/ft-playlist-add-video-button/ft-playlist-add-video-button.js
Outdated
Show resolved
Hide resolved
src/renderer/components/ft-playlist-add-video-button/ft-playlist-add-video-button.js
Show resolved
Hide resolved
src/renderer/components/ft-playlist-add-video-button/ft-playlist-add-video-button.js
Outdated
Show resolved
Hide resolved
src/renderer/components/ft-playlist-add-video-button/ft-playlist-add-video-button.js
Show resolved
Hide resolved
* development: Fix channel sort values to show the values they are (FreeTubeApp#5162) Translated using Weblate (Russian) Translated using Weblate (French) Quick bookmark button RTL & hover fixes (FreeTubeApp#5157) Use addVideo instead of addVideos for quick bookmark button (FreeTubeApp#5168) Cache quick bookmark playlist to reduce the amount of lookups (FreeTubeApp#5169) Translated using Weblate (Arabic) Translated using Weblate (Indonesian) Fix hide/show channel in ft-list-video (FreeTubeApp#5149) # Conflicts: # src/renderer/components/ft-list-video/ft-list-video.js # src/renderer/components/watch-video-info/watch-video-info.js
|
Conflicts have been resolved. A maintainer will review the pull request shortly. |
absidue
left a comment
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.
As we already check if the video is in the quick bookmark playlist inside the parent component, we can just pass down the result, instead of needing to perform the check again inside this component
src/renderer/components/ft-playlist-add-video-button/ft-playlist-add-video-button.js
Show resolved
Hide resolved
src/renderer/components/ft-playlist-add-video-button/ft-playlist-add-video-button.js
Outdated
Show resolved
Hide resolved
src/renderer/components/ft-playlist-add-video-button/ft-playlist-add-video-button.js
Show resolved
Hide resolved
efb4f5ff-1298-471a-8973-3d47447115dc
left a comment
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.
The only place im missing this number on a thumbnail is inside of a playlist
|
It done that way intentionally |
|
I still have concerns about the performance impact / energy usage. I'd prefer to wait on this until after the Vue 3 migration where we can use Maps / Sets, as it currently doesn't pass my personal cost versus benefit evaluation. I won't block it if the rest of the team feels differently, though. |
|
We can disable this in any video collection view (i.e. only on watch page? |
|
I think the tough thing is that it's not very useful of a feature if people don't know when/where it will appear, and probably more confusing than not in terms of what we're training the users to expect. I know it sucks to suggest putting a PR that you put a good deal of work into into stasis for so long, so I'll just leave it to the rest of the team on how we should handle it. |
|
It's less urgent for me as #5044 is merged (I simply open it, found out it's already added, close it) |
|
I'd be open to having it in experimental settings, but I'd wait to see what others think before going forward with that |
|
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
|
This PR is stale because it has been open 28 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
|
Will revisit after Vue 3 migration done |











Pull Request Type
Related issue
#4982
Description
Update add to playlist button to show no. of playlists a video already added to
Screenshots
Testing
Desktop
Additional context
Just using default colors & position for preview
Feel free to suggest other styles
When reviewing
src/renderer/components/ft-icon-button/ft-icon-button.vuemaybe hide whitespace changes for easier review