Skip to content

[Bug] Clicking the prefix button in a Workspace toggles the repo's dropdown #29

@atrudeau-vitall

Description

@atrudeau-vitall

Background
Using a VSCode workspace you can add and work on multiple repositories, each repository you add to a workspace also has its own collapsable section in the source control panel.

Steps to reproduce

  1. Create a workspace with 2 or more repositories in VSCode
  2. Install + configure the git prefix extension
  3. Click the git prefix button in either repo's source control section

Expected output
The commit message box for the selected repo is prefixed with the extension's prefix message, and each source control section's "collapsed" state is unaffected by clicking the git prefix button.

Actual Output
The commit prefix is set correctly, however the source control section for the first repo in the workspace toggles (if it was open, it is now closed, vice versa) regardless of which git prefix button was clicked.


Environment
VSCode Version: 1.86.0 (Universal)
Electron: 27.2.3
ElectronBuildId: 26495564
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Darwin x64 21.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions