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: don't navigate to source on scan finished #502

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

bastiandoetsch
Copy link
Collaborator

Description

Provide description of this PR and changes, if linked Jira ticket doesn't cover it in full.

Checklist

  • Tests added and all succeed
  • Linted
  • CHANGELOG.md updated
  • README.md updated, if user-facing

Screenshots / GIFs

Visuals that may help the reviewer. Please add screenshots for any UI change. GIFs are most welcome!

@bastiandoetsch bastiandoetsch requested a review from a team as a code owner April 3, 2024 15:10
@bastiandoetsch bastiandoetsch enabled auto-merge (squash) April 3, 2024 15:30
Comment on lines +43 to +46
this.snykToolWindowPanel.navigateToSourceEnabled = false
displaySnykCodeResults(snykCodeResults)
refreshAnnotationsForOpenFiles(project)
this.snykToolWindowPanel.navigateToSourceEnabled = true
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this kind of toggling is safe if this function is not called multiple times, different threads situation?

@bastiandoetsch bastiandoetsch merged commit 66ec5d0 into master Apr 4, 2024
9 checks passed
@bastiandoetsch bastiandoetsch deleted the fix/dont-jump-editors-after-autosave-scan branch April 4, 2024 14:00
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