From 96921815e3e6c46d68d2552dedc35b083a97e0b2 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelca Date: Tue, 17 Dec 2024 11:08:05 -0400 Subject: [PATCH 1/2] FOUR-20487: Display "Screen Interstitial" Option --- .../components/inspector/TaskInterstitial.vue | 106 ++++++++++++++++++ resources/js/processes/modeler/initialLoad.js | 10 +- 2 files changed, 112 insertions(+), 4 deletions(-) create mode 100644 resources/js/processes/modeler/components/inspector/TaskInterstitial.vue diff --git a/resources/js/processes/modeler/components/inspector/TaskInterstitial.vue b/resources/js/processes/modeler/components/inspector/TaskInterstitial.vue new file mode 100644 index 0000000000..49f428af32 --- /dev/null +++ b/resources/js/processes/modeler/components/inspector/TaskInterstitial.vue @@ -0,0 +1,106 @@ + + + diff --git a/resources/js/processes/modeler/initialLoad.js b/resources/js/processes/modeler/initialLoad.js index 9c764229b8..afd8607ae3 100644 --- a/resources/js/processes/modeler/initialLoad.js +++ b/resources/js/processes/modeler/initialLoad.js @@ -43,6 +43,7 @@ import SignalPayload from "./components/inspector/SignalPayload"; import ScriptSelect from "./components/inspector/ScriptSelect"; import StartPermission from "./components/inspector/StartPermission"; import Interstitial from "./components/inspector/Interstitial"; +import TaskInterstitial from "./components/inspector/TaskInterstitial"; import SelectUserGroup from "../../components/SelectUserGroup"; import validateScreenRef from "./validateScreenRef"; import validateFlowGenieRef from "./validateFlowGenieRef"; @@ -65,6 +66,7 @@ Vue.component("SignalPayload", SignalPayload); Vue.component("ScriptSelect", ScriptSelect); Vue.component("StartPermission", StartPermission); Vue.component("Interstitial", Interstitial); +Vue.component("TaskInterstitial", TaskInterstitial); Vue.component("SelectUserGroup", SelectUserGroup); Vue.component("NodeIdentifierInput", NodeIdentifierInput); Vue.component("ErrorHandlingTimeout", ErrorHandlingTimeout); @@ -205,11 +207,11 @@ ProcessMaker.EventBus.$on( }); registerInspectorExtension(task, { - component: "Interstitial", + component: "TaskInterstitial", config: { label: "Display Next Assigned Task to Task Assignee", helper: "Directs Task assignee to the next assigned Task", - name: "interstitial", + name: "taskInterstitial", }, }); @@ -357,11 +359,11 @@ ProcessMaker.EventBus.$on( ], }); registerInspectorExtension(manualTask, { - component: "Interstitial", + component: "TaskInterstitial", config: { label: "Enable Interstitial", helper: "redirected to my next assigned task", - name: "interstitial", + name: "TaskInterstitial", }, }); From fe660a322821f81ae52878b4f4980480e40d4d50 Mon Sep 17 00:00:00 2001 From: Rodrigo Quelca Date: Tue, 17 Dec 2024 16:35:47 -0400 Subject: [PATCH 2/2] gix CR notes --- .../processes/modeler/components/inspector/TaskInterstitial.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/resources/js/processes/modeler/components/inspector/TaskInterstitial.vue b/resources/js/processes/modeler/components/inspector/TaskInterstitial.vue index 49f428af32..894e373db9 100644 --- a/resources/js/processes/modeler/components/inspector/TaskInterstitial.vue +++ b/resources/js/processes/modeler/components/inspector/TaskInterstitial.vue @@ -91,7 +91,6 @@ export default { * @param {Object} { nodeId, isDisabled } */ handleInterstitial({ nodeId, show }) { - console.log("handleInterstitial", nodeId, show); if (nodeId !== this.node.id) { return; }