From 4c305fcd46074a3a35f94da86f80bb6fa5de4736 Mon Sep 17 00:00:00 2001 From: webklar-automation Date: Wed, 15 Jul 2026 04:06:15 +0000 Subject: [PATCH] feat: Pipeline-Status waiting_enrichment sichtbar (Label + amber Segment) Leads parken jetzt nach Schritt 3 am Anreicherungs-Gate, bis die taegliche Cloud-Routine Bilder/Logo/Text-Feinarbeit liefert (POST /webklar-hook/enrich). PipelineBar zeigt dafuer ein eigenes Label statt des (manuell)-Fallbacks. Co-Authored-By: Claude Fable 5 --- src/pages/LeadsPage.jsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/LeadsPage.jsx b/src/pages/LeadsPage.jsx index ae54793..66b13e2 100644 --- a/src/pages/LeadsPage.jsx +++ b/src/pages/LeadsPage.jsx @@ -230,6 +230,7 @@ function PipelineBar({ lead }) { else if (status === 'running') label = `${PIPELINE_STEPS[step] || 'Verarbeitung'} läuft…` else if (status === 'pending') label = 'Wartet auf den nächsten Lauf' else if (status === 'failed') label = `Fehler: ${PIPELINE_STEPS[step] || '?'}` + else if (status === 'waiting_enrichment') label = 'Wartet auf Anreicherung (Bilder & Logo)' else label = step > 0 ? `Stand: ${PIPELINE_STEPS[step - 1]} (manuell)` : 'Keine Automatik' return ( @@ -245,6 +246,7 @@ function PipelineBar({ lead }) { animation = 'leadPulse 1.2s ease-in-out infinite' } if (status === 'failed' && n === step + 1) background = '#f87171' + if (status === 'waiting_enrichment' && n === step + 1) background = '#fbbf24' if (status === 'idle' && n <= step) background = '#9ca3af' return (