Skip to content

Cmd-R not opening pull request for active branch #3518

Closed

Description

@cheshire137

I'm in version 1.0.10 on macOS Sierra. I'm experiencing a problem where when I hit Cmd-R to open the existing pull request or create a new pull request for the current branch, it instead opens the wrong pull request in my browser. For example, I'm on a branch that does not have a PR right now, named fix-flaky-test. When I hit Cmd-R from GitHub Desktop, it opens an existing pull request for a branch titled search-nav.

My current branch was started directly from master, and shouldn't include any of the same commits as what are in the search-nav branch besides those shared from also starting search-nav off of master. So it doesn't seem at all related to the branch of the PR Desktop takes me to, except that I have worked on search-nav earlier today and it might be remembering that instead of using my current branch?

Activity

  1. added
    bug
    on Dec 6, 2017
  2. added this to the 1.1 milestone on Dec 6, 2017
  3. iAmWillShepherd commented on Dec 6, 2017

    @iAmWillShepherd
    Contributor

    Good catch, I'll look into this one soon. 🙇

  4. iAmWillShepherd commented on Dec 6, 2017

    @iAmWillShepherd
    Contributor

    Looks like this issue may be related to my work in PR #3511

  5. tierninho commented on Dec 6, 2017

    @tierninho
    Contributor

    Here is a visual for this bug. The Cmd-R should open the top PR as it is associated with the current branch, not the grey highlighted one which is randomly selected.

    screen shot 2017-12-06 at 1 34 34 pm

  6. tierninho commented on Dec 7, 2017

    @tierninho
    Contributor

    Note that the Create Pull Request(Cmd-R) still exists when there is already a PR associated with the active branch, therefore we should consider greying it out.

    Ref:
    #3520 (comment)

  7. iAmWillShepherd commented on Dec 7, 2017

    @iAmWillShepherd
    Contributor

    PR #3432 should have made this menu item dynamic and PR #3511 should ensure that the menu item is updated everytime the active branch is changed.

  8. locked as resolved and limited conversation to collaborators on Jul 19, 2018
  9. unlocked this conversation on Sep 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bug

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions