hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject hadoop git commit: YARN-7022. Improve click interaction in queue topology in new YARN UI. Contributed by Abdullah Yousufi.
Date Sat, 09 Sep 2017 01:16:15 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-3.0 fd63f8112 -> 6b54eec37


YARN-7022. Improve click interaction in queue topology in new YARN UI. Contributed by Abdullah
Yousufi.

(cherry picked from commit ed162b7aa01a60488d0c95294d4503aac725bd9e)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/6b54eec3
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/6b54eec3
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/6b54eec3

Branch: refs/heads/branch-3.0
Commit: 6b54eec371a0ec886979e348d3fc900efaf29a0d
Parents: fd63f81
Author: Sunil G <sunilg@apache.org>
Authored: Tue Sep 5 08:06:43 2017 +0530
Committer: Sunil G <sunilg@apache.org>
Committed: Sat Sep 9 06:42:55 2017 +0530

----------------------------------------------------------------------
 .../src/main/webapp/app/components/tree-selector.js              | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/6b54eec3/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/tree-selector.js
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/tree-selector.js
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/tree-selector.js
index 1a81a32..6788582 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/tree-selector.js
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/app/components/tree-selector.js
@@ -129,7 +129,7 @@ export default Ember.Component.extend({
     var nodeEnter = node.enter().append("g")
       .attr("class", "node")
       .attr("transform", function() { return "translate(" + source.y0 + "," + source.x0 +
")"; })
-      .on("mouseover", function(d){
+      .on("click", function(d){
         if (d.queueData.get("name") !== this.get("selected")) {
             document.location.href = "#/yarn-queues/" + d.queueData.get("name") + "!";
         }
@@ -145,7 +145,7 @@ export default Ember.Component.extend({
         }, 100);
 
       }.bind(this))
-    .on("click", function (d) {
+    .on("dblclick", function (d) {
       document.location.href = "#/yarn-queue/" + d.queueData.get("name") + "/info";
     });
 


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message