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

Investigate real notifications using service worker #270

Open
pierrelefevre opened this issue May 14, 2024 · 1 comment
Open

Investigate real notifications using service worker #270

pierrelefevre opened this issue May 14, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@pierrelefevre
Copy link
Member

Since the app is spa/react it should be easy to add a service worker. We can then use the Notification and Push APIs to send out the existing notifications.

https://developer.mozilla.org/en-US/docs/Web/API/notification
https://developer.mozilla.org/en-US/docs/Web/API/Push_API

@pierrelefevre pierrelefevre added the enhancement New feature or request label May 14, 2024
@pierrelefevre
Copy link
Member Author

Base work in 4b787ba, waiting on kthcloud/go-deploy#667 before merging. Might be a good idea to handle the JWT in a more persistent way, the current way is prone to losing it if the background thread stops and restarts.

Also not sure how to handle the refresh token, I assume it needs to be refreshed at some point from keycloak

@pierrelefevre pierrelefevre added the help wanted Extra attention is needed label Aug 12, 2024
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

1 participant