-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 comment replies #9020
Show comment replies #9020
Conversation
Can you also set |
I find something, but I don't know how to fix it. |
I find there are some code need clean, I'll do latter. |
Co-authored-by: krlvm <51774833+krlvm@users.noreply.github.com>
You should not do it. |
This comment was marked as resolved.
This comment was marked as resolved.
Pushed |
I should go to sleep, and the count support of reply is ready(include NewPipe), hope we can finish it early. :) |
I find a bug that it don't load all reply, I need finger out how reply page work. |
I installed this artifact to test it. It is nice, well done. The only thing is that one has to tap on the "show replies" string and is is a bit unconfortable. Could the clickable area be extended at least orizontally? So that, to get more replies I could tap on the middle or on the right side and not only on the "show reply" text. |
Rather than that, the Show Replies text could be inlaid in a button with a different colour from the background so that it is clear where to tap. |
It is already clear as it is blue, but currently the only clickable area is on the left and sometimes is more comfortable on the right or middle. Same principle of expanding the comment text where you can tap anywhere |
When you have a scrollable view, it needs some dead zones where no action gets triggered accidentally. Here, for example, you can safely scroll up and down without opening replies when you might not want to. |
I would also suggest preventing the bottom sheet from expanding up so that it doesn't overlap the video. |
As what I say, rolling will also overlap the video, video need keep in top. |
I just imitate Youtube. |
@xz-dev Take how much ever time you need, mate. No hurries. This is purely voluntary work, after all. Mental health comes first, and programming much later. |
I'm coming back and I make more big change at here. |
Wow, now it is even faster! The only issue i can find so far is that if i rotate the screen while the replies are open the app crashes. |
Fixed be3a242 |
It does not crash with screen rotation but it closes the replies. I think the replies should be kept open with rotation. With the new commit, it says "5 new streams". I think it should say "5 replies". Thanks a lot for your efforts, you rock! |
LOL, Fixed. f29c941 |
Could you rebase so that you can include the latest exractor fix and we can continue testing your PR? 😀 |
Updated. |
For some reason this bug happens only on this PR, it does not happen on the nightlies version. To reproduce:
` ## Exception
Crash log
` |
I had download the CI debug APK, I can't reproduce the error. |
Kudos, SonarCloud Quality Gate passed! |
It's a very basic problem that currently happens to all listing pages, and I don't think I should not fix it at here. |
Could you squash the commits with the previous model used into the new one, in order to have a proper branch? Also, please rebase your PR instead of adding a separate extractor change and use in the future a separate Git branch for your pull requests, like stated in our contribution guidelines. Thank you in advance. |
1: •Highlight mother comment/main comment's background. If we select dark theme from settings, then highlight with black tint/gradient. •Add total number of comment replies in mother comment/main comment. •Make mother comment/main comment's icon/avatar little bit larger from comment replies account icon/avatar (Reduce size of comment replies account icon/avatar). For example👇 For reference; 2: Adjustment of Replies texts, Mother comment/Main comment, Comment replies, Account icon/avatar for better visual experience and readability 👇 Advantage: We can eliminate scattered feeling. All (Replies, Mother/Main comment, Comment replies) are in single line. 3: I don't know is this possible, if yes; Highlight content creator/channel owner comment replies via icon/avatar or like '3 Replies from the hated one and others' text. |
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.
Code looks good. I still don't like the cloning of the comments instance. However, I cannot think of an alternative.
I did not have time to test the changes thoroughly.
Ok, move to #9410 |
I also wan't, but I have no better idea without change Extractor |
Moved to #9410
What is it?
Description of the changes in your PR
Adds a "Show Replies" for the comments with replies for Youtube, just look like youtube.
Before/After Screenshots/Screen Record
Fixes the following issue(s)
APK testing
The APK can be found by going to the "Checks" tab below the title. On the left pane, click on "CI", scroll down to "artifacts" and click "app" to download the zip file which contains the debug APK of this PR.
Due diligence