Skip to content

feat(extensions): added an option to disable related dependencies when disabling an extension with enabled dependencies#104997

Merged
sandy081 merged 3 commits intomicrosoft:masterfrom
rotem-bar:jensui/102906
Nov 11, 2020
Merged

feat(extensions): added an option to disable related dependencies when disabling an extension with enabled dependencies#104997
sandy081 merged 3 commits intomicrosoft:masterfrom
rotem-bar:jensui/102906

Conversation

@rotem-bar
Copy link
Contributor

This PR fixes #102906

example image

Adds a "Disable all related dependencies" button to the "Cannot disable extension X. Extensions .. depend on this"
To test changes: attempt to disable the Git extension while having an extension that depends on it enabled (Git Blame, etc.)

…n disabling an extension with enabled dependencies
@sandy081 sandy081 self-requested a review August 19, 2020 14:55
@sandy081 sandy081 added this to the August 2020 milestone Aug 19, 2020
Copy link
Contributor

@gjsjohnmurray gjsjohnmurray left a comment

Choose a reason for hiding this comment

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

I also suggest updating the three message texts in getErrorMessageForDisablingAnExtensionWithDependents to add the word "alone" like this:

Cannot disable extension '{0}' alone.

@sandy081 this is still on the August 2020 milestone, and I hope it can be merged soon. It will be particularly useful when disabling an extension that is part of an extension pack. At the moment we have to find the pack, disable that, then return to disable the member extension that we want to turn off.

@sandy081 sandy081 modified the milestones: August 2020, November 2020 Oct 27, 2020
@sandy081
Copy link
Member

Sorry for not tracking this. Will go through it in November.

Copy link
Member

@sandy081 sandy081 left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Changes LGTM.

There are some minor wording tweaks which I will do after merging.

@sandy081 sandy081 merged commit 776d80f into microsoft:master Nov 11, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Dec 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extensions: Offer the user the ability to disable all dependencies when disabling an extension with dependents

3 participants