-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fixes in notifications for pending issues #1272
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
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1272 +/- ##
=========================================
- Coverage 3.73% 3.7% -0.03%
=========================================
Files 127 127
Lines 6054 6103 +49
Branches 588 601 +13
=========================================
Hits 226 226
- Misses 5813 5862 +49
Partials 15 15
Continue to review full report at Codecov.
|
app/build.gradle
Outdated
@@ -98,6 +98,12 @@ dependencies { | |||
compile 'com.borjabravo:readmoretextview:2.1.0' | |||
} | |||
|
|||
repositories { |
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.
Could I ask why these were included in this PR?
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.
It got added by mistake. Removing. :)
Hi @maskaravivek , Thanks for the PR. Unfortunately I'm still having some issues with it:
Logcat:
|
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.
Please see comment for screenshots/logs
a7bb83d
to
e6f98e7
Compare
I have fixed the following issues:
|
Hi @maskaravivek , When testing with Misaochan2 on API 25, no notifications load (and no progress bar), and I get the error
Logging out and in again fixes the issue. |
After logging back in, I do get notifications. And the progress bar works well, nice. 👍 However, now the deletion requests are not displayed at all for me, and in fact even the talk messages are not displayed :/. For instance, you can see I have 2 deletion requests and 2 talk messages here: https://commons.wikimedia.org/wiki/User_talk:Misaochan2 But the notifications page shows me: Logs:
|
When testing using my main username (Misaochan), it gets even worse lol. No notifications are found at all and a blank screen is showed, despite there not being any NPE error as shown in my first review post. But clearly, there are plenty of notifications which SHOULD be displayed: https://commons.wikimedia.org/wiki/User_talk:Misaochan
Suggestion: I wonder if we could just use your previous code, but display "File nominated for deletion" in front of the message for deletions when a particular pattern is detected, instead of switching to displaying the |
Still getting the same crash for misaochan that we discussed last night with the latest commit unfortunately:
If it helps, if I open the app again, it loads the notifications from the previous account that I logged in to (misaochan_test). I am sure that I'm logged in to misaochan, as my contributions display appropriately. Also, these lines are never called:
|
58bf005
to
365bbc4
Compare
@misaochan The crash is now fixed and ready for testing |
Works wonderfully for me! Great job @maskaravivek 👍 |
Description
Fixes #7
Points (3) and (4) in the comment left by @misaochan have been fixed thanks to the help from @whym!
Tests performed
Have tested manually that the notification work properly.
Screenshots showing what changed