vscode-pull-request-github icon indicating copy to clipboard operation
vscode-pull-request-github copied to clipboard

Add opt-in to always prompt for repo for issue creation and add comment to issue file specifying the repo

Open mikeseese opened this issue 1 year ago • 2 comments

This PR adds a githubIssues.alwaysPromptForNewIssueRepo config variable that defaults to false. When set to true, if the user creates a new issue via the + button in the side panel, the extensions will always prompt the user for a repo to create the issue for instead of using the current open file. Behavior should not change for creating issues from selection/etc that are supposed to be directly contextual.

This PR also adds a comment in the NewIssue.md file telling the user which repo the issue will be created in if it's available:

image

This PR fixes #2099.

mikeseese avatar Jul 26 '24 19:07 mikeseese

@microsoft-github-policy-service agree

mikeseese avatar Jul 26 '24 19:07 mikeseese

@alexr00 It got a little more complex, but now origin will contain information to reproduce the correct folder manager and remote by adding a new repo URI scheme.

mikeseese avatar Jul 29 '24 19:07 mikeseese

Merge conflict Moving the milestone

rzhao271 avatar Oct 25 '24 22:10 rzhao271

@rzhao271 @alexr00 Merge conflicts have been resolved. This PR is still waiting for a rereview. Thanks!

mikeseese avatar Oct 28 '24 18:10 mikeseese

Thanks for your patience on this! I'll look at it next week when we start our annual clean up iteration.

alexr00 avatar Dec 03 '24 11:12 alexr00

Sounds good, thanks!

mikeseese avatar Dec 09 '24 16:12 mikeseese