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

fix(explorer): Mark dropped db/coll tree item; Do not re-create dropped items in children cache VSCODE-244 #288

Merged
merged 2 commits into from
Apr 22, 2021

Conversation

gribnoysup
Copy link
Contributor

Fixes the issue with dropped collections and databases still being displayed in the explorer tree view due to cache still keeping a reference to them. This PR addresses the issue by introducing new isDropped property for db/coll that their parent tree view can use to prune cache on refresh

Kapture 2021-04-21 at 18 03 05

src/explorer/collectionTreeItem.ts Outdated Show resolved Hide resolved
…ee view as dropped

Co-authored-by: Anna Henningsen <anna@addaleax.net>
@gribnoysup gribnoysup merged commit cb173a9 into master Apr 22, 2021
@gribnoysup gribnoysup deleted the vscode-244-remove-dropped-db-coll-from-tree branch April 22, 2021 14:57
@Anemy Anemy mentioned this pull request Jun 16, 2021
@Anemy Anemy mentioned this pull request Jul 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants