Universal CSV Importer #70

Merged
Lars merged 54 commits from develop into main 2026-04-11 07:06:47 +02:00
Showing only changes of commit f9c244bf48 - Show all commits

View File

@ -375,13 +375,14 @@ function extractWorkflowPlaceholders(nodes) {
// Signals und Fragen für Analysis Nodes
if (node.type === 'analysis' && node.data.questions && node.data.questions.length > 0) {
node.data.questions.forEach((q, qIdx) => {
const questionId = q.id || `q${qIdx + 1}`
const questionType = q.type || `q${qIdx + 1}`
const questionText = q.question || `Frage ${qIdx + 1}`
// Signal-Platzhalter (Antwort)
placeholders.push({
placeholder: `{{ ${nodeId}.signal_${questionType} }}`,
description: `${nodeLabel} - Signal: ${questionText.substring(0, 50)}${questionText.length > 50 ? '...' : ''}`,
description: `${nodeLabel} (${questionId}) - Signal ${questionType}: ${questionText.substring(0, 40)}${questionText.length > 40 ? '...' : ''}`,
icon: '📊',
category: 'Workflow - Signals'
})
@ -389,7 +390,7 @@ function extractWorkflowPlaceholders(nodes) {
// Frage-Text-Platzhalter
placeholders.push({
placeholder: `{{ ${nodeId}.question_${questionType} }}`,
description: `${nodeLabel} - Frage-Text: ${questionText.substring(0, 50)}${questionText.length > 50 ? '...' : ''}`,
description: `${nodeLabel} (${questionId}) - Frage ${questionType}: ${questionText.substring(0, 40)}${questionText.length > 40 ? '...' : ''}`,
icon: '❓',
category: 'Workflow - Questions'
})