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

Support for push notifications #3576

Open
amcclain opened this issue Feb 7, 2024 · 0 comments
Open

Support for push notifications #3576

amcclain opened this issue Feb 7, 2024 · 0 comments

Comments

@amcclain
Copy link
Member

amcclain commented Feb 7, 2024

Tracking ticket for potential support in Hoist for "native" style notifications on desktop and potentially mobile.

See https://web.dev/explore/notifications for a nice overview of this entire system / ecosystem.

Note that we could split this support into two categories or phases:

  • Purely "browser local" notifications triggered by a running site (or service worker, although those are not something we currently have in play with Hoist).
    • Perhaps pretty limited in its utility, especially given changes to how aggressively both browsers and Hoist throttle inactive tabs, but significantly simpler.
  • Server-side originating notifications via the Web Push API, triggered by an HTTP request from our server to a browser-specific channel, without requiring the user to have the site loaded and active in their browser.
    • Would require a server-side component to store per-user subscriptions, handling of keys, and agreement from clients about what kinds of content would be suitable to send in this way.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant