rkotze / git-mob-vs-code

Co-author commits. A quick way to add co-author metadata to a Git commit via VS Code source control panel.
https://marketplace.visualstudio.com/items?itemName=RichardKotze.git-mob
MIT License
34 stars 9 forks source link

On selecting co-author: Failed to update input: Cannot read property 'inputBox' of undefined #61

Closed anarchist912 closed 3 years ago

anarchist912 commented 3 years ago

Prerequisites

Description

Fresh install, vs code version 1.52.1. Clicking on a user to add them as co-authors results in dialog with error message:

Failed to update input: Cannot read property 'inputBox' of undefined

Steps to Reproduce

see above

Expected behaviour: User gets added to selected co-authors.

Actual behaviour: Error message appears, user stays unselected.

Reproduces how often: Every time until now.

Versions

rkotze commented 3 years ago

@anarchist912 hi,

Does this issue happen when you have multiple repositories open in one instance of VS Code? This is a bug in VS Code Git ext, where the extension API does not show which is selected. You can find more details here: https://github.com/rkotze/git-mob-vs-code/issues/48

If just one repository then restart VS code or "reload window" command should solve the issue.

anarchist912 commented 3 years ago

@rkotze hi! Sorry, yes, this is exactly the case. So this can be closed and I'll wait on #48. Your extension really becomes interesting within a multi-repo workspace. ;)

tobiasdiez commented 3 years ago

In the recent version, I get the same error whenever I interact with the built-in git module (even with the git-mob coauthors tab collapsed). Since #48 is now also closed, I'm not sure how to proceed - should I open a new issue?

rkotze commented 3 years ago

@tobiasdiez hi,

Could you make a new issue with the steps to reproduce, please?

A screenshot with the error would help as well.

Also, provide your vs code version.

Thanks.