Skip to content

Unable to add comments on diff files in workspaces with more than one PR in review #8861

Description

@mattiagalati
  • Extension version: 0.158.0
  • VSCode Version: 1.130.0
  • OS: Windows 11
  • Repository Clone Configuration:
    • VSCode Workspace with 2 folders, each one is a repository with a separate PR to manage
  • GitHub Product: GitHub.com

Steps to Reproduce:

  1. Open "GitHub" extension panel on left sidebar, correctly see two folders and the PR waiting for my review
  2. Use "Checkout Pull Request" icon on right side of the listed PR for the first folder
  3. VSCode automatically opens "GitHUb Pull Request" panel listing changes in the checked out PR
  4. Opening the diff view for a file, I am able to comment each modified line of the file
Image
  1. Since the two PR are related, proceed to checkout also the PR on the second folder
  2. VSCode agains opens "GitHUb Pull Request" panel, which now lists both the first and the second PR file changed, but now, only files from the second folder (the last PR checked out) allow to insert comments: the "+" icons on file diff of the first PR became non responsive
Image

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bug

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions