Skip to content

Direct user to correct URL if PR lives on the upstream repo #8928

Closed

Description

@tierninho

When testing this issue #8549 with this scenario:

Example: I'm in billygriffin/desktop (a fork of desktop/desktop) on my branch new-work, and I make some commits and create a pull request targeting the development branch of desktop/desktop. In the app, I'm still shown the "Create pull request" suggested next step even though I've already created one.

I noticed that we route the user to the forked repo if they click Show Pull Request (aka cmd-R) from the Repository menu after completing the above steps.

Doing so results in a 404 page as the PR is located on the upstream repo.

Screen Shot 2020-01-15 at 12 33 16 PM

tested in 2.2.5-beta1, OSX

Activity

  1. added
    bug
    priority-3
    on Jan 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority-3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions