StarbeamOne / home

Basic central repository for issue-tracking and documentation (wiki)
MIT License
2 stars 0 forks source link

Enable Browser-based Notifications w/ Notification System #81

Open Mike-E-angelo opened 1 year ago

Mike-E-angelo commented 1 year ago

Browsers have a notification system that will tie into the OS and alert the user when something happens. Kinda nice when there's a sale and such. See if we can make this happen. 👍

greenbrook commented 1 year ago

Is the user supposed to receive an e-mail notification when their work is sold? Or the notifications will come only inside the platform?

Mike-E-angelo commented 1 year ago

Yes you can wire-up email notifications: https://alpha.starbeam.one/profile/notifications/configure

But this is an extra step that allows those who use the browser to notify them. 👍

Mike-E-angelo commented 1 year ago

So to expand on what I have in mind, we currently have a notification workflow (webjob) that fires each time a notification is made for a user. This is where the email is sent if configured. When this process is done, a message is sent to the user (if they are connected) to refresh their HUD notification icon.

What I am thinking here is that when the HUD is refreshed, we also fire a browser notification as well.