Closed WitoDelnat closed 1 year ago
I think we can disable it (e.g. if it has no value set) on Monokle extension start with WorkspaceConfiguration API:
vscode.workspace.getConfiguration().update(...);
Unfortunately, it became more annoying with recent SARIF plugin update which shows another pop-up for GitHub integration:
Unfortunately, it became more annoying with recent SARIF plugin update which shows another pop-up for GitHub integration:
Regarding the above, seems like it is connected with notification mentioned in initial description. No matter how I close it, this pop-up always appears (unless you pick Never
). Seems like a bug to me TBH 🤔
Anyways, disabling initial notification (with e.g. this workaround - https://github.com/kubeshop/vscode-monokle/issues/16#issuecomment-1635575035) should fix this.
Just as quick heads-up - to do it properly we will need to fork Sarif extension. As a workaround, Monokle extension can override Sarif ext setting as mentioned in https://github.com/kubeshop/vscode-monokle/issues/16#issuecomment-1635575035, but this has some caveats:
.vscode/settings.json
file which might be a bit confusing / not desired by users.sarif-viewer.connectToGithubCodeScanning
takes effect only after VSC restart, so even when we disable it on the first run it still be visible on this first run (well, still better than for each run).
When you open a repo a popup appears bottom-right to connect to GitHub. Can we disable this somehow by default? Setting name is
sarif-viewer.connectToGithubCodeScanning