As a Gitcoin Grants Contributor, I'd like an email to kick off Round 6 so that I can one-click re-contribute to all the grants from last round.
Summary:
to increase contribution counts
Type:
feature
no email
user receives an email with all of the grants they've previously funded, and a link to add them all to cart again.
https://www.figma.com/file/6OqyMtEfRU4vDMlZXO6Y3l/Gitcoin-Grants-Experience-2020?node-id=119%3A981
@willsputra can i has a design for this email?
here ya go! it's in the figma file as well cc @PixelantDesign

LGTM
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
__This issue now has a funding of 0.5 ETH (103.83 USD @ $207.66/ETH) attached to it.__
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
__Work has been started__.
These users each claimed they can complete the work by 1Â day, 10Â hours ago.
Please review their action plans below:
1) sebastiantf has been approved to start work.
Seems like a good design task. Can do this without delay
Learn more on the Gitcoin Issue Details page.
May I pick this up @owocki?
@sebastiantf yes pls. can we get a PR this week?
@sebastiantf 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!
Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days
Yes @gitcoinbot. Been a bit caught up in some work.
Apologies for the delay @owocki. I have a PR up for this: #6777
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
__Work for 0.5 ETH (121.13 USD @ $242.26/ETH) has been submitted by__:
@owocki please take a look at the submitted work:
@apbendi could i get a code sample for how i could bulk-add a bunch of grants to cart? need to build that portion of this, which will be triggered when user clicks the email
@apbendi bump on this ^^ i want to get https://github.com/gitcoinco/web/pull/6777#issuecomment-639658601 done this week
hey @sebastiantf i got a resonse from @apbendi on telegram
Ben DiFrancesco7:59 AM
hey @owocki, here's that code where I'm adding things to the cart: https://github.com/ScopeLift/gitcoin-web/blob/bulk-grants/app/assets/v2/js/grants/funding.js#L10
GitHub
ScopeLift/gitcoin-web
🤖Grow Open Source. Contribute to ScopeLift/gitcoin-web development by creating an account on GitHub.
8:00 AMyou can see it's pulling data from hidden inputs on a form on the html page served by the backend
8:01 AMlogic is a bit intertwined with the side cart page manipulation, so if you'd like I can pull it it out into a static class abstracted just to manipulating data in the cart.
could you use this code to add the lander (for when the user clicks the button) that actually adds the grants from last round to cart ?
also happy to adjust bounty scope / tip amounts. let me know
hey @sebastiantf, if you checkout the latest version of our bulk-grants branch, you'll find some abstracted code for interacting with the cart data in local storage. When you update the cart, it automatically handles updating the status of nav items for you. Here's a link to the class:
https://github.com/ScopeLift/gitcoin-web/blob/bulk-grants/app/assets/v2/js/cart-data.js
If you grep the codebase for CartData you can see other places where we use it, on the grant details, grant list, and grant page. You'll see when adding things to the cart, you need to add metadata about each grant, which we pull into the JS from the template via form like this: https://github.com/ScopeLift/gitcoin-web/blob/bulk-grants/app/grants/templates/grants/detail/funding.html#L82
@apbendi I have added the bulk add url to the Fund Grants button as requested by @owocki in https://github.com/gitcoinco/web/pull/6777#issuecomment-642201209
Please see the commit https://github.com/gitcoinco/web/pull/6777/commits/d387cfb20b2858741eac506ba55a635220e7adbb
It produces a link for the Fund Grants button like this:

Is this fine @apbendi, @owocki ?
This looks right to me based on how the page works. I'll let @owocki confirm, as he built the bull-add page.
bulk add not bull add hehe :) code LGTM
On Thu, Jun 11, 2020 at 5:38 AM Ben DiFrancesco notifications@github.com
wrote:
This looks right to me based on how the page works. I'll let @owocki
https://github.com/owocki confirm, as he built the bull-add page.—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gitcoinco/web/issues/6646#issuecomment-642586909, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5PCPIAXXBMA5WPQDA5YLRWC643ANCNFSM4M7G76KQ
.
--
@owocki http://www.twitter.com/owocki
gitcoin is live and has generated over $4.6mm for Open Source Software - see
our results https://gitcoin.co/results
@owocki Would you mind paying out for this bounty? This has been completed: #6777
thx for the reminder. paying out now
On Mon, Jun 29, 2020 at 12:40 AM Sebastian T F notifications@github.com
wrote:
@owocki https://github.com/owocki Would you mind paying out for this
bounty? This has been completed: #6777
https://github.com/gitcoinco/web/pull/6777—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/gitcoinco/web/issues/6646#issuecomment-650962703, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAD5PCJJQ5VOBL3OIMYVCTDRZAZNVANCNFSM4M7G76KQ
.
--
@owocki http://www.twitter.com/owocki
gitcoin is live and has generated over $5mm for Open Source Software - see
our results https://gitcoin.co/results
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
__The funding of 0.5 ETH (111.83 USD @ $223.65/ETH) attached to this issue has been approved & issued to @sebastiantf.__