As a developer/contributor, I want to notifiy Gitcoin that I'm starting work in one place.
Type: Feature
Summary: Currently users make a comment on the Github issue that they'd like to start work, but sometimes forget to go to Gitcoin to click the start work button. Sometimes users also are not aware that they should ask questions about the ticket or provide an approach to the funder.
User should notify Gitcoin in just one place by clicking start work button. A short form opens asking the user a few questions and when user clicks submit, the notes automatically get posted to Github and we accept this as the user has started work.
Summary: Please see attached wireframes and designs.
Please work with @thelostone-mc who is building #419 (Issue details page)
Please review with @PixelantDesign


__This issue now has a funding of 0.17 ETH (97.5 USD @ $573.53/ETH) attached to it.__
EDIT: COMMENT WAS REMOVED WHEN I REASSIGNED MYSELF :)
Hi, regarding the above comment, I found Gitcoin through this job post https://angel.co/gitcoin/jobs/325636-front-end-developer and I was examining the platform as a first time user. This was triggered accidentally as it wasn't immediately clear to me what the implications of clicking it were, which I guess is the root issue here!
Hi, further to my above comment, I thought i'd give the platform a spin!
Assumptions
Solution
Questions
Other general refactoring
value == null vs value === null. I can fix them if it's wanted.I believe that the user should see a confirm dialog when clicking "Stop work", what do you think? In its currently state it's easy to throttle.
I believe we didn't include that in scope for a reason. @PixelantDesign what do you think?
Is there a deadline for this, or is it to be done within the expiration period shown on the Gitcoin site?
Just within the timeline on the bounty. Though we'd ask that if you decide not to work on this that you be mindful that you release it back to an 'open' state so that others can jump in!
edit: your solutions and other refactoring notes sound right to me
I believe that the user should see a confirm dialog when clicking "Stop work"
@elmarti good catch. The user should definitely see a confirmation if they come back and click stop work. Ideally, the gitcoin bot would also post that on the github thread.
Thanks!
@PixelantDesign Thanks, so should that be done within the scope of this issue? If so, shall I await a mockup, design myself or use the native confirm dialog - I tend not to use them outside of Cordova development but they appear to be used in this application. Maybe a better issue would be to look at replacing them and use the confirm dialog here in the mean time?
Another thing, I'm just having a look at the backend code, I can't quite seem to see where gitcoinbot gets messaged https://github.com/gitcoinco/web/blob/2717d0d5192f79901d90d7ab8e3c373d57b81dc1/app/dashboard/views.py#L127, can anyone clarify? I'm assuming at this point that there's some sort of database hook at play, but I may be totally wrong..
Another thing, I'm planning on extending the interest model, are there any implications of this or does anyone have any objections? I'm naturally opposed to this as it's duplicated data, but I can't see any other way at present
@elmarti You should be able to add the new fields to Interest.
github bot gets messaged in maybe_market_to_github()
Hi, what is the expected behaviour of the radio buttons for "Do you have any questions"? are they there for showing/hiding the textarea below?
https://github.com/elmarti/web Work started
Hi, what is the expected behaviour of the radio buttons for "Do you have any questions"? are they there for showing/hiding the textarea below?
Good question: @PixelantDesign -- what do you think is the best practice here?
@elmarti
Hi, what is the expected behaviour of the radio buttons for "Do you have any questions"? are they there for showing/hiding the textarea below?
The radio button is not meant to be progressive. A user could not have any questions but also have a concern/info/ or approach they want to share with the funder/project owner.
Currently having some issues testing as I currently don't have any ETH, is there any way to bypass this for testing, or to fudge in some example bounties?
yes you can import some bounties using the instructions here https://github.com/gitcoinco/web/blob/master/docs/RUNNING_LOCALLY_DOCKER.md#optional-import-bounty-data-from-web3-to-your-database
i also recommend getting some rinkeby eth and testing via rinkeby, which you can do here => https://faucet.rinkeby.io/
Moving onto the styling now, just got one minor UX issue - there doesn't seem to be a clear way to asynchronously handle error responses when mutating the interest, it seems to rely on alerting the user via the alert dialog in mutate_interest. This makes it impossible to detect when the request has failed.
In its current form I managed to get the request to fail, but still have it the client side state so interest has been registered. It may be a general issue rather than something within the scope of this issue. This will mean, if the mutate interest request fails, there's no clean way of preventing the loss of the message written in the modal.
I've noticed there are 2 different designs in the PDF and posted in the issue.. I've tried to find a middle ground in the mean time:

