Remove Notification Triggers / find alternative #1134

Open
opened 2 months ago by dpschen · 3 comments
dpschen commented 2 months ago
Collaborator
See this tweet for more infos: https://twitter.com/ChromiumDev/status/1466749116990599171
dpschen added the
area/internal-code
label 2 months ago
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.
Poster
Collaborator

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

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.