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

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


The following commit(s) were added to refs/heads/main by this push:
     new 9e5892780a NIFI-12167: - Renaming Usage to View Documentation.
9e5892780a is described below

commit 9e5892780a698fc36b4d8be2076b248c8d398a5b
Author: Matt Gilman <[email protected]>
AuthorDate: Thu Oct 19 11:09:10 2023 -0400

    NIFI-12167:
    - Renaming Usage to View Documentation.
    
    Signed-off-by: Pierre Villard <[email protected]>
    
    This closes #7904.
---
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js     | 2 +-
 .../src/main/webapp/js/nf/canvas/nf-controller-services.js          | 2 +-
 .../nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js         | 6 +++---
 3 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/js/nf/canvas/nf-context-menu.js
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
index 520e5dc25c..74d9b361b9 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-context-menu.js
@@ -843,7 +843,7 @@
         {id: 'show-stats-menu-item', condition: supportsStats, menuItem: 
{clazz: 'fa fa-area-chart', text: 'View status history', action: 'showStats'}},
         {id: 'view-state-menu-item', condition: isStatefulProcessor, menuItem: 
{clazz: 'fa fa-tasks', text: 'View state', action: 'viewState'}},
         {id: 'list-queue-menu-item', condition: canListQueue, menuItem: 
{clazz: 'fa fa-list', text: 'List queue', action: 'listQueue'}},
-        {id: 'show-usage-menu-item', condition: hasUsage, menuItem: {clazz: 
'fa fa-book', text: 'View usage', action: 'showUsage'}},
+        {id: 'show-usage-menu-item', condition: hasUsage, menuItem: {clazz: 
'fa fa-book', text: 'View documentation', action: 'showUsage'}},
         {id: 'view-menu-item', groupMenuItem: {clazz: 'icon icon-connect', 
text: 'View connections'}, menuItems: [
             {id: 'show-upstream-menu-item', condition: hasUpstream, menuItem: 
{clazz: 'icon', text: 'Upstream', action: 'showUpstream'}},
             {id: 'show-downstream-menu-item', condition: hasDownstream, 
menuItem: {clazz: 'icon', text: 'Downstream', action: 'showDownstream'}}
diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
index 3742830bcc..d68efd9520 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-controller-services.js
@@ -866,7 +866,7 @@
             }
 
             // always include a button to view the usage
-            var markup = '<div title="Usage" class="pointer 
controller-service-usage fa fa-book"></div>';
+            var markup = '<div title="View Documentation" class="pointer 
controller-service-usage fa fa-book"></div>';
 
             var hasComments = 
!nfCommon.isBlank(dataContext.component.comments);
             var hasErrors = 
!nfCommon.isEmpty(dataContext.component.validationErrors);
diff --git 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
index 0b71333757..7c184108e1 100644
--- 
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
+++ 
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-settings.js
@@ -1599,7 +1599,7 @@
             var markup = '<div title="View Details" class="pointer 
view-reporting-task fa fa-info-circle"></div>';
 
             // always include a button to view the usage
-            markup += '<div title="Usage" class="pointer reporting-task-usage 
fa fa-book"></div>';
+            markup += '<div title="View Documentation" class="pointer 
reporting-task-usage fa fa-book"></div>';
 
             var hasComments = 
!nfCommon.isBlank(dataContext.component.comments);
             var hasErrors = 
!nfCommon.isEmpty(dataContext.component.validationErrors);
@@ -2508,7 +2508,7 @@
             var markup = '<div title="View Details" class="pointer 
view-flow-analysis-rule fa fa-info-circle"></div>';
 
             // always include a button to view the usage
-            markup += '<div title="Usage" class="pointer 
flow-analysis-rule-usage fa fa-book"></div>';
+            markup += '<div title="View Documentation" class="pointer 
flow-analysis-rule-usage fa fa-book"></div>';
 
             var hasErrors = 
!nfCommon.isEmpty(dataContext.component.validationErrors);
 
@@ -2993,7 +2993,7 @@
             var markup = '<div title="View Details" class="pointer 
view-parameter-provider fa fa-info-circle"></div>';
 
             // always include a button to view the usage
-            markup += '<div title="Usage" class="pointer 
parameter-provider-usage fa fa-book"></div>';
+            markup += '<div title="View Documentation" class="pointer 
parameter-provider-usage fa fa-book"></div>';
 
             var hasErrors = 
!nfCommon.isEmpty(dataContext.component.validationErrors);
             var hasBulletins = !nfCommon.isEmpty(dataContext.bulletins);

Reply via email to