Add the ability for BikeTag Players to get notifications whenever a new BikeTag is posted in their "chosen game".
#182 opened on Nov 16, 2023
Repository metrics
- Stars
- (26 stars)
- PR merge metrics
- (Avg merge 11d 6h) (1 merged PR in 30d)
Description
Is your feature request related to a problem? Please describe. BikeTag Players currently have no way of getting notifications that a new BikeTag has been posted. We could add a feature for notifications, yet again, in the player profile.
This would be a multi-part implementation including changes to the player profile for notifications, and changes to the backend functions that send out notifications.
Describe the solution you'd like Currently, when a new BikeTag is posted, an email is sent out to BikeTag Ambassadors from biketagorg@gmail.com. The code for this is inside the autopost-background.ts function.
- Move the code from autopost-background that sends notifications to another (edge) function.
- Call the new notifications function from autopost-background.
- Add code for sending emails to BikeTag Players who have signed up for email notifications.
- Add checkboxes to the profile settings for notifications: mobile, email, sms, etc...
- Re-Implement browser-based push notifications (iOS supports them now)
- Add SMS? (seems like it would cost money)
Describe alternatives you've considered We used Croquet.io once for sending notifications. I think Redis was implemented for notifications at one point.
Additional context We have had notification implementations in the past. They were not great. Players of BikeTag were flooded with toast notifications every time they visited the site for many months. We cannot do that again. Any notifications that are implemented should be heavily tested before going live.