Repository: incubator-atlas
Updated Branches:
  refs/heads/master 23c8f71da -> bec9370e5


ATLAS-1469: updated UI to send null tag attribute value when no input is 
provided

Signed-off-by: Madhan Neethiraj <[email protected]>
(cherry picked from commit 31320f727246e8acee705fc9d6d927e06d636e07)


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

Branch: refs/heads/master
Commit: 9e5ef85cab47ce01e8d7be946283726336e101a0
Parents: 23c8f71
Author: kevalbhatt <[email protected]>
Authored: Thu Mar 16 12:55:15 2017 +0530
Committer: Madhan Neethiraj <[email protected]>
Committed: Fri Mar 17 19:10:42 2017 -0700

----------------------------------------------------------------------
 dashboardv2/public/css/scss/graph.scss                  | 12 ++++++++++++
 .../detail_page/DetailPageLayoutView_tmpl.html          |  2 +-
 .../js/templates/graph/LineageLayoutView_tmpl.html      |  4 ++++
 dashboardv2/public/js/views/tag/addTagModalView.js      |  2 +-
 4 files changed, 18 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/9e5ef85c/dashboardv2/public/css/scss/graph.scss
----------------------------------------------------------------------
diff --git a/dashboardv2/public/css/scss/graph.scss 
b/dashboardv2/public/css/scss/graph.scss
index aec7ce0..38ddb47 100644
--- a/dashboardv2/public/css/scss/graph.scss
+++ b/dashboardv2/public/css/scss/graph.scss
@@ -45,6 +45,18 @@
     .label {
         fill: $color_suva_gray_approx;
     }
+    image {
+        &.nodeImage {
+            -moz-transition: all 0.3s;
+            -webkit-transition: all 0.3s;
+            transition: all 0.3s;
+            &:hover {
+                -moz-transform: scale(1.4);
+                -webkit-transform: scale(1.4);
+                transform: scale(1.4);
+            }
+        }
+    }
 }
 
 .overlay {}

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/9e5ef85c/dashboardv2/public/js/templates/detail_page/DetailPageLayoutView_tmpl.html
----------------------------------------------------------------------
diff --git 
a/dashboardv2/public/js/templates/detail_page/DetailPageLayoutView_tmpl.html 
b/dashboardv2/public/js/templates/detail_page/DetailPageLayoutView_tmpl.html
index 6ff10f9..3c04cb0 100644
--- a/dashboardv2/public/js/templates/detail_page/DetailPageLayoutView_tmpl.html
+++ b/dashboardv2/public/js/templates/detail_page/DetailPageLayoutView_tmpl.html
@@ -49,7 +49,7 @@
             <div class="atlast-tabbable">
                 <h4 class="lineageLabel">LINEAGE</h4>
                 <div class="panel panel-default lineageLayout">
-                    <div id="r_lineageLayoutView" style="height:385px">
+                    <div id="r_lineageLayoutView" style="height:405px">
                         <div class="fontLoader">
                             <i class="fa fa-refresh fa-spin-custom"></i>
                         </div>

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/9e5ef85c/dashboardv2/public/js/templates/graph/LineageLayoutView_tmpl.html
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/templates/graph/LineageLayoutView_tmpl.html 
b/dashboardv2/public/js/templates/graph/LineageLayoutView_tmpl.html
index f67e811..ec01f3f 100644
--- a/dashboardv2/public/js/templates/graph/LineageLayoutView_tmpl.html
+++ b/dashboardv2/public/js/templates/graph/LineageLayoutView_tmpl.html
@@ -22,6 +22,10 @@
             <i class="fa fa-refresh fa-spin-custom"></i>
         </div>
         <svg width=100% height=350></svg>
+        <div class="legends">
+            <i class="fa fa-long-arrow-right" aria-hidden="true" 
style="margin-right: 12px; color:#8bc152;">&nbsp<span>Lineage</span></i>
+            <i class="fa fa-long-arrow-right" aria-hidden="true" 
style="color:#fb4200;">&nbsp<span>Impact</span></i>
+        </div>
         <div class="zoomButtonGroup">
             <button type="button" class="zoomButton" id="zoom_in">+</button>
             <button type="button" class="zoomButton" id="zoom_out">-</button>

http://git-wip-us.apache.org/repos/asf/incubator-atlas/blob/9e5ef85c/dashboardv2/public/js/views/tag/addTagModalView.js
----------------------------------------------------------------------
diff --git a/dashboardv2/public/js/views/tag/addTagModalView.js 
b/dashboardv2/public/js/views/tag/addTagModalView.js
index cda5cf6..8beec4b 100644
--- a/dashboardv2/public/js/views/tag/addTagModalView.js
+++ b/dashboardv2/public/js/views/tag/addTagModalView.js
@@ -66,7 +66,7 @@ define(['require',
                 var tagAttributeNames = this.$(".attrName");
                 tagAttributeNames.each(function(i, item) {
                     var selection = $(item).data("key");
-                    tagAttributes[selection] = $(item).val();
+                    tagAttributes[selection] = $(item).val() || null;
                 });
                 var obj = {
                     tagName: tagName,

Reply via email to