-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Follow conversation by push notification. #15459
Conversation
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
You can test the changes on this Pull Request by downloading the APKs: |
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.
Thanks for working on this task, I'm so very happy that we have this option to be notified in-app for the conversations we follow! 🎉
I was able to receive notifications as per instructions, only noticed a couple of issues that I already discussed with you. As discussed, they might be linked to this known issue: p1633941032482100-slack-C01CW1VMLAF
-
I enabled in-app push notifications for conversation as mentioned in the instructions, but did not receive them in an instance when I had notifications disabled for the comments on my own (atomic) site under the
Notifications
tab. Once I enabled the setting, I started receiving them. -
I disabled notifications for conversations, yet was able to receive them when someone commented on the thread. Comments needed moderation, once approved, new comments from the same user were displayed as remarked comments under the
Notifications
tab.notification_when.option.is.disabled.mp4
Besides I left minor code-level comments, some are very easy to fix - detekt warnings etc or related to Fragment/ Activity
to ViewModel
logic refactoring.
Once tests are included for the feature, we can further test it exhaustively.
Hope this helps!
...Press/src/main/java/org/wordpress/android/ui/reader/utils/PostSubscribersApiCallsProvider.kt
Show resolved
Hide resolved
...Press/src/main/java/org/wordpress/android/ui/reader/utils/PostSubscribersApiCallsProvider.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/ReaderCommentListViewModel.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/ReaderCommentListActivity.java
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/usecases/ReaderCommentsFollowUseCase.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/usecases/ReaderCommentsFollowUseCase.kt
Outdated
Show resolved
Hide resolved
WordPress/src/main/java/org/wordpress/android/ui/reader/ReaderCommentListActivity.java
Outdated
Show resolved
Hide resolved
Thanks so much for deep reviewing and testing this PR @ashiagr 🙇 . I'm going to work on the feedbacks and come back to you 👍 ! Hi @mattmiklic 👋 , I didn't ping you yesterday since I knew you were AFK and this is still behind feature flag, but happy if you could have a look design-wise to the current implementation while I cover the code feedbacks (the feature is behind a feature flag as said and you should be able to activate it installing the jalapeno APK from this CI. Just ping me if any issue with that 🙇 ). Thanks in advance sir 😄 ! |
Looks like the design was implemented perfectly! 👨🍳👌 Nice work with this one. |
Hey @ashiagr 👋 , I followed up to your feedbacks, thanks again 🙇 . This should be ready for another pass now. Re the 2 issues you reported, I was not able to reproduce on my side actually. If possible we can maybe sync check when we are both online in case I'm missing any step to reproduce 🙇 Note: I'm keeping this PR branch like a feature branch creating a couple PRs against it. Let's align on the 2 mentioned issue before merge to develop, thanks. |
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.
Thanks for all the updates, @develric! All looks good to me. 👍
As discussed in our call, let's create separate issues to test those edge cases later on as they're not consistently reproducable.
I'm approving the PR, please feel free to merge once unit tests are integrated.
…ification-enable Follow by notification enable feature flag
Fixes #15460
References:
pctCYC-9x-p2
This PR adds to the reader the possibility to activate push notifications related to comments after following a post comments conversation by email already.
Screen.Recording.2021-10-14.at.03.51.30.mov
Note 1: the feature is currently behind a feature flag and you should enable it to test. [UPDATE: the feature flag has been activated in #15469
Note 2: the image in the linked issue reports the threaded comments with the new design but this issue is being tackled before the new threaded comments is in place.
Dedicated unit testing will be added in a separate PR. [UPDATE: added here]
To test
New feature testing
FOLLOW
shimmer item until the following status is recovered.Smoke testing
NOTE: push notifications for replies to your comments are still managed as before, comments that are coming from push notifications specifically are identified with a
remark
wordingRegression Notes
Potential unintended areas of impact
N/A: the feature is behind a feature flag.
What I did to test those areas of impact (or what existing automated tests I relied on)
N/A: the feature is behind a feature flag.
What automated tests I added (or what prevented me from doing so)
N/A: the feature is behind a feature flag.
PR submission checklist:
RELEASE-NOTES.txt
if necessary.