Skip to content

Commit 28f9e40

Browse files
authored
Added properties pane for execution plan view (#18048)
* fixed some bugs * fixed more execution plan issues * basic properties table done * table functions added * filtering done * made styles closer to ads, and fixed sort * added resize of properties pane * change properties on selected element change * ellipsis for text overflow * fixed overflow for table cells * cleaned up code * cleaned up code more * formatted documents * removed unneccessary localization files * localization changes * pr comments * fixed input box width * set toolbar and buttons to size small
1 parent e9d3554 commit 28f9e40

29 files changed

+3156
-1846
lines changed

localization/l10n/bundle.l10n.json

+6
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,12 @@
204204
"Find Node": "Find Node",
205205
"Highlight Expensive Operation": "Highlight Expensive Operation",
206206
"Toggle Tooltips": "Toggle Tooltips",
207+
"Importance": "Importance",
208+
"Alphabetical": "Alphabetical",
209+
"Reverse Alphabetical": "Reverse Alphabetical",
210+
"Expand All": "Expand All",
211+
"Collapse All": "Collapse All",
212+
"Filter for any field...": "Filter for any field...",
207213
"Object Explorer Filter": "Object Explorer Filter",
208214
"{0} (filtered)": "{0} (filtered)",
209215
"View More": "View More",

localization/xliff/vscode-mssql.xlf

+18
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@
6363
<trans-unit id="++CODE++ab4db1a876378f718e4073baa75897c34c0e7d2608d68cda6461e01de42fa962">
6464
<source xml:lang="en">Allow Nulls</source>
6565
</trans-unit>
66+
<trans-unit id="++CODE++a49d631f8c6cf6fb1660fb5229dfa0c08b55727549c0e48cc0cef1f7770ba0e2">
67+
<source xml:lang="en">Alphabetical</source>
68+
</trans-unit>
6669
<trans-unit id="++CODE++d4fd4b3da177dfc06dbcde0a7f62d637dbf3d90298fdc9b6aeba4f9230441e1f">
6770
<source xml:lang="en">An error occurred refreshing nodes. See the MSSQL output channel for more details.</source>
6871
</trans-unit>
@@ -218,6 +221,9 @@
218221
<trans-unit id="++CODE++548e8cc0e8c2423c61f30c6e8b75a1a40c995e3be119df6272b280ab6c15a011">
219222
<source xml:lang="en">Close the current connection</source>
220223
</trans-unit>
224+
<trans-unit id="++CODE++55988e28a4e8720a588c5c53fd47616d929a404d3d2af7e6f8ba313dce6dc3e4">
225+
<source xml:lang="en">Collapse All</source>
226+
</trans-unit>
221227
<trans-unit id="++CODE++3fdc9a587693f9e63574b30ec55c2b947a7fb4ba5fd11f0cf213072f53d91bdd">
222228
<source xml:lang="en">Column</source>
223229
</trans-unit>
@@ -438,6 +444,9 @@
438444
<trans-unit id="++CODE++bd705ebabe1919a636a0e09b2ee27d43a5aba05d645cc0339451e54b37f42bd6">
439445
<source xml:lang="en">Execution Plan</source>
440446
</trans-unit>
447+
<trans-unit id="++CODE++9f5b023a413a7d0771cc3fb51b103dc0aaaafe8f7b7c88c7258d43e3bc5b243d">
448+
<source xml:lang="en">Expand All</source>
449+
</trans-unit>
441450
<trans-unit id="++CODE++c67415bcff328a59fd399e2a7ca9691e0044192fb7480ae501644339965d046d">
442451
<source xml:lang="en">Expression</source>
443452
</trans-unit>
@@ -470,6 +479,9 @@
470479
<trans-unit id="++CODE++103456e9e42f094edd7aa359537505ad54de66ac826f5bddd03f9f569fbace89">
471480
<source xml:lang="en">Filter Settings</source>
472481
</trans-unit>
482+
<trans-unit id="++CODE++01a0e0d1c3cdcf7bac1e7280e753431937f8773ddd7b6ba85bf7fea4b842ad4e">
483+
<source xml:lang="en">Filter for any field...</source>
484+
</trans-unit>
473485
<trans-unit id="++CODE++051ab9f3bd7362945f1e2adc7c118c48d4286a3e181158b32e8e87f915103e73">
474486
<source xml:lang="en">Find Node</source>
475487
</trans-unit>
@@ -539,6 +551,9 @@
539551
<trans-unit id="++CODE++1d59e3e131d04ce9ba04c0f297dbd4eddb83c0bfe977b2a6bf19bdeb73f2d5c3">
540552
<source xml:lang="en">Ignore Tenant</source>
541553
</trans-unit>
554+
<trans-unit id="++CODE++3fc78b5e12952afa58a49beceabae7348dd0a44be1b9104b998dc1efc2967de4">
555+
<source xml:lang="en">Importance</source>
556+
</trans-unit>
542557
<trans-unit id="++CODE++c1f88e9d6c4145cf0530ae020155384d5688d70ed82a07a35d783bbc4b32238c">
543558
<source xml:lang="en">In progress</source>
544559
</trans-unit>
@@ -856,6 +871,9 @@
856871
<trans-unit id="++CODE++942087cc2d41e01304b7195558d093d10c72af8e838c7556d6a02d471ee71852">
857872
<source xml:lang="en">Retry</source>
858873
</trans-unit>
874+
<trans-unit id="++CODE++ed5c65311daf9e46eb0f5ac74221d4405dabfe18cca554232363495a3a268ca5">
875+
<source xml:lang="en">Reverse Alphabetical</source>
876+
</trans-unit>
859877
<trans-unit id="++CODE++fa12adeb7bf1db8bea535fb7afc4cdb5121fe19f586fd0996a719007d8c7012c">
860878
<source xml:lang="en">Run Query History</source>
861879
</trans-unit>

src/reactviews/common/locConstants.ts

+9
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,15 @@ export class LocConstants {
159159
"Highlight Expensive Operation",
160160
),
161161
toggleTooltips: l10n.t("Toggle Tooltips"),
162+
properties: l10n.t("Properties"),
163+
name: l10n.t("Name"),
164+
value: l10n.t("Value"),
165+
importance: l10n.t("Importance"),
166+
alphabetical: l10n.t("Alphabetical"),
167+
reverseAlphabetical: l10n.t("Reverse Alphabetical"),
168+
expandAll: l10n.t("Expand All"),
169+
collapseAll: l10n.t("Collapse All"),
170+
filterAnyField: l10n.t("Filter for any field..."),
162171
};
163172
}
164173
}
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#queryPlanParent {
2-
background-color: var(--vscode-editor-background);
3-
}
2+
background-color: var(--vscode-editor-background);
3+
}

0 commit comments

Comments
 (0)