mitai-jinkendo/frontend/src
Lars ba773e677b
Some checks failed
Deploy Development / deploy (push) Successful in 1m1s
Build Test / pytest-backend (push) Failing after 4s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 16s
fix(workflow): Test-Suite Fixes - Issues #5, #8, #9, #11, #12
Addressed test results from Test_status_Wkf.md:

**Issue #5: End-Node Überschriften**
- Fixed aggregate_results to show node labels instead of "Node 10"
- Added graph lookup to get node.data.label from node objects
- Modified backend/workflow_executor.py (2 locations)

**Issue #8: Löschen-Taste funktioniert nicht**
- Added Delete key support to WorkflowCanvas
- Set deleteKeyCode={['Backspace', 'Delete']}
- Frontend: WorkflowCanvas.jsx

**Issue #9: Mehrere End-Nodes verhindern**
- Added validation error when multiple End-Nodes exist
- Backend supports only 1 End-Node (aggregate_results takes last)
- Frontend: workflowValidation.js

**Issue #11: Export Fehler "Internal Server Error"**
- Added missing fields to export-all endpoint:
  - graph_data (workflow node graph)
  - question_augmentations (analysis prompts)
- Added missing fields to import endpoint
- Proper JSON serialization for all JSONB fields
- Backend: routers/prompts.py

**Issue #12: Workflow duplizieren funktioniert nicht**
- Fixed duplicate endpoint to include all prompt fields:
  - type, stages, output_format, output_schema
  - question_augmentations, graph_data (critical for workflows!)
- Backend: routers/prompts.py

Files changed:
- backend/workflow_executor.py: Node label lookup in aggregate_results
- backend/routers/prompts.py: Export/import/duplicate fixes
- frontend/src/components/workflow/WorkflowCanvas.jsx: Delete key
- frontend/src/utils/workflowValidation.js: Max 1 End-Node validation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-11 14:15:57 +02:00
..
components fix(workflow): Test-Suite Fixes - Issues #5, #8, #9, #11, #12 2026-04-11 14:15:57 +02:00
config feat: Enhance StartNode and Workflow Editor with analysis metadata 2026-04-11 12:19:06 +02:00
context fix: email verification auto-login and user experience 2026-03-21 10:32:24 +01:00
layouts feat: Refactor settings navigation and enhance profile reference values display 2026-04-07 06:24:47 +02:00
pages feat: Enhance StartNode and Workflow Editor with analysis metadata 2026-04-11 12:19:06 +02:00
pilot feat: Remove deprecated pilot widgets and layout management 2026-04-07 11:07:33 +02:00
styles fix: Inline Prompts - UX-Verbesserungen 2026-04-11 08:58:46 +02:00
utils fix(workflow): Test-Suite Fixes - Issues #5, #8, #9, #11, #12 2026-04-11 14:15:57 +02:00
widgetSystem feat: Enhance DashboardConfigurePage with drag-and-drop functionality and improved widget search 2026-04-08 07:58:52 +02:00
app.css neuer Viewport für Admin-Seiten 2026-04-11 11:32:46 +02:00
App.jsx feat(csv-templates): Introduce CSV template analysis and validation features 2026-04-10 06:39:41 +02:00
main.jsx feat: initial commit – Mitai Jinkendo v9a 2026-03-16 13:35:11 +01:00