diff --git a/packages/editor-ui/src/components/ExecutionsView/ExecutionPreview.vue b/packages/editor-ui/src/components/ExecutionsView/ExecutionPreview.vue index 8061c7beeb..3648049da2 100644 --- a/packages/editor-ui/src/components/ExecutionsView/ExecutionPreview.vue +++ b/packages/editor-ui/src/components/ExecutionsView/ExecutionPreview.vue @@ -55,7 +55,7 @@ - + @@ -90,6 +90,9 @@ export default mixins(restApi, showMessage, executionHelpers).extend({ sidebarCollapsed(): boolean { return this.uiStore.sidebarMenuCollapsed; }, + executionMode(): string { + return this.activeExecution?.mode || ''; + }, }, methods: { async onDeleteExecution(): Promise { diff --git a/packages/editor-ui/src/components/InputPanel.vue b/packages/editor-ui/src/components/InputPanel.vue index 6d585e2e2e..550253ab8d 100644 --- a/packages/editor-ui/src/components/InputPanel.vue +++ b/packages/editor-ui/src/components/InputPanel.vue @@ -13,6 +13,7 @@ :mappingEnabled="!readOnly" :showMappingHint="draggableHintShown" :distanceFromActive="currentNodeDepth" + :isProductionExecutionPreview="isProductionExecutionPreview" paneType="input" @itemHover="$emit('itemHover', $event)" @linkRun="onLinkRun" @@ -107,6 +108,10 @@ export default mixins( readOnly: { type: Boolean, }, + isProductionExecutionPreview: { + type: Boolean, + default: false, + }, }, data() { return { diff --git a/packages/editor-ui/src/components/Node.vue b/packages/editor-ui/src/components/Node.vue index 52d213b7e9..652b912470 100644 --- a/packages/editor-ui/src/components/Node.vue +++ b/packages/editor-ui/src/components/Node.vue @@ -16,7 +16,7 @@ - + {{ workflowDataItems }} @@ -132,6 +132,12 @@ export default mixins( TitledList, NodeIcon, }, + props: { + isProductionExecutionPreview: { + type: Boolean, + default: false, + }, + }, computed: { ...mapStores( useNodeTypesStore, @@ -139,6 +145,9 @@ export default mixins( useUIStore, useWorkflowsStore, ), + showPinnedDataInfo(): boolean { + return this.hasPinData && !this.isProductionExecutionPreview; + }, isDuplicatable(): boolean { if(!this.nodeType) return true; return this.nodeType.maxNodes === undefined || this.sameTypeNodes.length < this.nodeType.maxNodes; @@ -307,7 +316,7 @@ export default mixins( else if (!this.isExecuting) { if (this.hasIssues) { borderColor = getStyleTokenValue('--color-danger'); - } else if (this.waiting || this.hasPinData) { + } else if (this.waiting || this.showPinnedDataInfo) { borderColor = getStyleTokenValue('--color-secondary'); } else if (this.workflowDataItems) { borderColor = getStyleTokenValue('--color-success'); diff --git a/packages/editor-ui/src/components/NodeDetailsView.vue b/packages/editor-ui/src/components/NodeDetailsView.vue index d4c03a4f2f..8a4ccefe35 100644 --- a/packages/editor-ui/src/components/NodeDetailsView.vue +++ b/packages/editor-ui/src/components/NodeDetailsView.vue @@ -55,6 +55,7 @@ :currentNodeName="inputNodeName" :sessionId="sessionId" :readOnly="readOnly || hasForeignCredential" + :isProductionExecutionPreview="isProductionExecutionPreview" @linkRun="onLinkRunToInput" @unlinkRun="() => onUnlinkRun('input')" @runChange="onRunInputIndexChange" @@ -73,6 +74,7 @@ :sessionId="sessionId" :isReadOnly="readOnly || hasForeignCredential" :blockUI="blockUi && isTriggerNode" + :isProductionExecutionPreview="isProductionExecutionPreview" @linkRun="onLinkRunToOutput" @unlinkRun="() => onUnlinkRun('output')" @runChange="onRunOutputIndexChange" @@ -168,6 +170,10 @@ export default mixins( renaming: { type: Boolean, }, + isProductionExecutionPreview: { + type: Boolean, + default: false, + }, }, data() { return { diff --git a/packages/editor-ui/src/components/OutputPanel.vue b/packages/editor-ui/src/components/OutputPanel.vue index 53f835d1e6..ea27e5505c 100644 --- a/packages/editor-ui/src/components/OutputPanel.vue +++ b/packages/editor-ui/src/components/OutputPanel.vue @@ -11,6 +11,7 @@ :sessionId="sessionId" :isReadOnly="isReadOnly" :blockUI="blockUI" + :isProductionExecutionPreview="isProductionExecutionPreview" paneType="output" @runChange="onRunIndexChange" @linkRun="onLinkRun" @@ -119,6 +120,10 @@ export default mixins( type: Boolean, default: false, }, + isProductionExecutionPreview: { + type: Boolean, + default: false, + }, }, computed: { ...mapStores( diff --git a/packages/editor-ui/src/components/RunData.vue b/packages/editor-ui/src/components/RunData.vue index a0e0738ac8..18bc439121 100644 --- a/packages/editor-ui/src/components/RunData.vue +++ b/packages/editor-ui/src/components/RunData.vue @@ -1,7 +1,7 @@