Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update multiple Git message fields in source control view #31

Closed
rkotze opened this issue Apr 13, 2020 · 0 comments
Closed

Update multiple Git message fields in source control view #31

rkotze opened this issue Apr 13, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rkotze
Copy link
Owner

rkotze commented Apr 13, 2020

Summary

A VS Code user could have multiple projects open which have their own Git repositories in a workspace.

Currently adding a co-author will only write to one of the Git message fields. What should happen is all the Git message fields are updated the selected/unselected co-authors.

Motivation

Improve the user experience when selecting co-authors across multiple projects.

Additional information

Git Mob CLI is local to each project rather than global meaning the co-author command will need to be run on each project. It's not as simple as updating each input field in the view as that would put the UI and CLI out of sync.

@rkotze rkotze added the enhancement New feature or request label Apr 13, 2020
@rkotze rkotze changed the title Update multiple projects git message fields in source control view Update multiple Git message fields in source control view Apr 13, 2020
rkotze added a commit that referenced this issue Apr 15, 2020
- This is a single way to access the git ext api.
- This also updates all input boxes for projects in a workspace.
- More work needs to be done to support Git Mob CLI across multiple projects.

#31
@rkotze rkotze self-assigned this Apr 17, 2020
rkotze added a commit that referenced this issue Apr 17, 2020
rkotze added a commit that referenced this issue Apr 17, 2020
rkotze added a commit that referenced this issue Apr 19, 2020
Need to track when a repo is selected to know which field to update.

This is done by listening for when a repo is added to the workspace.

Next this to do is to ensure onDidChangeUiState is only triggered once when multiple repos added.

#31
rkotze added a commit that referenced this issue Apr 19, 2020
rkotze added a commit that referenced this issue Apr 20, 2020
rkotze added a commit that referenced this issue Apr 20, 2020
rkotze added a commit that referenced this issue Apr 21, 2020
rkotze added a commit that referenced this issue Apr 22, 2020
@rkotze rkotze closed this as completed Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant