- 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.
22 lines
450 B
JavaScript
22 lines
450 B
JavaScript
/** DB `ai_prompts.category` – Reihenfolge der Gruppen in der KI-Analyse-Navigation */
|
||
|
||
export const ANALYSIS_CATEGORY_ORDER = [
|
||
'körper',
|
||
'ernährung',
|
||
'training',
|
||
'schlaf',
|
||
'vitalwerte',
|
||
'ziele',
|
||
'ganzheitlich',
|
||
]
|
||
|
||
export const ANALYSIS_CATEGORY_LABELS = {
|
||
körper: 'Körper',
|
||
ernährung: 'Ernährung',
|
||
training: 'Training',
|
||
schlaf: 'Schlaf',
|
||
vitalwerte: 'Vitalwerte',
|
||
ziele: 'Ziele',
|
||
ganzheitlich: 'Ganzheitlich',
|
||
}
|