-
-
Notifications
You must be signed in to change notification settings - Fork 451
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
feat: display full video sponsorblock categories #6725
Conversation
app/src/main/java/com/github/libretube/ui/views/DescriptionLayout.kt
Outdated
Show resolved
Hide resolved
None of it is a perfect solution, but I'd personally prefer having the badge on a different line than the title. We can decrease the padding between the video and the title though if the badge is visible, so that it's at least taking a little bit less total space. |
5052c5c
to
e87b0ab
Compare
Last but not least, please add a preference at https://github.com/libre-tube/LibreTube/blob/master/app/src/main/res/xml/sponsorblock_settings.xml to allow users to toggle displaying the sponsor categories (can be enabled by default). Apart from the other comment above, lgtm. |
I'm not a fan of adding new preferences, could we use the existing sponsor category (or even SponsorBlock being enabled all together) for it? I think it already covers use case of not wishing to see the sponsor hints. |
I agree with this generally, I'm not too sure about it because it's quite a big chip there above the title that not everybody might be comfortable with. If we find a better way to display it (e.g. collapsed by default in the description layout), we definitely won't need a new preference. |
e87b0ab
to
0c5c020
Compare
I was thinking about doing that, but I feel like it would defeat the purpose, since a user is unlikely to look in the description, and atleast the sponsor badge is something that should be very visible |
Sorry for the conflicts, I refactored the app to use the MediaLibraryService to unify a lot of logic and improve the stability of the background playback. |
85def86
to
b1e9ccc
Compare
|
b1e9ccc
to
1e4958b
Compare
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.
Thanks!
Displays the full SponsorBlock categories as a chip below the video, similar to how the web version works