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

show conv rate rate at time of posting #165

Closed
owocki opened this issue Dec 23, 2017 · 39 comments · Fixed by #387
Closed

show conv rate rate at time of posting #165

owocki opened this issue Dec 23, 2017 · 39 comments · Fixed by #387

Comments

@owocki
Copy link
Contributor

owocki commented Dec 23, 2017

What

In github notifications Instead of

This issue now has a funding of 0.3 ETH (201.0 USD) attached to it.

we should say something like

This issue now has a funding of 0.3 ETH (201.0 USD @ $700/ETH) attached to it

Requirements

  • support eth/usd
  • support any other ratio that has a conversion rate in the backend

Places to update:

  • tip / github marketing
  • bounty / github marketing
  • bounty / slack marketing
  • bounty / twitter marketing
  • bounty/email marketing
  • bounty details page
@gitcoinbot
Copy link
Member

This issue now has a funding of 0.04 ETH (44.47 USD) 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
  • $12318.97 more Funded OSS Work Available at: https://gitcoin.co/explorer

@tansaku
Copy link

tansaku commented Feb 1, 2018

@owocki any pointers as to where in the codebase changes would be required to implement this? My guess is here: https://github.com/gitcoinco/web/blob/master/app/dashboard/notifications.py#L219

@owocki
Copy link
Contributor Author

owocki commented Feb 1, 2018

@tansaku you could use the convert_amount() function in economy/utils

@bhenze
Copy link
Contributor

bhenze commented Feb 2, 2018

Seems straight forward. I can start digging into it now.

@gitcoinbot
Copy link
Member

Work has been started on the 0.04 ETH (41.48 USD) funding by:

  1. @bhenze

Please work together and coordinate delivery of the issue scope. Gitcoin doesn't know enough about everyones skillsets / free time to say who should work on what, but we trust that the community is smart and well-intentioned enough to work together. As a general rule; if you start work first, youll be at the top of the above list ^^, and should have 'dibs' as long as you follow through.

On the above list? Please leave a comment to let the funder (@owocki) and the other parties involved what you're working, with respect to this issue and your plans to resolve it. If you don't leave a comment, the funder may expire your submission at their discretion.

bhenze added a commit to HashRebel/web that referenced this issue Feb 2, 2018
@bhenze
Copy link
Contributor

bhenze commented Feb 2, 2018

I have everything except for the email. I was thinking about exposing a member in the Bounty object to return the USDT value of ETH. Does this sound reasonable?

bhenze added a commit to HashRebel/web that referenced this issue Feb 2, 2018
@bhenze
Copy link
Contributor

bhenze commented Feb 2, 2018

@owocki I am having difficulties setting up the database and am unable to test my changes. Do you happen to have an easy way I can test my updates?

@owocki
Copy link
Contributor Author

owocki commented Feb 2, 2018

@owocki I am having difficulties setting up the database and am unable to test my changes. Do you happen to have an easy way I can test my updates?

docker is pretty easy way to go.. if you post in slack and tag myself or @mbeacom if you have any issues.. that could work.

if the changes are small enough, you could maybe test them via the command line.

I have everything except for the email. I was thinking about exposing a member in the Bounty object to return the USDT value of ETH. Does this sound reasonable?

this exists already. its called value_in_usdt

@bhenze
Copy link
Contributor

bhenze commented Feb 2, 2018

@owocki I was able to get docker to work and am able to test the page itself but having problems getting data to stick. I tried setting up a local database but to no avail. The changes are fairly small and can test some through the command line.

Also,

value_in_usdt exists but eth_value_in_usdt for 1 ether does not exist. This is more or less what I was trying to test on the bounty details page and emails.

@mbeacom
Copy link
Contributor

mbeacom commented Feb 2, 2018

@bhenze The docker-compose stack provisions a postgresql instance for you. You can view the data in your database by browsing to: http://localhost:8081 which is running pgweb. Or you can access via psql cli with: psql -h localhost -U postgres - If you don't have psql, you can install it on mac via brew install postgresql

@bhenze
Copy link
Contributor

bhenze commented Feb 2, 2018

@mbeacom thanks for your help! I am new to psql so I have been messing with it a bit. Ended up going down quite the rabbit hole but I am back on track now. My test environment is up and running.

@bhenze bhenze mentioned this issue Feb 3, 2018
3 tasks
bhenze added a commit to HashRebel/web that referenced this issue Feb 6, 2018
bhenze added a commit to HashRebel/web that referenced this issue Feb 6, 2018
bhenze added a commit to HashRebel/web that referenced this issue Feb 6, 2018
bhenze added a commit to HashRebel/web that referenced this issue Feb 6, 2018
bhenze added a commit to HashRebel/web that referenced this issue Feb 6, 2018
bhenze added a commit to HashRebel/web that referenced this issue Feb 6, 2018
bhenze added a commit to HashRebel/web that referenced this issue Feb 7, 2018
Fixes: gitcoinco#165

adding usdt conversion to all bounty marketing.

Fixing: gitcoinco#165

Fixing line issue

Updating html to display the eth price.

Fixing build issue

Removing unused property per code review.

fixing issue with cherry pick
bhenze added a commit to HashRebel/web that referenced this issue Feb 7, 2018
Fixes: gitcoinco#165

adding usdt conversion to all bounty marketing.

Fixing: gitcoinco#165

Fixing line issue

Updating html to display the eth price.

Fixing build issue

Removing unused property per code review.

fixing issue with cherry pick

Fixing build issue with imports
@amites
Copy link
Contributor

amites commented Feb 13, 2018

so what's going on with this one?

I see the MR has fresh comments

@bhenze
Copy link
Contributor

bhenze commented Feb 13, 2018

Just responding to the comments now.

@bhenze
Copy link
Contributor

bhenze commented Feb 13, 2018

Sorry, if you are asking for specifics. I am trying to figure out what the preferred format for the message should be:

"($201.0 @ 700 USD/ETH)"
... or ...
"($201.0 @ $700/ETH)"
depending on the answer to my question above

bhenze added a commit to HashRebel/web that referenced this issue Feb 14, 2018
Fixes: gitcoinco#165

adding usdt conversion to all bounty marketing.

Fixing: gitcoinco#165

Fixing line issue

Updating html to display the eth price.

Fixing build issue

Removing unused property per code review.

fixing issue with cherry pick

Fixing build issue with imports
@scottydelta
Copy link
Contributor

scottydelta commented Feb 18, 2018

I agree to @tra38's point. People who don't deal in ETH have no idea how big or small a bounty is when only given in terms of ETH. Showing the $ value might be something which will attract more users to take up the tasks for the bounties.

@scottydelta
Copy link
Contributor

scottydelta commented Feb 18, 2018

I like @lazaridiscom's suggestion here at issue #460, we can finally just have:

This issue now has a funding of Bounty - More information at: Gitcoin

And there is definite need to limit the number of messages a bot can add to an issue(this thread is a good example), since we are going for a single line message, can we just have only one Gitcoin Bot message per issue and new messages gets appended to the old one like a log?

EDIT: replaced price URI from my personal domain to coinbase which only provides price and not the value of required ETH in USD and edited accordingly.

@gitcoinbot
Copy link
Member

Work has been started on the 0.04 ETH (37.4 USD) funding by:

  1. @scottydelta

Please work together and coordinate delivery of the issue scope. Gitcoin doesn't know enough about everyones skillsets / free time to say who should work on what, but we trust that the community is smart and well-intentioned enough to work together. As a general rule; if you start work first, youll be at the top of the above list ^^, and should have 'dibs' as long as you follow through.

On the above list? Please leave a comment to let the funder (@owocki) and the other parties involved what you're working, with respect to this issue and your plans to resolve it. If you don't leave a comment, the funder may expire your submission at their discretion.

@bhenze
Copy link
Contributor

bhenze commented Feb 19, 2018

So what is the plan for this issue then? Do we want to update the story to reflect the proper verboseness?

@bhenze
Copy link
Contributor

bhenze commented Feb 19, 2018

Sounds good! thanks for the input.

@mbeacom
Copy link
Contributor

mbeacom commented Feb 19, 2018

