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

Add option to hide git sync button in status bar #70536

Merged
merged 1 commit into from Aug 8, 2019
Merged

Add option to hide git sync button in status bar #70536

merged 1 commit into from Aug 8, 2019

Conversation

joshleeb
Copy link
Contributor

@joshleeb joshleeb commented Mar 15, 2019

This PR adds the option git.statusBarSync.enabled which when set to false will hide the SyncStatusBar icon that is, by default, visible in the status bar.

Resolves #70604

@msftclas
Copy link

msftclas commented Mar 15, 2019

CLA assistant check
All CLA requirements met.

This PR adds the option `git.statusBarSync.enabled` which when set to `false`
will hide the `SyncStatusBar` icon that is, by default, visible in the status
bar.
this.state = { ... this.state, isEnabled: true };
} else {
this.state = { ... this.state, isEnabled: false };
}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@joshleeb are you think about this suggestion? Without this one if isn't simpler?

this.state = { ... this.state, isEnabled: isEnabled };

@roblourens
Copy link
Member

Is there an issue for this?

@joshleeb
Copy link
Contributor Author

@roblourens apologies for not creating an issue. I thought it would be a minor enough change not to warrant one.

I've created an issue and linked to it in the PR description.

@joaomoreno joaomoreno added this to the Backlog milestone Mar 18, 2019
@joaomoreno joaomoreno added the git GIT issues label Mar 18, 2019
@joaomoreno
Copy link
Member

Renamed setting to git.enableStatusBarSync

@joaomoreno joaomoreno modified the milestones: Backlog, August 2019 Aug 8, 2019
@joaomoreno
Copy link
Member

Thanks! 🍻

@joaomoreno joaomoreno merged commit 05ed3df into microsoft:master Aug 8, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
git GIT issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing option to hide git sync button in the status bar
5 participants