You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ex...@apache.org on 2023/08/04 16:17:42 UTC

[nifi] branch support/nifi-1.x updated: NIFI-11901 Added name and version subtitle in Processor Details view

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

exceptionfactory pushed a commit to branch support/nifi-1.x
in repository https://gitbox.apache.org/repos/asf/nifi.git


The following commit(s) were added to refs/heads/support/nifi-1.x by this push:
     new 1307a63eba NIFI-11901 Added name and version subtitle in Processor Details view
1307a63eba is described below

commit 1307a63eba0d95c4087e4ccef9d1150bc0b04b57
Author: Pierre Villard <pi...@gmail.com>
AuthorDate: Wed Aug 2 21:21:38 2023 +0200

    NIFI-11901 Added name and version subtitle in Processor Details view
    
    This closes #7563
    
    Signed-off-by: David Handermann <ex...@apache.org>
    (cherry picked from commit 572e661d1271082f6a7aa7195853609127b83dec)
---
 .../nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js
index 49a3b1a7bb..2b8c9304ce 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/nf-processor-details.js
@@ -221,6 +221,9 @@
                     // record the processor details
                     $('#processor-details').data('processorDetails', details);
 
+                    // add subtitle with component type details
+                    $('#processor-details').modal('setSubtitle', nfCommon.formatType(details));
+
                     // populate the processor settings
                     nfCommon.populateField('read-only-processor-id', details['id']);
                     nfCommon.populateField('read-only-processor-type', nfCommon.formatType(details));