This is an automated email from the ASF dual-hosted git repository.

kbhatt pushed a commit to branch branch-1.0
in repository https://gitbox.apache.org/repos/asf/atlas.git

commit b0d7e3591f26e9efd49aeb0127ffbdeefae7f745
Author: gutkaBinit <binitgu...@gmail.com>
AuthorDate: Tue Mar 12 16:42:35 2019 +0530

    ATLAS-3072:UI : Increasing the width of the Lineage slider.
    
    Signed-off-by: nixonrodrigues <ni...@apache.org>
    (cherry picked from commit 4493653e07cb5a2ed6e564ea817c82ade2d95995)
    Signed-off-by: kevalbhatt <kbh...@apache.org>
---
 dashboardv2/public/css/scss/graph.scss                     | 6 ++++--
 dashboardv2/public/js/views/glossary/GlossaryLayoutView.js | 8 ++++----
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/dashboardv2/public/css/scss/graph.scss 
b/dashboardv2/public/css/scss/graph.scss
index 77fc53e..b72236a 100644
--- a/dashboardv2/public/css/scss/graph.scss
+++ b/dashboardv2/public/css/scss/graph.scss
@@ -415,8 +415,10 @@ span#zoom_in {
 
 .lineage-node-detail {
     .table-quickMenu {
-        td {
-            word-break: break-all;
+        td:nth-child(1n) {
+            width: 150px;
         }
+
+        word-break: break-all;
     }
 }
\ No newline at end of file
diff --git a/dashboardv2/public/js/views/glossary/GlossaryLayoutView.js 
b/dashboardv2/public/js/views/glossary/GlossaryLayoutView.js
index ab951ea..6da687c 100644
--- a/dashboardv2/public/js/views/glossary/GlossaryLayoutView.js
+++ b/dashboardv2/public/js/views/glossary/GlossaryLayoutView.js
@@ -214,7 +214,7 @@ define(['require',
             generateCategoryData: function(options) {
                 return _.map(options.data, function(obj) {
                     return {
-                        "text": obj.displayText,
+                        "text": _.escape(obj.displayText),
                         "icon": "fa fa-files-o",
                         "guid": obj.categoryGuid,
                         "id": obj.categoryGuid,
@@ -295,7 +295,7 @@ define(['require',
                 return 
this.glossaryCollection.fullCollection.map(function(model, i) {
                     var obj = model.toJSON(),
                         parent = {
-                            "text": obj.name,
+                            "text": _.escape(obj.name),
                             "icon": "fa fa-folder-o",
                             "guid": obj.guid,
                             "id": obj.guid,
@@ -318,7 +318,7 @@ define(['require',
                             var typeName = category.typeName || 
"GlossaryCategory",
                                 guid = category.categoryGuid,
                                 categoryObj = {
-                                    "text": category.displayText,
+                                    "text": _.escape(category.displayText),
                                     "type": typeName,
                                     "gType": "category",
                                     "guid": guid,
@@ -352,7 +352,7 @@ define(['require',
                                 var typeName = term.typeName || "GlossaryTerm",
                                     guid = term.termGuid,
                                     termObj = {
-                                        "text": term.displayText,
+                                        "text": _.escape(term.displayText),
                                         "type": typeName,
                                         "gType": "term",
                                         "guid": guid,

Reply via email to