Skip to content

Improve repo location in Deep Link service for PRs #3627

@ramin-t

Description

@ramin-t

The "add repo" case in the deep link service, which the Launchpad "Open in Worktree" command uses, doesn't leverage everything we know about the PR in the Launchpad. It should be able to leverage functions like getOrOpenPullRequestRepository from pullRequest.ts (using whatever we can pull through over the link like head and base repo URLs).

Right now the "add repo" case only cares about the remote url, which is not as in-depth. We should expand it to do more to get to the opened repo when the target is a PR.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions