Skip to content

feat: show sync github issue button to bounty owner  #4870

@thelostone-mc

Description

@thelostone-mc

Description

When funder creates an issue, we sync the issue with GitHub to populate details. Once an issue has been created successfully, we've got a cron which pulls data and syncs every 24 hours to ensure all updates made to GitHub issue are synced

Issue

Many a time, after creating an issue -> the funder decides to update the description but this gets reflected on the Gitcoin issue only when the cronjob runs the mgmt command.
This can be frustrating to the funder especially if a change needs to be ported asap.

Solution

Introduce a button Sync Issue on the bounty detail page which gets rendered only if you are the owner of the issue / the admin.
The funder/admin would be able to click on this and this would pull the latest and update the DB thus allowing an immediate sync

The button is to be added next to the other action buttons aka the black rectangle in the below screenshot

Screenshot 2019-07-25 at 4 19 28 PM

NOTE

Reported on community slack a couple of time !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions