fix: Show debug_prompt_slug instead of node_id
All checks were successful
Deploy Development / deploy (push) Successful in 47s
Build Test / pytest-backend (push) Successful in 4s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 16s

Priority: debug_prompt_slug > node_label > node_type-shortid > node_id
This commit is contained in:
Lars 2026-04-13 15:36:50 +02:00
parent 736dc58d81
commit f97d15288d

View File

@ -220,13 +220,13 @@ export function WorkflowResultViewer({ result, onClose }) {
}}
>
<div>
{node.node_type === 'start' && '🚀'}
{node.node_type === 'analysis' && '🤖'}
{node.node_type === 'logic' && '⚡'}
{node.node_type === 'join' && '🔀'}
{node.node_type === 'end' && '🏁'}
{(node.debug_node_type || node.node_type) === 'start' && '🚀'}
{(node.debug_node_type || node.node_type) === 'analysis' && '🤖'}
{(node.debug_node_type || node.node_type) === 'logic' && '⚡'}
{(node.debug_node_type || node.node_type) === 'join' && '🔀'}
{(node.debug_node_type || node.node_type) === 'end' && '🏁'}
{' '}
{node.node_label || node.node_id}
{node.debug_prompt_slug || node.node_label || ((node.debug_node_type || node.node_type) ? `${node.debug_node_type || node.node_type}-${node.node_id.substring(0, 8)}` : node.node_id)}
{node.status === 'skipped' && (
<span style={{ color: 'var(--text3)', marginLeft: '8px' }}>
(skipped)