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: save documents from tree view and do not reopen them for playground runs VSCODE-399, VSCODE-400 #504

Merged
merged 2 commits into from
Mar 30, 2023

Conversation

alenakhineika
Copy link
Contributor

@alenakhineika alenakhineika commented Mar 30, 2023

Description

Bug fixes for the release:

  • VSCODE-399 Can not save a mongodb document from a tree view
  • VSCODE-400 Run playground sets focus to a previously open document

Checklist

Motivation and Context

  • Bugfix
  • New feature
  • Dependency update
  • Misc

Types of changes

  • Backport Needed
  • Patch (non-breaking change which fixes an issue)
  • Minor (non-breaking change which adds functionality)
  • Major (fix or feature that would cause existing functionality to change)

@@ -581,8 +581,6 @@ export default class PlaygroundController {

this._playgroundResult = evaluateResponse.result;

this._explorerController.refresh();
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This triggers the click event on the selected in the tree view document. We do not refresh lists on the fly on other explorers, so let's also use the existing refresh button in this case.

package.json Outdated Show resolved Hide resolved
@alenakhineika alenakhineika requested a review from Anemy March 30, 2023 17:37
@alenakhineika alenakhineika merged commit 271a312 into main Mar 30, 2023
@alenakhineika alenakhineika deleted the bug-fixes-release-0.11.0 branch March 30, 2023 22:23
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