From c5c9425989ebd6d2b162b599da9dd12aadc72a6d Mon Sep 17 00:00:00 2001 From: Alex Aversa Date: Wed, 30 Jan 2019 21:09:56 +0000 Subject: [PATCH] NIFI-5986 Adding "Stop & Configure" button functionality to Processor Details modal. NIFI-5986 Refactored Stop & Configure feature to enable bulletin/thread notifications and terminate capability in processor dialogs. Also added feature as a menu item to the canvas context menu. NIFI-5986 Refactored Stop & Configure feature to enable a status bar in a dialog that conveys bulletin/thread notifications and buttons. NIFI-5986 Refactored Stop & Configure feature to decouple status bar from modal component, updated styling and revised graph synchronization process. NIFI-5986 Refactored Stop & Configure feature to improve status bar button hide/show functionality. NIFI-5986: Rebased and resolved conflicts. NIFI-5986 - Refactored Stop & Configure statusbar observer, as well as processor dialogs to remove duplicative code. This closes #3281 --- .../src/main/webapp/WEB-INF/pages/canvas.jsp | 2 + .../canvas/processor-configuration.jsp | 1 + .../WEB-INF/partials/processor-details.jsp | 1 + .../src/main/webapp/css/common-ui.css | 32 ++ .../webapp/css/processor-configuration.css | 5 + .../src/main/webapp/css/processor-details.css | 5 + .../js/jquery/statusbar/jquery.statusbar.css | 141 +++++++++ .../js/jquery/statusbar/jquery.statusbar.js | 288 ++++++++++++++++++ .../main/webapp/js/nf/canvas/nf-actions.js | 44 ++- .../js/nf/canvas/nf-canvas-bootstrap.js | 12 +- .../webapp/js/nf/canvas/nf-canvas-utils.js | 10 + .../webapp/js/nf/canvas/nf-context-menu.js | 18 +- .../nf/canvas/nf-processor-configuration.js | 117 ++++++- .../src/main/webapp/js/nf/nf-common.js | 13 + .../main/webapp/js/nf/nf-processor-details.js | 89 +++++- .../webapp/js/nf/summary/nf-summary-table.js | 5 +- 16 files changed, 756 insertions(+), 27 deletions(-) create mode 100644 nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/statusbar/jquery.statusbar.css create mode 100644 nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/jquery/statusbar/jquery.statusbar.js diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp index 38e8097ecc..cee2c5e5fc 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/pages/canvas.jsp @@ -32,6 +32,7 @@ + @@ -88,6 +89,7 @@ +
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp index b7917a1a0b..9f0494d756 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/WEB-INF/partials/canvas/processor-configuration.jsp @@ -16,6 +16,7 @@ --%> <%@ page contentType="text/html" pageEncoding="UTF-8" session="false" %>