Web: code - as a user, i want a quarterly 'my stats' email, so i can see my activity on the platform

Created on 23 Apr 2018  ·  26Comments  ·  Source: gitcoinco/web

User Story

as a user, i want a quarterly 'my stats' email, so i can see my activity on the platform

Designs

See https://github.com/gitcoinco/web/issues/892

and

https://github.com/gitcoinco/web/files/1939643/QuarterlyStatsEmail.zip

39147801-7e83a222-46ef-11e8-866a-8270b1439506

Definition of Done

  • A management command that sends this email to everyone in the network (look at the EmailSubscriber table. the roundup.py management command is a good one to look at too.
  • Should be scheduled for 1x per quarter at beginning of quarter in crontab
  • top section 'my stats' should only be shown IFF the user has built something that month
  • each stat should be programmatically generated
  • do your best with querying the database for the information you need.. please leave TODOs where you need help from @mbeacom and @owocki

Most helpful comment

Just a heads up that I've started a PR. This is still a work in progress.

All 26 comments

🙌 - 👍 for TODOs

__This issue now has a funding of 0.15 ETH (95.93 USD @ $639.52/ETH) attached to it.__

  • If you would like to work on this issue you can claim it here.
  • If you've completed this issue and want to claim the bounty you can do so here
  • Questions? Get help on the Gitcoin Slack
  • $5384.22 more Funded OSS Work Available at: https://gitcoin.co/explorer

We returned this issue to an open status due to inactivity. Open to contributions 😄

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


__Work has been started__.

These users each claimed they can complete the work by 3 weeks ago. Please review their questions below:

  1. CuriousLearner has started work.

Hi @owocki !

This is my first bounty contribution. Here is the implementation plan for the issue:

  • Defining a property such as quarterly_stats on Profile model to get the last 3 month details for total eth earned, bounties funded, funded bounties completed and fulfilled bounties counted.

This shall be used to render the first part of the mail that varies for user to user.

I'm right now having a look at the source code and setting up the project. Will update this soon.

@CuriousLearner reach out to me / @mbeacom over slack if you get stuck ^_^

This is my first bounty contribution

woohoo 🍾

Hey I've a question!

I see should_suppress_notification_email in marketing/utils. Just wanted to know the preference for this feature. Should the mails be suppressed at some levels?

I don't think so! @owocki ?

Just a heads up that I've started a PR. This is still a work in progress.

Just a heads up that I've started a PR. This is still a work in progress.

yay!

should_suppress_notification_email(to_email, 'transactional') should do the trick. the second param is the email 'level'

just commented on the PR

@CuriousLearner Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Addressed review comments, but unable to work on mobile view since media queries aren't working. Please check the PR for more details.

just commented on the PR

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@CuriousLearner due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

  • [x] warning (3 days)
  • [x] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Yeah, I'm working on this issue. Will post more updates soon.

just committed some fixes to the TODOs for this email

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


@CuriousLearner due to inactivity, we have escalated this issue to Gitcoin's moderation team. Let us know if you believe this has been done in error!

  • [x] warning (3 days)
  • [x] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

Hey, I'm still working on this issue

@CuriousLearner Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

  • [x] warning (3 days)
  • [ ] escalation to mods (6 days)

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

@CuriousLearner Mind submitting work on Gitcoin here? If you need a bit of ETH, use the Gitcoin Faucet or reach out to me on Slack and I can send you some!

@vs77bb Ah, I basically did a transaction a week ago for 1 GWEI

But it wasn't accepted, and then I rejected that. and made another one with 1.2 GWEI: https://etherscan.io/tx/0x3bb605b7b11c2af4a48d92754a16b6ad9b03ca5a74018803efd1b553f9339e4e

This is the maximum I had :P

So, now no idea what to do

@CuriousLearner hit us up on slack and we can send you some more ETH for gas money

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


__Work for 0.15 ETH (89.94 USD @ $599.58/ETH) has been submitted by__:

  1. @CuriousLearner

@owocki please take a look at the submitted work:

  • PR by @CuriousLearner

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


__The funding of 0.15 ETH (71.51 USD @ $476.72/ETH) attached to this issue has been approved & issued to @CuriousLearner.__

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kuhnchris picture kuhnchris  ·  4Comments

uluhonolulu picture uluhonolulu  ·  3Comments

mbeacom picture mbeacom  ·  4Comments

kziemianek picture kziemianek  ·  3Comments

frankchen07 picture frankchen07  ·  4Comments