Skip to content
This repository was archived by the owner on Nov 18, 2021. It is now read-only.
This repository was archived by the owner on Nov 18, 2021. It is now read-only.

tag (label) pull requests #1

Closed
Closed

Description

@isaacs

The API seems to support tagging pull requests, but it's not surfaced in the UI.

As a maintainer of a few repos that get a ton of pull requests, it would be incredibly helpful to be able to tag pull requests to sort and select them based on arbitrary overlapping semantics, such as the area of the program that they touch, whether they are a bugfix or new feature, whether we're awaiting the user signing a CLA, etc.

Milestones and assignment are great as well, however, they do not address quite the same use cases. Milestones are for organizing release trains (and super helpful!), and assignment is for indicating that a user is responsible for a pull req (also super helpeful!), but this is more about arbitrary overlapping categories, which tags are perfect for.

Activity

  1. dreww commented on Jun 4, 2013

    @dreww
    Collaborator

    there is exactly one place in the UI where you can label a pull request.

    perhaps unintuitively, it is on the Issues page:

    hope this helps.

  2. isaacs commented on Jun 4, 2013

    @isaacs
    OwnerAuthor

    @dreww That's fantastic! I'm going to start using this!

    However, I think that the fact that I've literally been searching for this for months, and constantly complaining about it to every githubber I come into contact with, and I'm just now finding out about it, indicates that it should really be exposed more effectively.

    Also, because it is not exposed on the /pulls our /pulls/id page, it makes it much less useful than it could be, and rather klunky to get to. When I'm reviewing pull reqs for a specific milestone, I then have to go back and find the pull req in the issues list, etc. Not a smooth userflow at all.

  3. isaacs commented on Jun 4, 2013

    @isaacs
    OwnerAuthor

    @tjfontaine had a great idea to take advantage of this: We can have a bot label all pull requests with "pr" and the target branch, so we can filter that way.

  4. luka8088 commented on Jul 31, 2013

    @luka8088

    Hi! I tried injecting html code for labels (<div class="discussion-labels">...</div>) into a pull request and it works. Not only that it show but it allows correct label changing. Are labels removed from pull requests on purpose? Because this is very useful and looks easily implementable.

  5. snopoke commented on Aug 27, 2013

    @snopoke

    This would be super handy to have access to when creating and viewing PR's. Even once I've labeled the issue related to a PR I don't see the label when viewing the list of PR's or even when viewing the PR itself so unless I go to the issues list I won't even know that it has a label.

  6. kiori commented on Nov 14, 2013

    @kiori

    this looks it hasn't happened yet?

  7. iguananaut commented on Nov 30, 2013

    @iguananaut

    Shameless self-promotion here, but I've added a working Greasemonkey script to add support for this: http://userscripts.org/scripts/show/185095

    It was easy enough to do that it still mystifies me that GitHub doesn't do this...

  8. patcon commented on Dec 2, 2013

    @patcon

    Nice! 👍

    EDIT: I just installed, but doesn't seem to be working. I openned a PR: iguananaut/userscripts#3

  9. snopoke commented on Dec 2, 2013

    @snopoke

    That's great @iguananaut but for a team it would require every member of the team to install it.

  10. iguananaut commented on Dec 2, 2013

    @iguananaut

    @snopoke Yeah, it's still a shortcoming. The project that motivated me to do this would require probably at least 10 people to use it regularly. I think I can get them to install it without too much hassle but it still mystifies me that GH doesn't just implement this...

  11. patcon commented on Dec 2, 2013

    @patcon

    @snopoke Maybe we could start a project that aggregates all the choice userscripts dealing with concerns in this repo into a one-click install userscript bundle? Might be nice to start having a focus for actionable items in this repo :)

    cc: @isaacs

  12. patcon commented on Dec 2, 2013

    @patcon

    Also, @isaacs, a tag or this sort of fix might be nice, for anyone wondering which issues have been fixed by the community. Maybe fixed-workaround or fixed-userscript or something?

  13. eddieajau commented on Dec 18, 2013

    @eddieajau

    👍 @iguananaut - works like a charm

  14. patcon commented on Jan 28, 2014

    @patcon

    This seems to be fixed after the redesign:
    https://github.com/blog/1767-redesigned-conversations

    @isaacs I think this can be closed :)

  15. tjfontaine commented on Jan 28, 2014

    @tjfontaine
    Collaborator

    thanks @patcon for the notification and @github for fixing this

  16. embray commented on Jan 29, 2014

    @embray

    Well this sure is a thing that seems to have just happened. 👍 thanks @github

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions