Adds a tooltip title prop to the diagram node. (#18458) (#18463)

* Adds a tooltip title prop to the diagram node. (#18458)

* Adds a tooltip title prop to the diagram node.

* Updates azdataGraph package version to 0.0.16

* Fixes ansi_up version in remote package.json to match root package.json

* Fixes ansi_up version in remote/web package.json to match root version
This commit is contained in:
Lewis Sanchez
2022-02-17 19:52:17 -08:00
committed by GitHub
parent 932865ceee
commit 62822874ad
7 changed files with 17 additions and 14 deletions

View File

@@ -75,7 +75,7 @@
"angular2-grid": "2.0.6",
"ansi_up": "^3.0.0",
"applicationinsights": "1.0.8",
"azdataGraph": "github:Microsoft/azdataGraph#0.0.14",
"azdataGraph": "github:Microsoft/azdataGraph#0.0.16",
"chart.js": "^2.9.4",
"chokidar": "3.5.2",
"graceful-fs": "4.2.6",

View File

@@ -16,7 +16,7 @@
"applicationinsights": "1.0.8",
"angular2-grid": "2.0.6",
"ansi_up": "^3.0.0",
"azdataGraph": "github:Microsoft/azdataGraph#0.0.14",
"azdataGraph": "github:Microsoft/azdataGraph#0.0.16",
"chart.js": "^2.9.4",
"chokidar": "3.5.2",
"cookie": "^0.4.0",

View File

@@ -15,7 +15,7 @@
"@vscode/vscode-languagedetection": "1.0.18",
"angular2-grid": "2.0.6",
"ansi_up": "^3.0.0",
"azdataGraph": "github:Microsoft/azdataGraph#0.0.14",
"azdataGraph": "github:Microsoft/azdataGraph#0.0.16",
"chart.js": "^2.9.4",
"gridstack": "^3.1.3",
"kburtram-query-plan": "2.6.1",

View File

@@ -150,9 +150,9 @@ array-uniq@^1.0.2:
resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6"
integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=
"azdataGraph@github:Microsoft/azdataGraph#0.0.14":
version "0.0.14"
resolved "https://codeload.github.com/Microsoft/azdataGraph/tar.gz/1fba9e94e5520ef78121f6dc23a5a2cdee20c8a4"
"azdataGraph@github:Microsoft/azdataGraph#0.0.16":
version "0.0.16"
resolved "https://codeload.github.com/Microsoft/azdataGraph/tar.gz/0b6cc39bef9550860c46511b0ccf3c7ac277b73c"
chalk@^2.3.0, chalk@^2.4.1:
version "2.4.2"

View File

@@ -198,9 +198,9 @@ array-uniq@^1.0.2:
resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6"
integrity sha1-r2rId6Jcx/dOBYiUdThY39sk/bY=
"azdataGraph@github:Microsoft/azdataGraph#0.0.14":
version "0.0.14"
resolved "https://codeload.github.com/Microsoft/azdataGraph/tar.gz/1fba9e94e5520ef78121f6dc23a5a2cdee20c8a4"
"azdataGraph@github:Microsoft/azdataGraph#0.0.16":
version "0.0.16"
resolved "https://codeload.github.com/Microsoft/azdataGraph/tar.gz/0b6cc39bef9550860c46511b0ccf3c7ac277b73c"
binary-extensions@^2.0.0:
version "2.0.0"

View File

@@ -38,6 +38,7 @@ import { IFileService } from 'vs/platform/files/common/files';
import { VSBuffer } from 'vs/base/common/buffer';
import { IWorkspaceContextService } from 'vs/platform/workspace/common/workspace';
import { URI } from 'vs/base/common/uri';
import { ITextResourcePropertiesService } from 'vs/editor/common/services/textResourceConfigurationService';
let azdataGraph = azdataGraphModule();
@@ -165,7 +166,8 @@ export class QueryPlan2 implements ISashLayoutProvider {
@IContextMenuService private _contextMenuService: IContextMenuService,
@IFileDialogService public fileDialogService: IFileDialogService,
@IFileService public fileService: IFileService,
@IWorkspaceContextService public workspaceContextService: IWorkspaceContextService
@IWorkspaceContextService public workspaceContextService: IWorkspaceContextService,
@ITextResourcePropertiesService private readonly textResourcePropertiesService: ITextResourcePropertiesService
) {
// parent container for query plan.
this._container = DOM.$('.query-plan');
@@ -281,7 +283,8 @@ export class QueryPlan2 implements ISashLayoutProvider {
}
private populate(node: InternalExecutionPlanNode, diagramNode: any): any {
diagramNode.label = node.name;
diagramNode.label = node.subtext.join(this.textResourcePropertiesService.getEOL(undefined));
diagramNode.tooltipTitle = node.name;
const nodeId = this.createGraphElementId();
diagramNode.id = nodeId;
node.id = nodeId;

View File

@@ -1831,9 +1831,9 @@ aws4@^1.8.0:
resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.8.0.tgz#f0e003d9ca9e7f59c7a508945d7b2ef9a04a542f"
integrity sha512-ReZxvNHIOv88FlT7rxcXIIC0fPt4KZqZbOlivyWtXLt8ESx84zd3kMC6iK5jVeS2qt+g7ftS7ye4fi06X5rtRQ==
"azdataGraph@github:Microsoft/azdataGraph#0.0.14":
version "0.0.14"
resolved "https://codeload.github.com/Microsoft/azdataGraph/tar.gz/1fba9e94e5520ef78121f6dc23a5a2cdee20c8a4"
"azdataGraph@github:Microsoft/azdataGraph#0.0.16":
version "0.0.16"
resolved "https://codeload.github.com/Microsoft/azdataGraph/tar.gz/0b6cc39bef9550860c46511b0ccf3c7ac277b73c"
azure-storage@^2.10.2:
version "2.10.2"