Skip to content
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

Add browser notification support to timers #1409

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MarcelRobitaille
Copy link
Collaborator

Fixes #1064

In addition to showing a popup dialog, also send a browser notification.

I am also working on a UI to enable/disable different alert methods as discussed in #1064. I am also working on Nextcloud / push notifications as discussed in #1129. I wonder if these could be rolled in here.

I think the UI to enable/disable alert methods could be its own issue that depends on #1064 and #1129, but maybe these shouldn't be published in a release until the possibility to turn them off is added. What do you think?

@github-actions
Copy link

This PR/issue depends on:

@github-actions
Copy link

github-actions bot commented Dec 31, 2022

Test Results

     21 files     952 suites   4m 56s ⏱️
   495 tests    495 ✔️ 0 💤 0
3 465 runs  3 464 ✔️ 1 💤 0

Results for commit 5bc2768.

♻️ This comment has been updated with latest results.

Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
- Only request permission when the timer is started. Don't be annoying
  if the user isn't even going to use the feature
- Add a justification for why the permission is requested and how to
  disable the notifications
- Handle case of no browser notification support
- Move all desktop notification related code into its own file

Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add notification support to timers
1 participant