Hi, pretty much done in terms of functionality, just hit an interesting snag in dashboard/notifications.py...
In build_github_notification it uses the profile_pairs object to build a list of users undertaking the project as it does here https://github.com/gitcoinco/web/issues/683#issuecomment-375489064.
It's a bit confusing that the "Start work" button triggers the creation of an Interested ManyToMany object, which is then used to bind a single developer to the task (AFAIK), and then looking at the PDF It looks like the new comment is also bound to a single user.
Is it that in build_github_notification method, we can safely rely on a maximum number of 1 developers being there for this particular event, or am I missing something? 馃檭
I believe that the Interested object is many to manage for a reason. you should assume that there is between 0 and n interested parties for a Bounty.
So the problem you are trying to solve is to figure out which/how to present each users' comments in the github notification after creation of the Interested object?
Yeah, in the PDF the text shows as follows:
Work Started.
@ has committed to working on this project to be completed in 2 weeks.
Please answer following questions/comments @owocki:
Please confirm resolution and browser support required.
I guess it could just be modified to have some kind of comma separated list, but it depends on whether there are future plans for internationalization as this would hard code the grammar logic.
i think a comma seperated list works for now. we will handle the intl8zn later
Ok, should hopefully have a PR in for this tomorrow
@elmarti Anything I can do to help you with this? Whenever you raise the PR, I'll be sure to take a look!
Hi @mbeacom, just in the final stages, having a bit of trouble attaching to the docker container for debugging before a PR, any advice? I think I will have to run it without which may be difficult
@elmarti what's the error you get when your run docker ?
Hi @thelostone-mc there's no error when running the docker container, I can't seem to attach to the docker instance to breakpoint the code I've written in Cloud9 and I don't feel comfortable submitting a PR without doing that first
@mbeacom help needed !!
Don't think I'd be of much help here
@mbeacom, please assist! Thanks!
Hi, I've received an email noting that I've been removed from the task, that's fine given I can't see how to proceed from this point, feel free to use the work I've completed so far, just a little bit of backend work to do - building the message for gitcoinbot
thanks for letting us know about your availability @elmarti
for anyone who's picked up the task since then, here are the docs about how to set a breakpoint inside docker
@thelostone-mc any interest in picking this up?
I'd say most of the ppl jumping into these already have jobs and are working on the side. Although a deadline is put on the bounty, it's also nice to to have a general understanding of how much time they allot to these side projects. IE - if you have two ppl jumping on a task or a 2nd person that wants to take a task and they have way more bandwidth... that's good info to have.
good feedback from @villanuevawill -- perhaps this is a question we should be asking on the 'start work' modal?
hmmm...what if we asked the contributor to confirm whether they think they could complete the project by x date?
@PixelantDesign my original intention behind this idea is it gives a good criteria to choose a candidate to work with. For example, I may be loose on my timeline, because I realize code may take longer and shorter than I originally scoped. However, I may be more likely to team up with someone who has more availability in their schedule and can finish the task more quickly.
Issue Status: 1. Open 2. Expired
__Work has been started__.
@darkdarkdragon has committed to working on this project to be completed 1聽week, 2聽days ago.
@darkdarkdragon are you still working on this issue?
Yes, I'll make pr today.
鈿★笍 A tip worth 0.17 ETH (116.6 USD @ $685.87/ETH) has been granted to @darkdarkdragon for this issue from Kevin. 鈿★笍
The sender had the following public comments:
Thanks.. This is great!
Nice work @darkdarkdragon! To redeem your tip, login to Gitcoin at https://gitcoin.co/explorer and select 'Claim Tip' from dropdown menu in the top right, or check your email for a link to the tip redemption page.
Issue Status: 1. Open 2. Expired
__The funding of 0.17 ETH (115.72 USD @ $680.72/ETH) attached to this issue has been cancelled by the bounty submitter__
鈿★笍 A tip worth 0.17 ETH (115.72 USD @ $680.72/ETH) has been granted to @darkdarkdragon for this issue from Kevin. 鈿★笍
The sender had the following public comments:
wooooo hoooooooooooo
Nice work @darkdarkdragon! To redeem your tip, login to Gitcoin at https://gitcoin.co/explorer and select 'Claim Tip' from dropdown menu in the top right, or check your email for a link to the tip redemption page.
Thanks for this @darkdarkdragon ^_^
Looking forward to working with you again
Most helpful comment
Yes, I'll make pr today.