Skip to content

Email Notifications #126

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

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open

Email Notifications #126

wants to merge 11 commits into from

Conversation

dmbf29
Copy link
Owner

@dmbf29 dmbf29 commented Jun 29, 2024

We had a lot of user drop off in the knockout stages when people didn't know to make more predictions.

I added emails to the daily job that Heroku schedules.
It will send an email for every match that you don't have a prediction for.
(assuming that you have notifications turned on and have previously made picks in this competition)
I also created an email model so we are careful not to repeat emails.

The style isn't perfect but better than nothing?
image

⚠️ I put a link to the profile page of a user, which means we need to update the user profile page to unsubscribe from there. Either that or an auto unsubscribe which would be better i think.

⚠️ This PR should have the front-end PR to work fully.

@dmbf29 dmbf29 added the enhancement New feature or request label Jun 29, 2024
@dmbf29 dmbf29 self-assigned this Jun 29, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant