-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Integrated Notifications API #1089
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
…n/displayNotificationsUI"" This reverts commit d253db5.
Codecov Report
@@ Coverage Diff @@
## master #1089 +/- ##
=========================================
- Coverage 4.11% 3.98% -0.14%
=========================================
Files 114 123 +9
Lines 5298 5496 +198
Branches 501 521 +20
=========================================
+ Hits 218 219 +1
- Misses 5065 5262 +197
Partials 15 15
Continue to review full report at Codecov.
|
Thanks a lot for working on this. Some suggestions from a quick test:
The second point can be left as a future enhancement, but if you are interested implementing, it seems the section URL is found at 'notifications/list/*/links/primary' in the JSON response. |
@maskaravivek I was testing your PR. It displayed my notifications on beta debug and it was a great feeling to have access them by our app. However, it displays nothing for my prod debug. I know I have some notifications there also.
|
Great job @maskaravivek ! Tested this PR on an API 25 emulator. The good news:
Changes needed:
That all said... I would be on board with merging this PR, and then carrying out the above changes in a separate PR. What do you think @maskaravivek ? But this PR will need to be merged to the feature branch and not master, if we do that. Things that will need to be discussed further:
|
This would be excellent if possible. I don't think it needs to be a blocker for this feature though. :) |
Thanks @misaochan and @neslihanturan for your review. I have noted the feedback and will take care of these issues in a separate PR. My PR reverts the revert commit so merging it with master will have both the changes ie mine and @neslihanturan's |
Oh, okay. Yeah, I guess we can merge to master and cherry-pick for the next release, then. I will copy the requested changes over to #7 for continuity. :) |
See also #1112 |
Takes care of #7.
As of now just a handful of notification types are being handled. We can easily support more notification types based on the need. Heres the list of all notifications supported by commons. https://commons.wikimedia.beta.wmflabs.org/wiki/Special:DisplayNotificationsConfiguration