Add channel details option to long-press menu#5851
Conversation
|
Maybe try with |
|
Unfortunately that doesn't fix the issue. |
|
With |
app/src/main/java/org/schabi/newpipe/fragments/list/BaseListFragment.java
Outdated
Show resolved
Hide resolved
Courtesy of @Stypox.
Co-authored-by: Tobi <TobiGr@users.noreply.github.com>
15df526 to
a7c68c1
Compare
|
Kudos, SonarCloud Quality Gate passed! |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@mhmdanas please fix the issues pointed out by Sonar |
|
I fixed the braces "code smell," but kept the other two because one is a TODO and the other is because I'm following the naming convention of the rest of the file. |
|
Do you think this can be merged even though there is an unsolved TODO? |
|
I searched quite a bit and failed to find any explanation. Can I just replace the TODO comment with something like "For some reason |
app/src/main/java/org/schabi/newpipe/fragments/list/BaseListFragment.java
Outdated
Show resolved
Hide resolved
|
This option doesn't appear in the Feeds (What's New or any other). Known issue? Postponed? |
|
@opusforlife2 not known, at least to me. The only way that would happen is if calling Edit: what service did you reproduce that on? Or is it all of them? |
I tried it with a feed with only YouTube channels in it. I haven't tried it with any other service. |
|
The reason why this doesn't work with feeds is because the database doesn't store the feed items' uploader URLs. I don't think going back through all the feed items in feeds like "What's New" to add the uploader URL is a good idea. Maybe we could only add the URLs for new feed items? Anyway, I'll open an issue to continue the discussion there. |
|
@mhmdanas Please ping me in that issue so I can follow it when you open one. |
Yeah, adding them when the user initiates a feed refresh seems like a practical solution. |
|
To be clear, I did not mean to add it for all previous feed items, but only for new ones (i.e. ones added in a feed refresh). |
|
I got what you meant. We're on the same frequency. :3 |
Add dialog item to open channel details Use `List` as type of `entries` Put channel details item last Only show channel option when channel is present
|
@mhmdanas |
What is it?
Description of the changes in your PR
Add option to open channel details page when long-pressing items.
Fixes the following issue(s)
APK testing
On the website the APK can be found by going to the "Checks" tab below the title and then on "artifacts" on the right.
Due diligence