You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cmd-R not opening pull request for active branch #3518
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?
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.
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.
Activity
iAmWillShepherd commentedon Dec 6, 2017
Good catch, I'll look into this one soon. 🙇
iAmWillShepherd commentedon Dec 6, 2017
Looks like this issue may be related to my work in PR #3511
tierninho commentedon Dec 6, 2017
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.
tierninho commentedon Dec 7, 2017
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)
iAmWillShepherd commentedon Dec 7, 2017
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.