@bhenze @lazaridiscom Glad to have you both here and actively engaged!
If you're ever uncertain about whether or not to proceed with working on something, feel free to reach out to us / request evaluation of your proposed idea. We'd be more than happy to work through it with you. When in doubt, feel free to reach out.
We encourage community feedback and contributions!

For this particular issue, I think it's safe to proceed with the scoped out change provided by @owocki.
As for the newly proposed changes, we think that’s a good idea to have a dynamic banner.
Right now, we aren’t sure how to implement the changes quite yet. Let’s discuss that issue separately on the Github thread and bounty once we agree on the approach. Sound good?

@bhenze
Copy link
Contributor

bhenze commented Feb 19, 2018

@mbeacom happy to help where I can! And yeah, that sounds great.

@owocki
Copy link
Contributor Author

owocki commented Feb 21, 2018

looks like gitcoin bot is going haywire. sorry everyone. planning on triaging today / tomorrow

@gitcoinco gitcoinco deleted a comment from gitcoinbot Feb 22, 2018
@owocki
Copy link
Contributor Author

owocki commented Feb 22, 2018

just put in a fix ( 12c8837 ) . deleting the erroneous comment right now

@gitcoinco gitcoinco deleted a comment from gitcoinbot Feb 22, 2018
@gitcoinco gitcoinco deleted a comment from gitcoinbot Feb 22, 2018
@gitcoinco gitcoinco deleted a comment from gitcoinbot Feb 22, 2018
@gitcoinco gitcoinco deleted a comment from gitcoinbot Feb 22, 2018
@gitcoinco gitcoinco deleted a comment from gitcoinbot Feb 22, 2018
@vs77bb
Copy link
Contributor

vs77bb commented Feb 26, 2018

@bhenze @scottydelta Poking in here, who is working this one right now? It seems like this might be in need of feedback from @owocki but I can't tell for sure.

Apologies for Gitcoin Bot coming in and trying to take over 😛 (Which I can see is a topic of conversation itself).

@owocki @PixelantDesign Any thoughts to add on the approach suggestions?

@bhenze
Copy link
Contributor

bhenze commented Feb 26, 2018

Yeah, this one kinda got a little confusing. I have changes #387 but there is a bit of drift now and I will need to do some manual merging. Just wanted to wait till I had the go-ahead before I did that.

@owocki
Copy link
Contributor Author

owocki commented Feb 26, 2018

id be happy to move over to a clean thread if that'd help make this neater :)

@bhenze let me know if you need anything from me! lets we left things i think we were on the same page

@scottydelta
Copy link
Contributor

are we still adding live rates using shields.io API?

@bhenze if the answer is yes to the above question then I can work on adding that if you haven't worked on it already. thanks

@owocki
Copy link
Contributor Author

owocki commented Feb 26, 2018

id prefer to complete the original scope here and then consider adding that later..

@bhenze
Copy link
Contributor

bhenze commented Feb 26, 2018

@owocki yup, we are on the same page. I was just waiting for a review on #387 but while I was waiting, some of those strings got updated a bit. So I just need to go back, rebase and fix those strings. I will go ahead and do that in a few and let you know when it is ready to look at.

@bhenze
Copy link
Contributor

bhenze commented Feb 26, 2018

@owocki, okay. My branch is up to date with all my updates from previous reviews and all the latest code from master. Cheers!

@gitcoinco gitcoinco deleted a comment from gitcoinbot Feb 26, 2018
@gitcoinco gitcoinco deleted a comment from gitcoinbot Feb 26, 2018
@owocki
Copy link
Contributor Author

owocki commented Feb 26, 2018

commenting over at #387 now

@bhenze
Copy link
Contributor

bhenze commented Feb 27, 2018

@owocki responded to your questions.

@owocki
Copy link
Contributor Author

owocki commented Mar 2, 2018

😍

@bhenze send me your ETH address and ill pay you out the bounty

@bhenze
Copy link
Contributor

bhenze commented Mar 3, 2018

@owocki
0x0370feF36074ccd141fb3BfFee17824021dc0417

Thanks! Look forward to helping out in the future.

@owocki
Copy link
Contributor Author

owocki commented Mar 6, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants