2 Commits

Author SHA1 Message Date
0bf311041b Merge pull request 'feat(case-ui): drafts tab — 3 clear cards (X17 18h)' (#380) from worktree-drafts-three-cards into main
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 47s
G12 Leak-Guard / leak-guard (push) Successful in 4s
Lint — undefined names / undefined-names (push) Successful in 10s
2026-06-30 19:16:05 +00:00
148f303378 feat(case-ui): drafts tab — 3 clear cards (X17 18h)
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 3s
Lint — undefined names / undefined-names (pull_request) Successful in 10s
Groups the drafts/comments tab into distinct cards instead of one long scroll:
- "פסיקה שצוטטה" (CitationsSection) moved inside the chair's signed-final card
  as its sub-section (was floating between final and the files table).
- "קבצי טיוטה" and "הערות יו״ר" sections each wrapped in a bordered surface card.

Result: draft-ready banner + active-draft badge at top, then three cards —
final-decision+learning (gold), draft files, chair feedback. All logic,
mutations, dialogs and the feedback list preserved verbatim.

tsc --noEmit + eslint clean. Design-gate: mockup 18h approved in Claude Design X17.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-30 19:15:44 +00:00

View File

@@ -347,13 +347,13 @@ export function DraftsPanel({
</div> </div>
)} )}
{hasFinal && <LearningStatusBadges caseNumber={caseNumber} />} {hasFinal && <LearningStatusBadges caseNumber={caseNumber} />}
{/* precedents cited inside the signed decision — sub-section of the
final card (mockup 18h), collapsible inside CitationsSection itself */}
<CitationsSection caseNumber={caseNumber} />
</section> </section>
{/* ── Precedents cited inside the signed decision ── */} {/* ── Card: draft files (mockup 18h) ── */}
<CitationsSection caseNumber={caseNumber} /> <section className="rounded-lg border border-rule bg-surface p-4">
{/* ── Exports list ── */}
<section>
<div className="flex items-center justify-between mb-3"> <div className="flex items-center justify-between mb-3">
<h3 className="text-navy text-base">קבצי טיוטה</h3> <h3 className="text-navy text-base">קבצי טיוטה</h3>
<div className="flex items-center gap-2"> <div className="flex items-center gap-2">
@@ -521,8 +521,8 @@ export function DraftsPanel({
</Dialog> </Dialog>
</section> </section>
{/* ── Chair feedback ── */} {/* ── Card: chair feedback (mockup 18h) ── */}
<section> <section className="rounded-lg border border-rule bg-surface p-4">
<div className="flex items-center justify-between mb-3"> <div className="flex items-center justify-between mb-3">
<h3 className="text-navy text-base"> <h3 className="text-navy text-base">
הערות יו״ר הערות יו״ר