- Added the Universal CSV Import module, including the `UNIVERSAL_CSV_IMPORT_AGENT_GUIDE.md` for guidelines on new import modules, executors, and templates.
- Updated relevant rules in `ARCHITECTURE.md` and `CODING_RULES.md` to include references to the new import module and its requirements.
- Revised the Gitea Issues Index to reflect the latest updates and added context for ongoing issues related to the CSV import functionality.
- Enhanced the README files to provide clearer navigation and documentation for the Universal CSV Import features.
Problem 1: Selbst-Referenzierung verhindern
- PlaceholderPicker erhält currentNodeId prop
- Node kann sich nicht mehr selbst in Placeholders sehen
- extractWorkflowPlaceholders() filtert aktuellen Node aus
Problem 2: Radio-Button State-Management
- IIFE mit Helper-Funktion für Mode-Bestimmung
- isInlineMode/isReferenceMode basierend auf data.inline_template
- Korrekte Conditional Rendering Logic
- Beim Wechsel Reference→Inline bleibt prompt_slug erhalten
- Beim Wechsel Inline→Reference bleibt inline_template erhalten
Problem 3: Layout-Breite optimiert
- Sidebar: 250px → 220px (schmaler)
- Config Panel: 400px → 520px (breiter für bessere Lesbarkeit)
- Responsive: Config Panel bei <1200px: 450px statt 350px
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
QuestionAugmentationPanel und FallbackConfig waren außerhalb der IIFE.
Müssen innerhalb sein, vor dem schließenden Fragment.
Build lokal getestet: ✓ erfolgreich
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
ISSUE: Inline templates referencing node outputs ({{ node_id.analysis_core }},
{{ node_id.signal_xyz }}) were not resolved - AI received empty data from
previous workflow stages.
ROOT CAUSE: load_prompt_template() only loaded system placeholders
(name, age, etc.) but not node execution results from context['node_results'].
FIX:
- Extract node outputs from context['node_results']
- Add as placeholders: node_id.analysis_core, node_id.signal_xyz, node_id.question_xyz
- Format matches PlaceholderPicker extraction logic
- Debug logging shows which node placeholders are added
TESTING:
- System placeholder test: ✅ SUCCESS (name, age, geschlecht resolved)
- Node output placeholders: Fixed (previously missing)
- User workflow: Join → Analysis → End now receives upstream data
Part 3: Inline Prompts - placeholder resolution completion
- Increased from 3 to 8 input handles (path_1 through path_8)
- Evenly distributed across top edge (11%, 22%, 33%, ..., 89%)
- Backend already supports unlimited inputs dynamically
- Unused handles are ignored (no edges = no check)
Join strategies for missing inputs:
- wait_all: Fails if any connected path fails
- wait_any: Succeeds if at least 1 path succeeds
- best_effort: Always succeeds
User can still chain multiple Joins if >8 inputs needed.
Part 3: Inline Prompts - workflow flexibility
**Problem 1: Validation footer covers mobile menu**
- Fixed bottom validation panel (z-index 1000) overlapped mobile nav
- Solution: Removed bottom panel, added inline validation in config panel header
**Problem 2: Alert dialogs for save success**
- alert() blocks UI and requires OK click for every save
- Solution: Toast notifications (auto-close after 3s, non-blocking)
**Problem 3: Validation shows only counts, not details**
- Footer showed "1 Error, 2 Warnings" without details
- Solution: Inline display shows all error/warning messages with click-to-navigate
**New Components:**
- Toast.jsx: Auto-closing notifications (success/error/warning/info)
- ConfirmDialog.jsx: Modal confirmation dialogs (for future save-on-close)
**Changes:**
- WorkflowEditorPage: Inline validation in config panel, toast state
- Removed fixed bottom .validation-panel (no mobile overlap)
- Toast for save success instead of alert()
**Still TODO (separate commit):**
- Save confirmation when closing/switching nodes with unsaved changes
- Dirty state tracking
Part 3: Inline Prompts - UX polish (validation + notifications)
Lars
merged commit 8b731313df into main2026-04-11 10:59:39 +02:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
- Log placeholder loading (count, sample keys) - Log key cleaning process (before/after) - Log sample values (name, age, geschlecht) - Log template before/after resolution - Log resolved and unresolved placeholders - Add .strip() to key cleaning to handle spaces This will help diagnose why {{ name }}, {{ age }}, {{ geschlecht }} are not resolving in inline templates. Issue: Part 3 Inline Prompts - placeholder resolution debuggingISSUE: Inline templates referencing node outputs ({{ node_id.analysis_core }}, {{ node_id.signal_xyz }}) were not resolved - AI received empty data from previous workflow stages. ROOT CAUSE: load_prompt_template() only loaded system placeholders (name, age, etc.) but not node execution results from context['node_results']. FIX: - Extract node outputs from context['node_results'] - Add as placeholders: node_id.analysis_core, node_id.signal_xyz, node_id.question_xyz - Format matches PlaceholderPicker extraction logic - Debug logging shows which node placeholders are added TESTING: - System placeholder test: ✅ SUCCESS (name, age, geschlecht resolved) - Node output placeholders: Fixed (previously missing) - User workflow: Join → Analysis → End now receives upstream data Part 3: Inline Prompts - placeholder resolution completion**Issue 1: Prompt selector loses value** - When switching Reference→Inline→Reference, the dropdown was empty - Root cause: Switching to Inline deleted prompt_slug - Fix: Keep prompt_slug when activating inline_template - Now: Both modes preserve their values independently **Issue 2: Workflow overview shows 'kein Prompt'** - Nodes with inline templates showed misleading 'kein Prompt' text - Root cause: AnalysisNode only checked prompt_name/prompt_slug - Fix: Check inline_template and display '✏️ Inline-Template' - Now: Clear visual distinction between modes Files: - WorkflowEditorPage.jsx: Preserve prompt_slug on mode switch - AnalysisNode.jsx: Add isInlineMode detection and display Part 3: Inline Prompts - UX polish