mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Query Execution Plan Expensive Operator Highlighting (#20579)
* Boilerplate for new context menu options * Enables checkmarks for expensive operator context menu actions * Updates azdataGraph version to 0.0.44 * Adds clearing logic to actions and retrieves additional info from nodes * Removes unnecessary actions that aren't supported by other providers * Finishes setting up the rest of the context menu actions * Corrects context menu action label * Defines new widget type for finding expensive operations * Adds TODO for class icon name * Creates action to open the expensive operation widget * Adds escape and enter key shortcuts to findExpensiveOperation widget * Styles find expensive operation widget * Corrects class name for finding expensive operator action * Corrects import statement. * Code clean up * Bumps azdataGraph version to 0.0.45 * Adds an info box for when a metric doesn't find any nodes * Adds label to find expensive operator widget * Invokes dispose when widget controller removes widget * Implements disposable in all execution plan widgets. * Adds off action to clear highlighting * Adds a default setting and default prompt for highlighting metric * Fixes not all code paths return error * Removes shortcut key from text for widget actions * Adds enum description * Removes added dictionary type, and renames class name * Removes unnecessary null checks * Removes cost metric dictionary and adds corresponding properties * Code review changes * Removes incorrectly implemented key down event for widget. * Renames widget and action class names for highlighting expensive ops * File rename * Cleans up labels to better reflect highlight action * Removes hardcoded button width style and sets it to auto * More clean up * Clean up import statement * Code review changes * Drop down list only shows available metrics * Updates highlight expensive operation icon * Update STS version
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
"applicationinsights": "1.0.8",
|
||||
"angular2-grid": "2.0.6",
|
||||
"ansi_up": "^5.1.0",
|
||||
"azdataGraph": "github:Microsoft/azdataGraph#0.0.42",
|
||||
"azdataGraph": "github:Microsoft/azdataGraph#0.0.45",
|
||||
"chart.js": "^2.9.4",
|
||||
"cookie": "^0.4.0",
|
||||
"graceful-fs": "4.2.8",
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"@vscode/vscode-languagedetection": "1.0.21",
|
||||
"angular2-grid": "2.0.6",
|
||||
"ansi_up": "^5.1.0",
|
||||
"azdataGraph": "github:Microsoft/azdataGraph#0.0.42",
|
||||
"azdataGraph": "github:Microsoft/azdataGraph#0.0.45",
|
||||
"chart.js": "^2.9.4",
|
||||
"gridstack": "^3.1.3",
|
||||
"kburtram-query-plan": "2.6.1",
|
||||
|
||||
@@ -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.42":
|
||||
version "0.0.42"
|
||||
resolved "https://codeload.github.com/Microsoft/azdataGraph/tar.gz/86f72ee9c9ea78a31c9ad2f402fb24d40e50c75b"
|
||||
"azdataGraph@github:Microsoft/azdataGraph#0.0.45":
|
||||
version "0.0.45"
|
||||
resolved "https://codeload.github.com/Microsoft/azdataGraph/tar.gz/8675ac6dfc60aad331ccbf7e4145b9eaa25e7304"
|
||||
|
||||
chalk@^2.3.0, chalk@^2.4.1:
|
||||
version "2.4.2"
|
||||
|
||||
@@ -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.42":
|
||||
version "0.0.42"
|
||||
resolved "https://codeload.github.com/Microsoft/azdataGraph/tar.gz/86f72ee9c9ea78a31c9ad2f402fb24d40e50c75b"
|
||||
"azdataGraph@github:Microsoft/azdataGraph#0.0.45":
|
||||
version "0.0.45"
|
||||
resolved "https://codeload.github.com/Microsoft/azdataGraph/tar.gz/8675ac6dfc60aad331ccbf7e4145b9eaa25e7304"
|
||||
|
||||
bindings@^1.5.0:
|
||||
version "1.5.0"
|
||||
|
||||
Reference in New Issue
Block a user