KRITISCHE FIXES: 1. Backend: Workflow-Type Support - models.py: graph_data Feld hinzugefügt - models.py: slug Optional (auto-generiert) - prompts.py: 'workflow' in erlaubten Typen - prompts.py: graph_data in INSERT/UPDATE - prompts.py: Auto-Slug-Generierung aus Name - FIX: "Field required: slug" Error behoben 2. Frontend: Node-Updates Persistence - selectedNode sync mit nodes array (useEffect) - FIX: Änderungen gingen verloren (stale state) - FIX: Prompt-Auswahl nicht sichtbar nach Edit - FIX: Fallback-Strategy nicht gespeichert - FIX: Node-Name Änderungen nicht übernommen BEHOBEN: - ❌ Save fehlgeschlagen → ✅ Workflows speicherbar - ❌ Node-Name ignoriert → ✅ Live-Update - ❌ Prompt verschwindet → ✅ Bleibt sichtbar - ❌ Fallback nicht saved → ✅ Persistiert Tested: Backend API akzeptiert jetzt type='workflow' Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| components | ||
| context | ||
| pages | ||
| styles | ||
| utils | ||
| app.css | ||
| App.jsx | ||
| main.jsx | ||