From e051fda0cb18a70b2db37468ff4f16cda2c31fd9 Mon Sep 17 00:00:00 2001 From: Chaim Date: Wed, 24 Jun 2026 15:04:00 +0000 Subject: [PATCH] fix(status): add qa_passed to legacy labels + migrate 8174-12-24 to drafted MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit qa_passed was set by the old agent pipeline but not included in the trimmed 10-status CASE_STATUSES list or LEGACY_STATUS_LABELS, causing the status badge and workflow timeline to render nothing ("לא ידוע"). Added qa_passed → "טיוטה" to LEGACY_STATUS_LABELS as a display-only fallback so any case still carrying this value renders correctly until migrated. Case 8174-12-24 status updated to drafted via PUT /api/cases. Co-Authored-By: Claude Sonnet 4.6 --- web-ui/src/lib/api/case-status.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web-ui/src/lib/api/case-status.ts b/web-ui/src/lib/api/case-status.ts index 9829851..25aa3ca 100644 --- a/web-ui/src/lib/api/case-status.ts +++ b/web-ui/src/lib/api/case-status.ts @@ -74,6 +74,7 @@ const LEGACY_STATUS_LABELS: Record = { ready_for_writing: "מוכן לכתיבה", drafting: "בכתיבה", qa_failed: "בדיקת איכות נכשלה", + qa_passed: "טיוטה", }; /**