mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 12:57:29 -08:00
feat: Add missing input panels to some trigger nodes (#6518)
This commit is contained in:
parent
ffb4e470b5
commit
3b12864460
|
@ -72,6 +72,17 @@ const versionDescription: INodeTypeDescription = {
|
||||||
name: 'Email Trigger (IMAP)',
|
name: 'Email Trigger (IMAP)',
|
||||||
color: '#44AA22',
|
color: '#44AA22',
|
||||||
},
|
},
|
||||||
|
triggerPanel: {
|
||||||
|
header: '',
|
||||||
|
executionsHelp: {
|
||||||
|
inactive:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time an email is received, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
active:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time an email is received, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
},
|
||||||
|
activationHint:
|
||||||
|
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||||
|
},
|
||||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
|
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: ['main'],
|
outputs: ['main'],
|
||||||
|
|
|
@ -73,6 +73,17 @@ const versionDescription: INodeTypeDescription = {
|
||||||
name: 'Email Trigger (IMAP)',
|
name: 'Email Trigger (IMAP)',
|
||||||
color: '#44AA22',
|
color: '#44AA22',
|
||||||
},
|
},
|
||||||
|
triggerPanel: {
|
||||||
|
header: '',
|
||||||
|
executionsHelp: {
|
||||||
|
inactive:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time an email is received, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
active:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then send an email to make an event happen. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time an email is received, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
},
|
||||||
|
activationHint:
|
||||||
|
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||||
|
},
|
||||||
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
|
// eslint-disable-next-line n8n-nodes-base/node-class-description-inputs-wrong-regular-node
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: ['main'],
|
outputs: ['main'],
|
||||||
|
|
|
@ -22,6 +22,17 @@ export class LocalFileTrigger implements INodeType {
|
||||||
name: 'Local File Trigger',
|
name: 'Local File Trigger',
|
||||||
color: '#404040',
|
color: '#404040',
|
||||||
},
|
},
|
||||||
|
triggerPanel: {
|
||||||
|
header: '',
|
||||||
|
executionsHelp: {
|
||||||
|
inactive:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then make a change to your watched file or folder. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time a change is detected, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
active:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then make a change to your watched file or folder. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time a change is detected, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
},
|
||||||
|
activationHint:
|
||||||
|
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||||
|
},
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: ['main'],
|
outputs: ['main'],
|
||||||
properties: [
|
properties: [
|
||||||
|
|
|
@ -17,9 +17,21 @@ export class MqttTrigger implements INodeType {
|
||||||
group: ['trigger'],
|
group: ['trigger'],
|
||||||
version: 1,
|
version: 1,
|
||||||
description: 'Listens to MQTT events',
|
description: 'Listens to MQTT events',
|
||||||
|
eventTriggerDescription: '',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: 'MQTT Trigger',
|
name: 'MQTT Trigger',
|
||||||
},
|
},
|
||||||
|
triggerPanel: {
|
||||||
|
header: '',
|
||||||
|
executionsHelp: {
|
||||||
|
inactive:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then trigger an MQTT event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time a change is detected, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
active:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then trigger an MQTT event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time a change is detected, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
},
|
||||||
|
activationHint:
|
||||||
|
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||||
|
},
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: ['main'],
|
outputs: ['main'],
|
||||||
credentials: [
|
credentials: [
|
||||||
|
|
|
@ -21,9 +21,21 @@ export class PostgresTrigger implements INodeType {
|
||||||
group: ['trigger'],
|
group: ['trigger'],
|
||||||
version: 1,
|
version: 1,
|
||||||
description: 'Listens to Postgres messages',
|
description: 'Listens to Postgres messages',
|
||||||
|
eventTriggerDescription: '',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: 'Postgres Trigger',
|
name: 'Postgres Trigger',
|
||||||
},
|
},
|
||||||
|
triggerPanel: {
|
||||||
|
header: '',
|
||||||
|
executionsHelp: {
|
||||||
|
inactive:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then trigger a Postgres event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time a change is detected, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
active:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then trigger a Postgres event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time a change is detected, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
},
|
||||||
|
activationHint:
|
||||||
|
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||||
|
},
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: ['main'],
|
outputs: ['main'],
|
||||||
credentials: [
|
credentials: [
|
||||||
|
|
|
@ -26,9 +26,21 @@ export class RabbitMQTrigger implements INodeType {
|
||||||
group: ['trigger'],
|
group: ['trigger'],
|
||||||
version: 1,
|
version: 1,
|
||||||
description: 'Listens to RabbitMQ messages',
|
description: 'Listens to RabbitMQ messages',
|
||||||
|
eventTriggerDescription: '',
|
||||||
defaults: {
|
defaults: {
|
||||||
name: 'RabbitMQ Trigger',
|
name: 'RabbitMQ Trigger',
|
||||||
},
|
},
|
||||||
|
triggerPanel: {
|
||||||
|
header: '',
|
||||||
|
executionsHelp: {
|
||||||
|
inactive:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then trigger a Rabbit MQ event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time a change is detected, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
active:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then trigger a Rabbit MQ event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time a change is detected, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
},
|
||||||
|
activationHint:
|
||||||
|
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||||
|
},
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: ['main'],
|
outputs: ['main'],
|
||||||
credentials: [
|
credentials: [
|
||||||
|
|
|
@ -22,6 +22,17 @@ export class SseTrigger implements INodeType {
|
||||||
name: 'SSE Trigger',
|
name: 'SSE Trigger',
|
||||||
color: '#225577',
|
color: '#225577',
|
||||||
},
|
},
|
||||||
|
triggerPanel: {
|
||||||
|
header: '',
|
||||||
|
executionsHelp: {
|
||||||
|
inactive:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then trigger an SSE event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Once you're happy with your workflow</b>, <a data-key='activate'>activate</a> it. Then every time a change is detected, the workflow will execute. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
active:
|
||||||
|
"<b>While building your workflow</b>, click the 'listen' button, then trigger an SSE event. This will trigger an execution, which will show up in this editor.<br /> <br /><b>Your workflow will also execute automatically</b>, since it's activated. Every time a change is detected, this node will trigger an execution. These executions will show up in the <a data-key='executions'>executions list</a>, but not in the editor.",
|
||||||
|
},
|
||||||
|
activationHint:
|
||||||
|
"Once you’ve finished building your workflow, <a data-key='activate'>activate</a> it to have it also listen continuously (you just won’t see those executions here).",
|
||||||
|
},
|
||||||
inputs: [],
|
inputs: [],
|
||||||
outputs: ['main'],
|
outputs: ['main'],
|
||||||
properties: [
|
properties: [
|
||||||
|
|
Loading…
Reference in a new issue