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

Hint which repo an issue will be opened in

Open roblourens opened this issue 5 years ago • 5 comments

Testing https://github.com/microsoft/vscode-pull-request-github/issues/2095

I think it would be helpful if the new issue form editor would tell me which repo the issue is being opened in, just to give me confidence that it got it right.

roblourens avatar Sep 01 '20 22:09 roblourens

Actually, why does "create PR" ask which repo to create it in, but "create issue" guesses based on context?

roblourens avatar Sep 01 '20 22:09 roblourens

I'll add a decoration for it. We guess based on context because it seems likely that if you're creating an issue within VS Code you probably want to create an issue in the repo of the file you have open.

alexr00 avatar Sep 03 '20 12:09 alexr00

Hmm, if you create a lot of issues back to back a decoration won't work because we don't know when a tab is closed to remove the decoration properly. You can get an old decoration which is extremely confusing. I'll have to add a new line to the document for the repo.

alexr00 avatar Sep 03 '20 14:09 alexr00

We guess based on context because it seems likely that if you're creating an issue within VS Code you probably want to create an issue in the repo of the file you have open.

This is definitely not the case in my workflow. Sometimes I discover a bug via using the terminal and proceed to make an issue. The open file can be one of many repos in my case. Perhaps an opt-in setting to disable guessing context and always prompt could solve our needs?

mikeseese avatar Jul 26 '24 17:07 mikeseese

@alexr00 I know this issue is pretty stale, so I took a stab at both options in #6115

mikeseese avatar Jul 26 '24 19:07 mikeseese