From 6808fd285d54182da5dca9e4190ad9d766c4c783 Mon Sep 17 00:00:00 2001 From: Alex Tatiyants Date: Tue, 5 Jan 2016 21:50:10 -0800 Subject: add about page, multiple UI tweaks --- app/components/plan-node/plan-node.html | 13 +++++++------ app/components/plan-node/plan-node.ts | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'app/components/plan-node') diff --git a/app/components/plan-node/plan-node.html b/app/components/plan-node/plan-node.html index 08a7a96..fdc2c89 100644 --- a/app/components/plan-node/plan-node.html +++ b/app/components/plan-node/plan-node.html @@ -1,5 +1,5 @@
-
+

{{node[_planService.NODE_TYPE_PROP] | uppercase}}

{{duration}}{{durationUnit}} | @@ -7,11 +7,12 @@
-
- + +
on {{node[_planService.SCHEMA_PROP]}}.{{node[_planService.RELATION_NAME_PROP]}} ({{node[_planService.ALIAS_PROP]}}) @@ -31,7 +32,7 @@
-
+
diff --git a/app/components/plan-node/plan-node.ts b/app/components/plan-node/plan-node.ts index fc865b8..2f3164e 100644 --- a/app/components/plan-node/plan-node.ts +++ b/app/components/plan-node/plan-node.ts @@ -66,7 +66,6 @@ export class PlanNode { } ngDoCheck() { - // console.log("check", this.currentHighlightType, this.viewOptions.highlightType); if (this.currentHighlightType !== this.viewOptions.highlightType) { this.currentHighlightType = this.viewOptions.highlightType; this.calculateBar(); @@ -78,6 +77,7 @@ export class PlanNode { keyItems.push(this.node[this._planService.SCHEMA_PROP] + '.' + this.node[this._planService.RELATION_NAME_PROP]); keyItems.push(' ' + this.node[this._planService.RELATION_NAME_PROP] + ' '); keyItems.push(' ' + this.node[this._planService.ALIAS_PROP] + ' '); + keyItems.push(this.node[this._planService.GROUP_KEY_PROP]); return this._syntaxHighlightService.highlightKeyItems(this.plan.formattedQuery, keyItems); } -- cgit v1.2.3