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

Town Square - As a user, I want an easy way to turn an interesting post into a GitHub issue #6009

Closed
willsputra opened this issue Feb 18, 2020 · 6 comments

Comments

@willsputra
Copy link
Contributor

User Story

As a user, I want an easy way to turn an interesting post on the Town Square into a GitHub issue

Why Is this Needed

Summary: There are a lot of awesome ideas and feature requests on the Town Square. As a repo owner / contributor to open source, I want to turn these ideas and feature requests into issues in GitHub repo, so it can be worked on in the future.

Description

Rough idea: maybe have a button on each post, that will make a new issue on GitHub with the post content as the issue detail?

Might also need a way to select a repo on GitHub since the ideas might be related to different repos.

@walidmujahid
Copy link
Contributor

walidmujahid commented Feb 24, 2020

I will work on this. This is sorely needed for Gitcoin's Web repository, so I will focus on that first and then expand it to any Github repository. This feature is also relevant to #6051 idea which I would like to see -need more community input on that, though, and probably @owocki.

@walidmujahid
Copy link
Contributor

Flow:

Simplified:

  • User clicks on a button to turn a post into a Github issue - a post could be either a status post or comment, but should it be one or the other? A townsquare comment does not have a short character limit, so perhaps that may be the best?
  • Link to the Github issue will be posted as a comment under the activity
  • Link to the Github issue will also be posted as an activity on its own
  • The user will be shown an alert recommending they edit the Github issue as soon as possible

As for the buttons the user is shown, a single button would be simple and so I could assume that users will click it specifically to:

... turn these ideas and feature requests into issues in Github repo

With that assumption, I will work off the feature_request.md as a base.

A more complex version could be:

  • User clicks on button to turn post into issue
  • A model is shown on the page giving the user the option to select whether they are suggesting/requesting a feature or reporting a bug. They would also have the option to edit and add to the text so they do not have to go to Github to edit
  • Link to the Github issue will be posted as a comment under the activity
  • Link to the Github issue will also be posted as an activity on its own
  • The user will be shown a success alert

@walidmujahid
Copy link
Contributor

Sorry for not making an early PR. I will still be working on this and will try to open a WIP PR soon.

walidmujahid added a commit to walidmujahid/web that referenced this issue Mar 11, 2020
walidmujahid added a commit to walidmujahid/web that referenced this issue Mar 11, 2020
@walidmujahid
Copy link
Contributor

Draft WIP PR opened: #6201

walidmujahid added a commit to walidmujahid/web that referenced this issue Mar 12, 2020
walidmujahid added a commit to walidmujahid/web that referenced this issue Mar 12, 2020
walidmujahid added a commit to walidmujahid/web that referenced this issue Mar 13, 2020
@walidmujahid
Copy link
Contributor

I still need to figure the tokens for users to enable the public_repo permission before I open up the draft WIP PR.

Beyond that, I recently took a look at the Select2 docs for #6191 (comment) and I was surprised to find the example for remote data selection to be using GitHub repos. So, I think before I remove the WIP stats of my PR, I will add in the feature to select any public GitHub repo.

@frankchen07 frankchen07 added this to To do in Collaborator Projects via automation Mar 25, 2020
@frankchen07 frankchen07 moved this from To do to In progress in Collaborator Projects Mar 25, 2020
Collaborator Projects automation moved this from In progress to Done Jul 8, 2020
@walidmujahid
Copy link
Contributor

This should not be closed @thelostone-mc. Work is still being done on the PR.

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

Successfully merging a pull request may close this issue.

4 participants