feat: Enhance StartNode and Workflow Editor with analysis metadata
Deploy Development / deploy (push) Successful in 54s
Build Test / pytest-backend (push) Successful in 4s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 16s

- Updated StartNode to display a trimmed analysis title if available, falling back to the label or 'Start'.
- Refactored WorkflowEditorPage to include analysis metadata (title, description, category) in the start node configuration.
- Improved serialization and deserialization of workflow graphs to handle new analysis fields.
- Enhanced user interface to allow setting and displaying analysis metadata for better clarity in the workflow editor.

These changes improve the user experience by providing clearer metadata handling in workflows and ensuring consistent display in analysis components.
This commit is contained in:
Lars committed 2026-04-11 12:19:06 +02:00
1 parent d803f39de3
commit 0ce98e8973
5 files changed
+201 -33

No files matched your search

@@ -8,10 +8,11 @@ import { Handle, Position } from 'reactflow'
* - selected: Boolean (Node ist ausgewählt)
*/
export function StartNode({ data, selected }) {
const title = (data.analysis_title || '').trim()
return (
<div className={`workflow-node start-node ${selected ? 'selected' : ''}`}>
<div className="node-icon">🚀</div>
<div className="node-label">{data.label || 'Start'}</div>
<div className="node-label">{title || data.label || 'Start'}</div>
{/* Nur Source Handle (kein Target, da Einstiegspunkt) */}
<Handle