Web: Subtask #3449 Build Front End What to Do Next Modal

Created on 20 Feb 2019  路  6Comments  路  Source: gitcoinco/web

User Story

as a repo maintainer, i want to be able to fund an issue from a private repo, so i can have contributors work on private stuff

Why Is this Needed

Even though there is a macro trend towards OSS, there is much more closed sourced software out there than open source software still.

Like how Netflix started with DVDs as a means of creating a giant internet video streaming service, so too, will we support closed source repos on Gitcoin.

Summary:

Description

Type:
Feature

Current Behavior

No support for Closed Source Software

Definition of Done

Modal You have successfully approved a contributor for the bounty
Screenshot to show where to go to give permission on Github - private repo settings

  • [ ] Build a screen that explains what the funder should do next.
  • [ ] Add appropriate tracking (discuss with team)
  • [ ] Review with team

Additional Information

Refer to the Simple ux flow.

Metric

  • MPV, active funders, & bounty hunters on private repos as compared to public ones
  • LTV on public repo bounties vs private repo bounties

Most helpful comment

@octavioamu would make sense to get the link the button in the modal -> to the settings page of the repo so that the funder can simply invite user directly

All 6 comments

@octavioamu would make sense to get the link the button in the modal -> to the settings page of the repo so that the funder can simply invite user directly

Yes is where it should go

@SaptakS I need some help with this because ?mutate_worker_action=approve&worker={worker}' is not an ajax endpoint so I don't have a success state to prompt the modal. I see 2 ways to solve this:

1_ Change that function to work with ajax calls and return json (that will need some changes in BE and a few in FE) most correct solution but more work also
2_ Add some kind of element as "message" maybe something like "success:true" so I can add a conditional in the html and run the modal function if that is true

What do you think? there is another easy way I'm missing?

@octavioamu check the message.tags in the javascript file and if it is "success" then it means that the approval worked.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

frankchen07 picture frankchen07  路  4Comments

Skyge picture Skyge  路  3Comments

owocki picture owocki  路  4Comments

kuhnchris picture kuhnchris  路  4Comments

christianbundy picture christianbundy  路  3Comments