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

Notifications by Web Push #24

Open
mjl- opened this issue Feb 28, 2024 · 3 comments
Open

Notifications by Web Push #24

mjl- opened this issue Feb 28, 2024 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@mjl-
Copy link
Owner

mjl- commented Feb 28, 2024

We could send notifications to users through Web Push. Probably add a button in the dashboard to enable it. User confirms. We get URL to post notifications to. For each matching module, send the notification.

Web Push suggested by @koenbollen at the Go Amsterdam meetup yesterday.

@mjl- mjl- added enhancement New feature or request help wanted Extra attention is needed labels Feb 28, 2024
@koenbollen
Copy link

A reason for me to suggest this is so I don't have to give my email address. Would be nice if you could create an account without sharing your email address, e.g. using passkeys. Then it makes more sense to use Web Push notifications.

@mjl-
Copy link
Owner Author

mjl- commented Feb 29, 2024

I had a quick look at web push, but don't yet know if it's possible to create an "anonymous" subscription. Because why would you even need an account to get notified? From the gopherwatch-side, we could just have association of module path with a web push subscription to notify.

Passkeys could be a useful thing for all accounts.

Though I wonder if web push is really that great for users. I like the email because it is async. I can read it a bit later. The notifications aren't urgent. If they are like on a phone, I would probably often not read them...

@koenbollen
Copy link

koenbollen commented Mar 1, 2024

I had a quick look at web push, but don't yet know if it's possible to create an "anonymous" subscription. Because why would you even need an account to get notified? From the gopherwatch-side, we could just have association of module path with a web push subscription to notify.

Maybe only so you can manage all your subscriptions in one account.

Passkeys could be a useful thing for all accounts.

Yes! They are (going to be) awesome!

Though I wonder if web push is really that great for users. I like the email because it is async. I can read it a bit later. The notifications aren't urgent. If they are like on a phone, I would probably often not read them...

Fair point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants