-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Improve channel items in grid lists #9555
Improve channel items in grid lists #9555
Conversation
Thanks! Could you make it as big as thumbnails (so I think 92 dp high), for consistency? Also, if you are able to, could you include the number of videos and the channel description in the grid layout, too? In order to optimize the available space, you could show the two items in the same text view but with a • inside. So "123 videos • Channel description…" just below the channel name. |
I don't think, adding channel description in that small area would be a great idea. Also, we could just use icons as shown in screenshot to indicate subscriber and video number on left and right respectively. For left icon, SoundCloud or Bandcamp icons could be shown while accessing channels from those services. For right one, a headphone icon for audio-only platforms. This screenshot should look much better if font size and opacity are properly adjusted. Adding YouTube handles in feeds might require extractor change. So, I am not asking for that in this PR. I just want to show an overview. |
The dot at the beginning of the second line is not needed. Also, when subscriber count is not available, the subscriber count line should be hidden and the second line should be made so that it can be at most 2 lines high instead of only one. Moreover, also apply #9555 (comment) . |
@Stypox YouTube Handles can give direct access to any channel and are especially useful when someone asks for a direct link. Ik, showing handles on feeds is not supported by the app rn. What I am saying is that showing handles is more useful than showing just a small part of description. If a user wants to see description, |
@SameenAhnaf Neither this PR nor #9310 have to do with adding handles to channel items. That needs to be addressed in a separate PR. Please open an issue for it if one doesn't already exist. |
@Stypox To be exact, I wasn't expecting this PR to add Handle support. #9555 (comment) is just an overview of what I want. My main problem was this screenshot of subscription feed. I'm still not sure if this PR fixed this as I could not try the APK. But as you started talking about how texts here, I thought it'd be nice to discuss here. |
I recommend putting the videos count and the number of subscribers in the same line, and the description on a separate line. This mean we would have the following structure: "Line 1": Profile picture |
@AudricV do you mean with the icons in front or without them? |
@Marius1501 Sorry, I don't understand your question. |
@AudricV I mean the icons that @SameenAhnaf proposed before. |
No no, there is no need to add icons. Here's an example:
|
Also improved the handling of additional information (expanded description, video count, subscriber count)
2a74395
to
764b6aa
Compare
I pushed some changes myself because I did not like the structure of the code. It's not your fault, it was not in a good shape even before this PR. Please take a look at the current changes and let me know if they work out fine for you! I edited the PR description and screenshots to reflect my changes. |
Kudos, SonarCloud Quality Gate passed! |
@Stypox Yes, it looks good. Thank you! |
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.
Good, thanks then!
What is it?
Description of the changes in your PR
Before/After Screenshots/Screen Record
Fixes the following issue(s)
Due diligence