mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-02 01:25:39 -05:00
Adding properties view and action bar to graph and fixing styling. (#18185)
* Adding properties view and action bar to graph. * Open Graph File * replacing innerhtml with innertext * Fixing floating promises * Fixed typo * renaming * Fixing hardcoded colors and comments * Removing todo and hardcoded colors * renaming method * removed unused contract * Fixed path in comment * converting div to button * adding checks to table width and height setter * Make method name more meaningful * adding method return types * concising repeated logic * removing unused styling * better sorting logic * Fixing graph parsing Renaming some stuff Implementing IDisposable * Fixing bad props logic * Fixed image loading issue * Removing hardcoded colors * Adding comments to localize and handling undefined cases in sort * Changed ch to px * moving util function to strings
This commit is contained in:
250
src/sql/workbench/contrib/queryplan2/browser/constants.ts
Normal file
250
src/sql/workbench/contrib/queryplan2/browser/constants.ts
Normal file
@@ -0,0 +1,250 @@
|
||||
/*---------------------------------------------------------------------------------------------
|
||||
* Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
* Licensed under the Source EULA. See License.txt in the project root for license information.
|
||||
*--------------------------------------------------------------------------------------------*/
|
||||
|
||||
let imageBasePath = require.toUrl('./images/icons/');
|
||||
export let queryPlanNodeIconPaths =
|
||||
{
|
||||
// generic icons
|
||||
iteratorCatchAll: imageBasePath + 'iterator_catch_all.png',
|
||||
|
||||
cursorCatchAll: imageBasePath + 'cursor_catch_all.png',
|
||||
|
||||
languageConstructCatchAll: imageBasePath + 'language_construct_catch_all.png',
|
||||
|
||||
// operator icons
|
||||
adaptiveJoin: imageBasePath + 'adaptive_join.png',
|
||||
|
||||
assert: imageBasePath + 'assert.png',
|
||||
|
||||
bitmap: imageBasePath + 'bitmap.png',
|
||||
|
||||
clusteredIndexDelete: imageBasePath + 'clustered_index_delete.png',
|
||||
|
||||
clusteredIndexInsert: imageBasePath + 'clustered_index_insert.png',
|
||||
|
||||
clusteredIndexScan: imageBasePath + 'clustered_index_scan.png',
|
||||
|
||||
clusteredIndexSeek: imageBasePath + 'clustered_index_seek.png',
|
||||
|
||||
clusteredIndexUpdate: imageBasePath + 'clustered_index_update.png',
|
||||
|
||||
clusteredIndexMerge: imageBasePath + 'clustered_index_merge.png',
|
||||
|
||||
clusteredUpdate: imageBasePath + 'clustered_update.png',
|
||||
|
||||
collapse: imageBasePath + 'collapse.png',
|
||||
|
||||
computeScalar: imageBasePath + 'compute_scalar.png',
|
||||
|
||||
concatenation: imageBasePath + 'concatenation.png',
|
||||
|
||||
constantScan: imageBasePath + 'constant_scan.png',
|
||||
|
||||
deletedScan: imageBasePath + 'deleted_scan.png',
|
||||
|
||||
filter: imageBasePath + 'filter.png',
|
||||
|
||||
hashMatch: imageBasePath + 'hash_match.png',
|
||||
|
||||
indexDelete: imageBasePath + 'index_delete.png',
|
||||
|
||||
indexInsert: imageBasePath + 'index_insert.png',
|
||||
|
||||
indexScan: imageBasePath + 'index_scan.png',
|
||||
|
||||
columnstoreIndexDelete: imageBasePath + 'columnstore_index_delete.png',
|
||||
|
||||
columnstoreIndexInsert: imageBasePath + 'columnstore_index_insert.png',
|
||||
|
||||
columnstoreIndexMerge: imageBasePath + 'columnstore_index_merge.png',
|
||||
|
||||
columnstoreIndexScan: imageBasePath + 'columnstore_index_scan.png',
|
||||
|
||||
columnstoreIndexUpdate: imageBasePath + 'columnstore_index_update.png',
|
||||
|
||||
indexSeek: imageBasePath + 'index_seek.png',
|
||||
|
||||
indexSpool: imageBasePath + 'index_spool.png',
|
||||
|
||||
indexUpdate: imageBasePath + 'index_update.png',
|
||||
|
||||
insertedScan: imageBasePath + 'inserted_scan.png',
|
||||
|
||||
logRowScan: imageBasePath + 'log_row_scan.png',
|
||||
|
||||
mergeInterval: imageBasePath + 'merge_interval.png',
|
||||
|
||||
mergeJoin: imageBasePath + 'merge_join.png',
|
||||
|
||||
nestedLoops: imageBasePath + 'nested_loops.png',
|
||||
|
||||
parallelism: imageBasePath + 'parallelism.png',
|
||||
|
||||
parameterTableScan: imageBasePath + 'parameter_table_scan.png',
|
||||
|
||||
print: imageBasePath + 'print.png',
|
||||
|
||||
rank: imageBasePath + 'rank.png',
|
||||
|
||||
foreignKeyReferencesCheck: imageBasePath + 'foreign_key_references_check.png',
|
||||
|
||||
remoteDelete: imageBasePath + 'remote_delete.png',
|
||||
|
||||
remoteIndexScan: imageBasePath + 'remote_index_scan.png',
|
||||
|
||||
remoteIndexSeek: imageBasePath + 'remote_index_seek.png',
|
||||
|
||||
remoteInsert: imageBasePath + 'remote_insert.png',
|
||||
|
||||
remoteQuery: imageBasePath + 'remote_query.png',
|
||||
|
||||
remoteScan: imageBasePath + 'remote_scan.png',
|
||||
|
||||
remoteUpdate: imageBasePath + 'remote_update.png',
|
||||
|
||||
ridLookup: imageBasePath + 'rid_lookup.png',
|
||||
|
||||
rowCountSpool: imageBasePath + 'row_count_spool.png',
|
||||
|
||||
segment: imageBasePath + 'segment.png',
|
||||
|
||||
sequence: imageBasePath + 'sequence.png',
|
||||
|
||||
sequenceProject: imageBasePath + 'sequence_project.png',
|
||||
|
||||
sort: imageBasePath + 'sort.png',
|
||||
|
||||
split: imageBasePath + 'split.png',
|
||||
|
||||
streamAggregate: imageBasePath + 'stream_aggregate.png',
|
||||
|
||||
switchStatement: imageBasePath + 'switch.png',
|
||||
|
||||
tableValuedFunction: imageBasePath + 'table_valued_function.png',
|
||||
|
||||
tableDelete: imageBasePath + 'table_delete.png',
|
||||
|
||||
tableInsert: imageBasePath + 'table_insert.png',
|
||||
|
||||
tableScan: imageBasePath + 'table_scan.png',
|
||||
|
||||
tableSpool: imageBasePath + 'table_spool.png',
|
||||
|
||||
tableUpdate: imageBasePath + 'table_update.png',
|
||||
|
||||
tableMerge: imageBasePath + 'table_merge.png',
|
||||
|
||||
tfp: imageBasePath + 'predict.png',
|
||||
|
||||
top: imageBasePath + 'top.png',
|
||||
|
||||
udx: imageBasePath + 'udx.png',
|
||||
|
||||
batchHashTableBuild: imageBasePath + 'batch_hash_table_build.png',
|
||||
|
||||
windowSpool: imageBasePath + 'table_spool.png',
|
||||
|
||||
windowAggregate: imageBasePath + 'window_aggregate.png',
|
||||
|
||||
// cursor operators
|
||||
fetchQuery: imageBasePath + 'fetch_query.png',
|
||||
|
||||
populateQuery: imageBasePath + 'population_query.png',
|
||||
|
||||
refreshQuery: imageBasePath + 'refresh_query.png',
|
||||
|
||||
// shiloh operators
|
||||
result: imageBasePath + 'result.png',
|
||||
|
||||
aggregate: imageBasePath + 'aggregate.png',
|
||||
|
||||
assign: imageBasePath + 'assign.png',
|
||||
|
||||
arithmeticExpression: imageBasePath + 'arithmetic_expression.png',
|
||||
|
||||
bookmarkLookup: imageBasePath + 'bookmark_lookup.png',
|
||||
|
||||
convert: imageBasePath + 'convert.png',
|
||||
|
||||
declare: imageBasePath + 'declare.png',
|
||||
|
||||
deleteOperator: imageBasePath + 'delete.png',
|
||||
|
||||
dynamic: imageBasePath + 'dynamic.png',
|
||||
|
||||
hashMatchRoot: imageBasePath + 'hash_match_root.png',
|
||||
|
||||
hashMatchTeam: imageBasePath + 'hash_match_team.png',
|
||||
|
||||
ifOperator: imageBasePath + 'if.png',
|
||||
|
||||
insert: imageBasePath + 'insert.png',
|
||||
|
||||
intrinsic: imageBasePath + 'intrinsic.png',
|
||||
|
||||
keyset: imageBasePath + 'keyset.png',
|
||||
|
||||
locate: imageBasePath + 'locate.png',
|
||||
|
||||
populationQuery: imageBasePath + 'population_query.png',
|
||||
|
||||
setFunction: imageBasePath + 'set_function.png',
|
||||
|
||||
snapshot: imageBasePath + 'snapshot.png',
|
||||
|
||||
spool: imageBasePath + 'spool.png',
|
||||
|
||||
tsql: imageBasePath + 'sql.png',
|
||||
|
||||
update: imageBasePath + 'update.png',
|
||||
|
||||
// fake operators
|
||||
keyLookup: imageBasePath + 'bookmark_lookup.png',
|
||||
|
||||
// PDW operators
|
||||
apply: imageBasePath + 'apply.png',
|
||||
|
||||
broadcast: imageBasePath + 'broadcast.png',
|
||||
|
||||
computeToControlNode: imageBasePath + 'compute_to_control_node.png',
|
||||
|
||||
constTableGet: imageBasePath + 'const_table_get.png',
|
||||
|
||||
controlToComputeNodes: imageBasePath + 'control_to_compute_nodes.png',
|
||||
|
||||
externalBroadcast: imageBasePath + 'external_broadcast.png',
|
||||
|
||||
externalExport: imageBasePath + 'external_export.png',
|
||||
|
||||
externalLocalStreaming: imageBasePath + 'external_local_streaming.png',
|
||||
|
||||
externalRoundRobin: imageBasePath + 'external_round_robin.png',
|
||||
|
||||
externalShuffle: imageBasePath + 'external_shuffle.png',
|
||||
|
||||
get: imageBasePath + 'get.png',
|
||||
|
||||
groupByApply: imageBasePath + 'apply.png',
|
||||
|
||||
groupByAggregate: imageBasePath + 'group_by_aggregate.png',
|
||||
|
||||
join: imageBasePath + 'join.png',
|
||||
|
||||
localCube: imageBasePath + 'intrinsic.png',
|
||||
|
||||
project: imageBasePath + 'project.png',
|
||||
|
||||
shuffle: imageBasePath + 'shuffle.png',
|
||||
|
||||
singleSourceRoundRobin: imageBasePath + 'single_source_round_robin.png',
|
||||
|
||||
singleSourceShuffle: imageBasePath + 'single_source_shuffle.png',
|
||||
|
||||
trim: imageBasePath + 'trim.png',
|
||||
|
||||
union: imageBasePath + 'union.png',
|
||||
|
||||
unionAll: imageBasePath + 'union_all.png'
|
||||
};
|
||||
Reference in New Issue
Block a user