From 5cf1ff65f4421fe3702b21ac97270bac59b879bc Mon Sep 17 00:00:00 2001 From: Chaim Date: Tue, 30 Jun 2026 19:41:03 +0000 Subject: [PATCH] =?UTF-8?q?fix(case-ui):=20drafts=20cards=20in=20mockup=20?= =?UTF-8?q?order=20=E2=80=94=20files=20=E2=86=92=20final=20=E2=86=92=20fee?= =?UTF-8?q?dback=20(18h)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The 3 drafts cards rendered final-decision before draft-files; mockup 18h has the draft-files card first, then final+learning, then feedback. Switched the container to flex-col and gave each card an explicit `order` so the visual order matches the mockup without reordering any JSX (zero-risk). tsc --noEmit + eslint clean. Co-Authored-By: Claude Opus 4.8 (1M context) --- web-ui/src/components/cases/drafts-panel.tsx | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/web-ui/src/components/cases/drafts-panel.tsx b/web-ui/src/components/cases/drafts-panel.tsx index 3237388..a23b73f 100644 --- a/web-ui/src/components/cases/drafts-panel.tsx +++ b/web-ui/src/components/cases/drafts-panel.tsx @@ -233,10 +233,12 @@ export function DraftsPanel({ } return ( -
+ // flex + per-card `order` so the visual order matches mockup 18h + // (drafts → final+learning → feedback) without reordering the JSX. +
{/* ── Banner ── */} {isDraftReady && ( -
+
{draftLabel} @@ -260,7 +262,7 @@ export function DraftsPanel({ {/* ── Active-draft badge — the DOCX that is the current source of truth ── */} {activeDraft?.filename && ( -
+
מקור האמת: {activeDraft.filename} @@ -269,7 +271,7 @@ export function DraftsPanel({ )} {/* ── Chair's signed final decision — clean upload + staged learning pipeline ── */} -
+
{/* ── Card: draft files (mockup 18h) ── */} -
+

קבצי טיוטה

@@ -522,7 +524,7 @@ export function DraftsPanel({
{/* ── Card: chair feedback (mockup 18h) ── */} -
+

הערות יו״ר