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

chore: disable hovers [IDE-390] #554

Merged
merged 10 commits into from
Nov 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,17 @@
# Snyk Security Changelog

## [2.20.0]
- disable hovers over issues
- If $/snyk.hasAuthenticated transmits an API URL, this is saved in the settings.
- Delete sentry reporting.

## [2.19.2]
- Update download endpoint to downloads.snyk.io.
- Send correct FixId to AI Fix endpoint.
- Hide AI Fix div if no fixes found.

## [2.19.1]
- Adjust OSS panel font size.
- Adjust OSS panel font size

## [2.19.0]
- Moved delta scan preview setting to settings page.
Loading

Unchanged files with check annotations Beta

export class CliError {
constructor(public error: string | Error | unknown, public path?: string, public isCancellation = false) {}

Check warning on line 2 in src/snyk/cli/services/cliService.ts

GitHub Actions / Build and Test (ubuntu-latest)

'unknown' overrides all other types in this union type

Check warning on line 2 in src/snyk/cli/services/cliService.ts

GitHub Actions / Build and Test (macos-latest)

'unknown' overrides all other types in this union type

Check warning on line 2 in src/snyk/cli/services/cliService.ts

GitHub Actions / Build and Test (windows-latest)

'unknown' overrides all other types in this union type
}
import _, { flatten } from 'lodash';
import * as vscode from 'vscode'; // todo: invert dependency
import { IConfiguration, IssueViewOptions } from '../../common/configuration/configuration';
import { Issue, IssueSeverity, ScanProduct, LsErrorMessage } from '../../common/languageServer/types';

Check warning on line 4 in src/snyk/common/views/issueTreeProvider.ts

GitHub Actions / Build and Test (ubuntu-latest)

'ScanProduct' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 4 in src/snyk/common/views/issueTreeProvider.ts

GitHub Actions / Build and Test (macos-latest)

'ScanProduct' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 4 in src/snyk/common/views/issueTreeProvider.ts

GitHub Actions / Build and Test (windows-latest)

'ScanProduct' is defined but never used. Allowed unused vars must match /^_/u
import { messages as commonMessages } from '../../common/messages/analysisMessages';
import { IContextService } from '../../common/services/contextService';
import { IProductService, ProductService } from '../../common/services/productService';

Check warning on line 7 in src/snyk/common/views/issueTreeProvider.ts

GitHub Actions / Build and Test (ubuntu-latest)

'ProductService' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 7 in src/snyk/common/views/issueTreeProvider.ts

GitHub Actions / Build and Test (macos-latest)

'ProductService' is defined but never used. Allowed unused vars must match /^_/u

Check warning on line 7 in src/snyk/common/views/issueTreeProvider.ts

GitHub Actions / Build and Test (windows-latest)

'ProductService' is defined but never used. Allowed unused vars must match /^_/u
import { AnalysisTreeNodeProvider } from '../../common/views/analysisTreeNodeProvider';
import { INodeIcon, InternalType, NODE_ICONS, TreeNode } from '../../common/views/treeNode';
import { IVSCodeLanguages } from '../../common/vscode/languages';
const folderName = shortFolderPath.pop() || uri.path;
let folderVulnCount = 0;
if (folderResult instanceof Error && folderResult.message === LsErrorMessage.repositoryInvalidError) {

Check warning on line 212 in src/snyk/common/views/issueTreeProvider.ts

GitHub Actions / Build and Test (ubuntu-latest)

The two values in this comparison do not have a shared enum type

Check warning on line 212 in src/snyk/common/views/issueTreeProvider.ts

GitHub Actions / Build and Test (macos-latest)

The two values in this comparison do not have a shared enum type

Check warning on line 212 in src/snyk/common/views/issueTreeProvider.ts

GitHub Actions / Build and Test (windows-latest)

The two values in this comparison do not have a shared enum type
nodes.push(this.getFaultyRepositoryErrorTreeNode(folderName, folderResult.toString()));
continue;
}
updateConfiguration(
configurationIdentifier: string,
section: string,
value: any,

Check warning on line 12 in src/snyk/common/vscode/workspace.ts

GitHub Actions / Build and Test (ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/snyk/common/vscode/workspace.ts

GitHub Actions / Build and Test (macos-latest)

Unexpected any. Specify a different type

Check warning on line 12 in src/snyk/common/vscode/workspace.ts

GitHub Actions / Build and Test (windows-latest)

Unexpected any. Specify a different type
configurationTarget?: boolean,
overrideInLanguage?: boolean,
): Promise<void>;
updateConfiguration(
configurationIdentifier: string,
section: string,
value: any,

Check warning on line 35 in src/snyk/common/vscode/workspace.ts

GitHub Actions / Build and Test (ubuntu-latest)

Unexpected any. Specify a different type

Check warning on line 35 in src/snyk/common/vscode/workspace.ts

GitHub Actions / Build and Test (macos-latest)

Unexpected any. Specify a different type

Check warning on line 35 in src/snyk/common/vscode/workspace.ts

GitHub Actions / Build and Test (windows-latest)

Unexpected any. Specify a different type
configurationTarget?: boolean,
overrideInLanguage?: boolean,
): Promise<void> {