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

mcgilman pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/master by this push:
     new d9c8d0c  [NIFI-6625] add ellipsis and tooltip to list of parameters in 
usage list
d9c8d0c is described below

commit d9c8d0c5a7814619125332bfb69a72ad27023500
Author: Scott Aslan <[email protected]>
AuthorDate: Fri Sep 6 14:42:57 2019 -0400

    [NIFI-6625] add ellipsis and tooltip to list of parameters in usage list
    
    This closes #3707
---
 .../WEB-INF/partials/canvas/new-parameter-context-dialog.jsp      | 2 +-
 .../src/main/webapp/js/nf/canvas/nf-parameter-contexts.js         | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-parameter-context-dialog.jsp
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-parameter-context-dialog.jsp
index 88d0063..f9f88e2 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-parameter-context-dialog.jsp
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/new-parameter-context-dialog.jsp
@@ -73,7 +73,7 @@
                             Parameter
                         </div>
                         <div class="setting-field">
-                            <div 
id="parameter-referencing-components-context"></div>
+                            <div id="parameter-referencing-components-context" 
class="ellipsis"></div>
                         </div>
                     </div>
                     <div class="setting">
diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
index 4855d84..46c94df 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-parameter-contexts.js
@@ -202,7 +202,7 @@
 
         $('#process-group-parameter').text('');
         $('#parameter-process-group-id').text('').removeData('revision');
-        
$('#parameter-referencing-components-context').removeClass('unset').text('');
+        
$('#parameter-referencing-components-context').removeClass('unset').attr('title',
 '').text('');
 
         var parameterGrid = $('#parameter-table').data('gridInstance');
         var parameterData = parameterGrid.getData();
@@ -1183,7 +1183,7 @@
                     $.each(parameters, function (_, parameterEntity) {
                         parameterNames.push(parameterEntity.parameter.name);
                     });
-                    
$('#parameter-referencing-components-context').removeClass('unset').text(parameterNames.join(',
 '));
+                    
$('#parameter-referencing-components-context').removeClass('unset').attr('title',
 parameterNames.join(', ')).text(parameterNames.join(', '));
 
                     // update the progress/steps
                     
populateParameterContextUpdateStep(updateRequest.updateSteps, cancelled, 
errored);
@@ -1427,7 +1427,7 @@
         $('<li class="referencing-component-container"><span 
class="unset">None</span></li>').appendTo(unauthorizedComponentsContainer);
 
         // update the selection context
-        
$('#parameter-referencing-components-context').addClass('unset').text('None');
+        
$('#parameter-referencing-components-context').addClass('unset').attr('title', 
'None').text('None');
 
         // check if border is necessary
         
updateReferencingComponentsBorder($('#parameter-referencing-components-container'));
@@ -1717,7 +1717,7 @@
                         
populateReferencingComponents(parameter.referencingComponents);
 
                         // update the details for this parameter
-                        
$('#parameter-referencing-components-context').removeClass('unset').text(parameter.name);
+                        
$('#parameter-referencing-components-context').removeClass('unset').attr('title',
 parameter.name).text(parameter.name);
 
                         
updateReferencingComponentsBorder($('#parameter-referencing-components-container'));
 

Reply via email to