mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
feat(editor): Forbid focusing on node settings parameter (no-changelog) (#17193)
This commit is contained in:
@@ -435,6 +435,7 @@ const populateSettings = () => {
|
||||
default: false,
|
||||
noDataExpression: true,
|
||||
description: i18n.baseText('nodeSettings.alwaysOutputData.description'),
|
||||
isNodeSetting: true,
|
||||
},
|
||||
{
|
||||
displayName: i18n.baseText('nodeSettings.executeOnce.displayName'),
|
||||
@@ -443,6 +444,7 @@ const populateSettings = () => {
|
||||
default: false,
|
||||
noDataExpression: true,
|
||||
description: i18n.baseText('nodeSettings.executeOnce.description'),
|
||||
isNodeSetting: true,
|
||||
},
|
||||
{
|
||||
displayName: i18n.baseText('nodeSettings.retryOnFail.displayName'),
|
||||
@@ -451,6 +453,7 @@ const populateSettings = () => {
|
||||
default: false,
|
||||
noDataExpression: true,
|
||||
description: i18n.baseText('nodeSettings.retryOnFail.description'),
|
||||
isNodeSetting: true,
|
||||
},
|
||||
{
|
||||
displayName: i18n.baseText('nodeSettings.maxTries.displayName'),
|
||||
@@ -468,6 +471,7 @@ const populateSettings = () => {
|
||||
},
|
||||
noDataExpression: true,
|
||||
description: i18n.baseText('nodeSettings.maxTries.description'),
|
||||
isNodeSetting: true,
|
||||
},
|
||||
{
|
||||
displayName: i18n.baseText('nodeSettings.waitBetweenTries.displayName'),
|
||||
@@ -485,6 +489,7 @@ const populateSettings = () => {
|
||||
},
|
||||
noDataExpression: true,
|
||||
description: i18n.baseText('nodeSettings.waitBetweenTries.description'),
|
||||
isNodeSetting: true,
|
||||
},
|
||||
{
|
||||
displayName: i18n.baseText('nodeSettings.onError.displayName'),
|
||||
@@ -514,6 +519,7 @@ const populateSettings = () => {
|
||||
default: 'stopWorkflow',
|
||||
description: i18n.baseText('nodeSettings.onError.description'),
|
||||
noDataExpression: true,
|
||||
isNodeSetting: true,
|
||||
},
|
||||
] as INodeProperties[]),
|
||||
);
|
||||
@@ -530,6 +536,7 @@ const populateSettings = () => {
|
||||
default: '',
|
||||
noDataExpression: true,
|
||||
description: i18n.baseText('nodeSettings.notes.description'),
|
||||
isNodeSetting: true,
|
||||
},
|
||||
{
|
||||
displayName: i18n.baseText('nodeSettings.notesInFlow.displayName'),
|
||||
@@ -538,6 +545,7 @@ const populateSettings = () => {
|
||||
default: false,
|
||||
noDataExpression: true,
|
||||
description: i18n.baseText('nodeSettings.notesInFlow.description'),
|
||||
isNodeSetting: true,
|
||||
},
|
||||
] as INodeProperties[]),
|
||||
);
|
||||
|
||||
@@ -90,8 +90,9 @@ const isFocusPanelFeatureEnabled = computed(() => {
|
||||
const hasFocusAction = computed(
|
||||
() =>
|
||||
isFocusPanelFeatureEnabled.value &&
|
||||
!props.parameter.isNodeSetting &&
|
||||
!props.isReadOnly &&
|
||||
activeNode.value &&
|
||||
activeNode.value && // checking that it's inside ndv
|
||||
(props.parameter.type === 'string' || props.parameter.type === 'json'),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user