atlas-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mad...@apache.org
Subject [1/2] incubator-atlas git commit: ATLAS-1469: updated UI to send null tag attribute value when no input is provided
Date Sat, 18 Mar 2017 02:10:19 GMT
Repository: incubator-atlas
Updated Branches:
  refs/heads/0.8-incubating 909ec7a67 -> 298fdb9d2


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

Signed-off-by: Madhan Neethiraj <madhan@apache.org>


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

Branch: refs/heads/0.8-incubating
Commit: 31320f727246e8acee705fc9d6d927e06d636e07
Parents: 909ec7a
Author: kevalbhatt <kbhatt@apache.org>
Authored: Thu Mar 16 12:55:15 2017 +0530
Committer: Madhan Neethiraj <madhan@apache.org>
Committed: Fri Mar 17 19:03:12 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/31320f72/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/31320f72/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/31320f72/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/31320f72/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,


Mime
View raw message