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

quarterly stats v2 -- funder and "no action" views #1036

Closed
owocki opened this issue Apr 30, 2018 · 19 comments
Closed

quarterly stats v2 -- funder and "no action" views #1036

owocki opened this issue Apr 30, 2018 · 19 comments
Labels
enhancement This is a feature to be enhanced or improved. Gitcoin Emails Gitcoin Emails

Comments

@owocki
Copy link
Contributor

owocki commented Apr 30, 2018

this is a v2 of #1016 , which contains the following sections

  • view for funders
  • view for people who haven't taken action yet

39413797-8596c1f8-4be4-11e8-887c-9619dac6a7f8-1
39413799-85f2bdfa-4be4-11e8-8171-a76968155710

bounty

  • build the view for funders
  • build the view for people who haven't taken action yet
@owocki
Copy link
Contributor Author

owocki commented Apr 30, 2018

hat tip @jakerockland 4 the design

@mbeacom mbeacom added Gitcoin Emails Gitcoin Emails enhancement This is a feature to be enhanced or improved. labels Apr 30, 2018
@gitcoinbot
Copy link
Member

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


This issue now has a funding of 0.15 ETH (102.99 USD @ $686.57/ETH) attached to it.

@gitcoinbot
Copy link
Member

gitcoinbot commented May 21, 2018

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


Work has been started.

These users each claimed they can complete the work by 8 months, 3 weeks ago.
Please review their action plans below:

1) oogetyboogety has started work.

app/dashboard/models.py: Add queries to method get_quarterly_stats and store the results as variables similar to bounties fulfilled, but for bounties funded
-> Add an array funded_bounties alongside fulfilled_bounties
-> Filter then count total number of issues with a bounty funded by user
-> Filter then count total number of issues with a bounty funded by user in a certain terminal status
-> Filter for list of developers who contributed to issues with a bounty funded by user (BountyFulfillment Django Lookup that Spans Relationship)
-> Total number of hours (bountyfulfillment__bountyfulfiller_hours_worked) worked by developers on issues with a bounty funded by user
-> Total of transactions in USD of issues with bounties with developers who contributed to the issue funded by user
-> Add a function call or inline function at the end to a new method get_inactive_recommendations and pass the profile's list of languages in line 1144's user_languages variable

app/dashboard/models.py: Add method get_inactive_recommendations only to be run for users that are inactive in the last quarter.
-> Find requirements for caching or running this just once for a distinct set of language combinations by profile, and associating a random set of issues with each distinct set
-> Lookup bounties with the highest number of languages in overlap between user_languages and bounty's keywords, limit results to a number in a parameter or configurable constant variable

app/retail/templates/emails/quarterly_stats.html: Add template for if user not active in last quarter

app/retail/templates/emails/quarterly_stats.html: Add template for if user is a funder

Learn more on the Gitcoin Issue Details page.

@gitcoinbot
Copy link
Member

@oogetyboogety 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!

  • warning (3 days)
  • escalation to mods (6 days)

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

@owocki
Copy link
Contributor Author

owocki commented May 24, 2018

just snoozed the warnings

@oogetyboogety
Copy link
Contributor

@owocki

app/marketing/mails.py as well - I had to twist the quarterly_stats function to look a little like the new_bounty function in the way it loops through EmailSubscribers and gets their keywords and then passes these keywords to the render function.

I am testing these changes now, should be finished by tomorrow or day after.

Thanks!

@thelostone-mc
Copy link
Member

@oogetyboogety Give me a heads up and i'll check it out
PS: screenshots always help ^_^

@owocki
Copy link
Contributor Author

owocki commented May 28, 2018

@oogetyboogety sounds good to me. looking forward to testing this!

@owocki owocki changed the title stats email v2 quarterly stats v2 -- funder and "no action" views May 28, 2018
@owocki
Copy link
Contributor Author

owocki commented May 29, 2018

@oogetyboogety do you think we'll see a PR this week/

@oogetyboogety
Copy link
Contributor

oogetyboogety commented May 29, 2018

@owocki yup testing with rinkeby now. i'll make a WIP PR today if things start to fail

@oogetyboogety
Copy link
Contributor

@owocki @thelostone-mc #1311 this one has the WIP label for review reasons. Please let me know what you think.

@owocki
Copy link
Contributor Author

owocki commented May 30, 2018

looks good so far

@oogetyboogety
Copy link
Contributor

@oogetyboogety
Copy link
Contributor

inactive_email

@oogetyboogety
Copy link
Contributor

funder_email

@gitcoinbot
Copy link
Member

gitcoinbot commented Jun 1, 2018

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


Work for 0.15 ETH (70.52 USD @ $470.16/ETH) has been submitted by:

  1. @oogetyboogety
  2. @oogetyboogety

@owocki please take a look at the submitted work:


@gitcoinco gitcoinco deleted a comment from darkdarkdragon Jun 7, 2018
@oogetyboogety
Copy link
Contributor

@owocki submitted! let me know if i should do anything else

@gitcoinbot
Copy link
Member

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


The funding of 0.15 ETH (69.43 USD @ $462.85/ETH) attached to this issue has been approved & issued to @oogetyboogety.

@alp82
Copy link

alp82 commented Sep 13, 2018

Shouldn't this be closed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement This is a feature to be enhanced or improved. Gitcoin Emails Gitcoin Emails
Projects
None yet
Development

No branches or pull requests

6 participants