beginnerbounties.com icon indicating copy to clipboard operation
beginnerbounties.com copied to clipboard

Add ability for Users to sign up to receive updates

Open cnorm35 opened this issue 2 years ago • 9 comments

No idea if this is something you think would be useful but was thinking of something very simple to start.

Something bare-bones like allowing a user to opt-in to weekly updates where new issues created in the past week are still open are emailed out once a week as a gentle nudge to keep people coming back and looking for new issues.

If this is too soon or out of scope from what you all have planned, feel free to close!

cnorm35 avatar Mar 01 '23 22:03 cnorm35

That is a great idea. I would love that.

I would imagine a semi-plaintext email (in the Rails Weekly style) with links to the bounties, their description and the amount.

We can probably just email out only the open bounties. Might want to limit to like 15 most recent bounties or so and link to the homepage if there are more available?

excid3 avatar Mar 01 '23 22:03 excid3

I think that's perfect. Keep it simple and go from there.

I don't know if I would call this a "Jr" task but think if there's a clear description and someone to help things along, I think it'd be reasonable for a newer dev to tackle.

cnorm35 avatar Mar 01 '23 23:03 cnorm35

Definitely a more challenging one, but a good one none the less. Background job + mailer shouldn't be too hard.

excid3 avatar Mar 01 '23 23:03 excid3

Here's what I'm thinking for the acceptance criteria, let me know what you think

  • Create a Background Job to find open bounties created in the last 7 days and email to Users

  • Display Bounties with links to the bounty, the description and the amount in a very basic HTML email

Should probably allow the users a way to opt out of those emails, but maybe that can be a separate task? In the meantime maybe something like 'email [email protected] to be removed' ?

Trying to keep the task manageable but also don't want to rope you all into a bunch of manual work

Did you have any ideas on how you'd like to run the job?

Maybe just plan on running manually for now in the console inline or with a rake task?

cnorm35 avatar Mar 01 '23 23:03 cnorm35

Hey I think,I'll be able to solve the above tasks

Create a Background Job to find open bounties created in the last 7 days and email to Users

Display Bounties with links to the bounty, the description and the amount in a very basic HTML email

If it is ok , can I have like 3-4 days for this? If I have any questions I will ask them on discord. It is amazing what you are doing. Let me know. Thank you for your time.

clair13 avatar Mar 02 '23 00:03 clair13

@clair13 that works for me. I'll be sure to create a bounty for this one and assign to you so you can get paid for your time. I'm available in the GoRails Discord if you have any questions.

cnorm35 avatar Mar 02 '23 00:03 cnorm35

Ok thank you, I'll join Discord tomorrow(it is pretty late here ), and I'll ask for directions like if you would like a specific adapter and maybe to have a more clear understanding of the task.

clair13 avatar Mar 02 '23 00:03 clair13

Sounds good. For now, instead of worrying about bringing in sidekiq right now, maybe just use ActiveJob. Here's some helpful info on ActiveJob to get you started https://guides.rubyonrails.org/active_job_basics.html

cnorm35 avatar Mar 02 '23 00:03 cnorm35

Thanks for this ,it will be simpler. I was thinking about Rescue adapter :) . I'll give you a message on discord. Thanks again for your time!

clair13 avatar Mar 02 '23 00:03 clair13