-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
Delete dependencies if they weren't installed manually previously #149811
Comments
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
What if an extension was originally installed as a dependency of another extensions but since then has become useful by itself and the user doesn't want to lose the dependency when they remove the originally dependent extension that caused the dependency to be installed? |
@conioh, I addressed this exact use case in second paragraph. |
Right, I missed that, sorry. Now I see that that is what the |
I've renamed |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
When extension is deleted, delete all its dependencies, unless they weren't manually installed by user or other extensions depend on it, or they part of installed extension packs
On page of extension installed as a dependency, there should be a note that it will be deleted if no other extensions depend on it, as well as a button "keep" that marks extension as manually installed.
Using metadata from #149812, here's some pseudocode to showcase how it could look like
Upd. add
if not extension.dependencyOf.isEmpty():
clause to pseudocode snippetThe text was updated successfully, but these errors were encountered: