-
-
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
Rework feed new items handling #7050
Rework feed new items handling #7050
Conversation
This comment has been minimized.
This comment has been minimized.
@SameenAhnaf However most of these statements would blow up the current scope of this Pull Request. Is 5. related to this PullRequest? I don't understand the statement...
To the errors you found (6.x): Could you post your configuration (Settings>Content>Export database) here? (maybe clean it before posting it publicly) |
This comment has been minimized.
This comment has been minimized.
Only a single line separating the old and new videos can be good as well |
I got this after new items were loaded, couldn't reproduce it though Exception
Crash log
|
Thanks for all the feedback!
Adding a completely different element in the video list between all the same elements doesn't work / is too difficult to implement. The list is also manage by the groupie framework, which would require additional effort |
@SameenAhnaf So I think bold titles only aren't the best expression that something is new. |
@tsiflimagas
I think that happens because the view isn't anymore there e.g. switching the view. |
@SameenAhnaf However when I tried to import your data, there seem to be no subscriptions where the feed is fetched from and I end up with an empty page. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@SameenAhnaf |
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 almost good :-D
I tested and it works :-)
app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt
Outdated
Show resolved
Hide resolved
why is the chip / button at the bottom?
On another note: the button us quite near at the bottom of the screen which caused my fat fingers to trigger the |
@TobiGr Moving the button up a bit shouldn't be a problem 😄 |
A small issue was caused from latest changes, "new feed items" button appears on every app start, and when returning to "what's new" from search. |
40418a1
to
daebceb
Compare
Thanks for noticing. Should be fixed now |
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.
Thank you, I tested on API 19 emulated, API 30 tablet emulated and API 30 real, and everything works well.
app/src/main/java/org/schabi/newpipe/local/feed/FeedFragment.kt
Outdated
Show resolved
Hide resolved
Here's another crash I got. It seems that it happens if you refresh the feed, there are new videos, but you quickly go and open a playlist while the feed's still loading. Exception
Crash log
|
240e8f2
to
c17bc85
Compare
This caused duplicate events (TeamNewPipe#6686 (comment)) and unnecessary processing of items
Introduced a check if corresponding animations on the devices are enabled
Moved the feed button up a bit
Fixed/Avoid NPEs
Now keeps the ``selectableItemBackground`` when highligthing an item.
c17bc85
to
7638d22
Compare
Rebased and squashed the branch. |
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.
lgtm
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.
Obviously I am late, but yes, this looks good :-)
What is it?
Description of the changes in your PR
Follow up of #6686
Changes:
Maybe
instead ofFlowable
Before/After Screenshots/Screen Record
Before (click to expand)
Broken.mp4
After (click to expand)
NewPipeFeedReworkDemo1.mp4
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
How to test