Remove Notification Triggers / find alternative #1881

Open
opened 2021-12-03 14:50:52 +00:00 by dpschen · 3 comments
Member
See this tweet for more infos: https://twitter.com/ChromiumDev/status/1466749116990599171
dpschen added the
area/internal-code
label 2021-12-03 14:50:59 +00:00
Owner

I think we should pursue showing notifications for everyone, not only behind a chrome origin trial. That would require some kind of setInterval that checks every minute what reminders are due and then show them. The api supports querying tasks with reminders after a certain date, maybe that'd be the easiest to achieve this (poll it every minute for the reminders in the next minute). Would have the nice benefit to show reminders created on other clients or in another tab but increase the load on the api.

I think we should pursue showing notifications for everyone, not only behind a chrome origin trial. That would require some kind of `setInterval` that checks every minute what reminders are due and then show them. The api supports querying tasks with reminders after a certain date, maybe that'd be the easiest to achieve this (poll it every minute for the reminders in the next minute). Would have the nice benefit to show reminders created on other clients or in another tab but increase the load on the api.
Owner

Another option would be to move reminders entirely to the api and let it push reminders via a websocket when due. The api already does something similar for reminders via email, that could be reused.

We'd need to build the websocket thing first, but I'd like to have one for the notifications at some point anyway.

Another option would be to move reminders entirely to the api and let it push reminders via a websocket when due. The api already does something similar for reminders via email, that could be reused. We'd need to build the websocket thing first, but I'd like to have one for the notifications at some point anyway.
Author
Member

I think we should have an offline fallback. Other than that: agree =)

I think we should have an offline fallback. Other than that: agree =)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1881
No description provided.