ATLAS-110 UI: Lineage should be clickable. Contributed by Vishal Kadam

Project: http://git-wip-us.apache.org/repos/asf/incubator-atlas/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-atlas/commit/c4d47974
Tree: http://git-wip-us.apache.org/repos/asf/incubator-atlas/tree/c4d47974
Diff: http://git-wip-us.apache.org/repos/asf/incubator-atlas/diff/c4d47974

Branch: refs/heads/master
Commit: c4d4797445d0e80a6badbd0834239477512c52a6
Parents: 1e1ed48
Author: Venkatesh Seetharam <[email protected]>
Authored: Fri Sep 11 15:17:45 2015 -0700
Committer: Venkatesh Seetharam <[email protected]>
Committed: Fri Sep 11 15:17:45 2015 -0700

----------------------------------------------------------------------
 dashboard/public/modules/lineage/lineageController.js | 5 +++++
 release-log.txt                                       | 1 +
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/c4d47974/dashboard/public/modules/lineage/lineageController.js
----------------------------------------------------------------------
diff --git a/dashboard/public/modules/lineage/lineageController.js 
b/dashboard/public/modules/lineage/lineageController.js
index 151002f..2d88147 100644
--- a/dashboard/public/modules/lineage/lineageController.js
+++ b/dashboard/public/modules/lineage/lineageController.js
@@ -35,6 +35,11 @@ 
angular.module('dgc.lineage').controller('LineageController', ['$element', '$sco
                         if (callRender) {
                             render();
                         }
+                    })
+                    .on("dblclick", function(d) {
+                        $state.go("details", {
+                            id: d.guid
+                        });
                     });
                 }else{ 
                     $scope.requested = false;

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/c4d47974/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index 26e37d7..9be6e3d 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -8,6 +8,7 @@ ATLAS-54 Rename configs in hive hook (shwethags)
 ATLAS-3 Mixed Index creation fails with Date types (suma.shivaprasad via 
shwethags)
 
 ALL CHANGES:
+ATLAS-110 UI: Lineage should be clickable (Vishal Kadam via Venkatesh 
Seetharam)
 ATLAS-112 UI: Make lineage graph extensible for multiple nodes (Vishal Kadam
 via Venkatesh Seetharam)
 ATLAS-152 TimeStamp fields not showing the details tab (Vishal Kadam

Reply via email to