-
Notifications
You must be signed in to change notification settings - Fork 19
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
[OP#42323] mirror OP notifications to NC notifications #256
Conversation
@julien-nc your idea about how to react on the dismiss button works great, but now I have a new problem. |
41f704f
to
eceeec0
Compare
using now |
|
I've added more logic to remember the latest |
70c7aed
to
d2f7461
Compare
One case that I found: Steps to reproduce
Expected
Actual
|
@kiranparajuli589 this is even a problem in the current master branch, fixed in #262 |
#262 merged. |
d2f7461
to
826a56f
Compare
@kiranparajuli589 I've rebased and pushed this 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.
Success:
- marking notification as read from the app :
- from the notifications panel of mobile: syncs with OP & NC web
- the notification center of the app itself: syncs with OP & NC web
- there is existing unread notification, and a new is added for the same wp
- new notification makes a beep on the phone...also syncs with NC web and OP web
- there are existing unread notifications and cron job is rerun.
- things are the way it was.
One thing that was not working with me:
- When I get notifications in NC and I mark them as read from the Dashboard widget...it gets' cleared from the OP but the NC notification are still there.
@kiranparajuli589 I can mark notifications in the dashboard as read and they disappear, see attached video 2022-11-08_12-08-39.mp4 |
One problem that I've found is that when ALL notifications are marked as read the code does not execute, because I check if |
Signed-off-by: Artur Neumann <artur@jankaritech.com>
… read Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
This reverts commit eceeec0. Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
Signed-off-by: Artur Neumann <artur@jankaritech.com>
826a56f
to
ab46655
Compare
JS Code CoverageCoverage after merging mirrorOPNotifications into master will be
Coverage Report
|
I think I missed to run the |
part of https://community.openproject.org/projects/nextcloud-integration/work_packages/42323
All current notifications of OpenProject should be mirrored to Nextcloud.
The view is similar to the notification center in OpenProject where the notifications are aggregated by work-package.