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

Issue 3937 notification email #3959

Merged
merged 9 commits into from
Apr 1, 2019
Merged

Issue 3937 notification email #3959

merged 9 commits into from
Apr 1, 2019

Conversation

iamonuwa
Copy link
Contributor

@iamonuwa iamonuwa commented Mar 12, 2019

Description

Send weekly unread notification emails

Checklist
Affected core subsystem(s)
Refers/Fixes

Fixes #3937

Testing and Sign-off
Contributor
  • Read and followed the Contributor Guidelines
  • Tested all changes locally
  • Verified existing functionality
  • Ran make test and everything passed!
Reviewer
  • Affirm contributor guidelines have been followed and requested changes made
  • CI tests and linting pass
  • No conflicts (migrations, files, etc)
  • Regression tested against staging or local deployment
Funder
  • Validated requested changes were made to specification
  • Bounty payout released to the contributor

@gitcoinbot gitcoinbot mentioned this pull request Mar 12, 2019
9 tasks
@codecov
Copy link

codecov bot commented Mar 13, 2019

Codecov Report

Merging #3959 into master will decrease coverage by 0.09%.
The diff coverage is 20.51%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master    #3959     +/-   ##
=========================================
- Coverage   30.01%   29.91%   -0.1%     
=========================================
  Files         205      206      +1     
  Lines       15951    16026     +75     
  Branches     2108     2117      +9     
=========================================
+ Hits         4787     4794      +7     
- Misses      10992    11060     +68     
  Partials      172      172
Impacted Files Coverage Δ
app/app/urls.py 90% <ø> (ø) ⬆️
app/dashboard/views.py 12.08% <100%> (ø) ⬆️
app/retail/emails.py 21.13% <12.5%> (-0.24%) ⬇️
...ommands/send_unread_notification_emails_roundup.py 25% <25%> (ø)
app/marketing/mails.py 13% <7.69%> (-0.11%) ⬇️
app/dashboard/embed.py 28.16% <0%> (-3.45%) ⬇️
app/grants/views.py 12.41% <0%> (-0.57%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 484d19d...356c985. Read the comment docs.

@codecov
Copy link

codecov bot commented Mar 13, 2019

Codecov Report

Merging #3959 into master will increase coverage by 0.02%.
The diff coverage is 43.24%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #3959      +/-   ##
==========================================
+ Coverage   30.22%   30.25%   +0.02%     
==========================================
  Files         205      206       +1     
  Lines       16236    16310      +74     
  Branches     2136     2145       +9     
==========================================
+ Hits         4908     4934      +26     
- Misses      11154    11200      +46     
- Partials      174      176       +2
Impacted Files Coverage Δ
app/dashboard/views.py 12.13% <ø> (ø) ⬆️
app/app/urls.py 90% <ø> (ø) ⬆️
app/retail/emails.py 21.56% <12.5%> (-0.26%) ⬇️
...ommands/send_unread_notification_emails_roundup.py 64.44% <64.44%> (ø)
app/marketing/mails.py 13% <7.69%> (-0.11%) ⬇️
app/dashboard/embed.py 28.16% <0%> (-3.45%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1736f64...3cf0662. Read the comment docs.

@thelostone-mc
Copy link
Member

@iamonuwa i see tests \m/
btw could you throw in a screenshot of the mail too ?

@iamonuwa
Copy link
Contributor Author

@iamonuwa i see tests \m/
btw could you throw in a screenshot of the mail too ?

Will send it in tomorrow, am AFK at the moment.

@PixelantDesign
Copy link
Contributor

@thelostone-mc let me know when good to pay out!

@iamonuwa
Copy link
Contributor Author

image

@iamonuwa
Copy link
Contributor Author

cc: @thelostone-mc

@thelostone-mc
Copy link
Member

@iamonuwa mind addressing the comments left by @rafalkowalski + rebase with master ? ^_^
@PixelantDesign #3959 (comment) look good ?

@iamonuwa
Copy link
Contributor Author

@iamonuwa mind addressing the comments left by @rafalkowalski + rebase with master ? ^_^
@PixelantDesign #3959 (comment) look good ?

Yes, will make changes to reflect the review

thelostone-mc
thelostone-mc previously approved these changes Mar 21, 2019
Copy link
Member

@thelostone-mc thelostone-mc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good ^_^
Thanks @iamonuwa & @rafalkowalski :)

@thelostone-mc
Copy link
Member

@iamonuwa we've got CI failures ! mind fixing them up ?

@iamonuwa
Copy link
Contributor Author

@iamonuwa we've got CI failures ! mind fixing them up ?

Aye captain!

@thelostone-mc
Copy link
Member

@iamonuwa lemme know when CI is green ^_^

@iamonuwa
Copy link
Contributor Author

@iamonuwa lemme know when CI is green ^_^

Working on it

@iamonuwa
Copy link
Contributor Author

cc: @thelostone-mc

Copy link
Contributor

@SaptakS SaptakS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. @thelostone-mc any last comments?

def unread_notification_email_weekly_roundup(request):
response_html, _ = render_unread_notification_email_weekly_roundup('[email protected]')
return HttpResponse(response_html)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we need an extra empty line (keeping it consistent )

@SaptakS SaptakS merged commit 6fa7f37 into gitcoinco:master Apr 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Build Notification Email
5 participants