fix(hearing): פאנל "מה קרה בדיון" סגור כברירת-מחדל (#226)
עוטף את HearingChangesPanel באקורדיון single/collapsible סגור-כברירת-מחדל, זהה לפאנל-האח "טיעונים מאוגדים לפי צד" מעליו (הנחיית חיים). הכותרת+תיאור עוברים לטריגר-האקורדיון; מוסרת הכותרת הכפולה מהרכיב (כפתור-ההרצה נשמר, מיושר לקצה בתצוגה המלאה). tsc + eslint ירוקים. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -184,12 +184,28 @@ export default function CaseDetailPage({
|
|||||||
</Accordion>
|
</Accordion>
|
||||||
{/* מה קרה בדיון — comparative analysis of the hearing protocol vs.
|
{/* מה קרה בדיון — comparative analysis of the hearing protocol vs.
|
||||||
the written pleadings (#226). Sits below the aggregated arguments
|
the written pleadings (#226). Sits below the aggregated arguments
|
||||||
because it speaks to those same arguments in their oral gloss. */}
|
because it speaks to those same arguments in their oral gloss.
|
||||||
<Card className="bg-surface border-rule shadow-sm">
|
Collapsed by default, mirroring the "by-party" accordion above. */}
|
||||||
<CardContent className="px-6 py-5">
|
<Accordion type="single" collapsible>
|
||||||
<HearingChangesPanel caseNumber={caseNumber} />
|
<AccordionItem
|
||||||
</CardContent>
|
value="hearing"
|
||||||
</Card>
|
className="overflow-hidden rounded-xl border border-rule bg-surface shadow-sm"
|
||||||
|
>
|
||||||
|
<AccordionTrigger className="px-6 py-4 hover:no-underline">
|
||||||
|
<span className="flex flex-1 flex-col items-start">
|
||||||
|
<span className="text-navy text-[0.95rem] font-bold">
|
||||||
|
מה קרה בדיון
|
||||||
|
</span>
|
||||||
|
<span className="text-ink-muted text-[0.78rem]">
|
||||||
|
השוואת הטענות בכתב מול הדיון בעל-פה — מה התחזק ומה נטען לראשונה
|
||||||
|
</span>
|
||||||
|
</span>
|
||||||
|
</AccordionTrigger>
|
||||||
|
<AccordionContent className="px-6 pb-5 pt-0">
|
||||||
|
<HearingChangesPanel caseNumber={caseNumber} />
|
||||||
|
</AccordionContent>
|
||||||
|
</AccordionItem>
|
||||||
|
</Accordion>
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
|
||||||
{/* אימות פסיקה — per-argument supporting-precedent verify gate (#154),
|
{/* אימות פסיקה — per-argument supporting-precedent verify gate (#154),
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ import {
|
|||||||
HelpCircle,
|
HelpCircle,
|
||||||
Link2,
|
Link2,
|
||||||
Loader2,
|
Loader2,
|
||||||
MessageSquareText,
|
|
||||||
Plus,
|
Plus,
|
||||||
RotateCw,
|
RotateCw,
|
||||||
Sparkles,
|
Sparkles,
|
||||||
@@ -202,20 +201,6 @@ export function HearingChangesPanel({ caseNumber }: HearingChangesPanelProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="space-y-4">
|
<div className="space-y-4">
|
||||||
<div className="flex flex-wrap items-start justify-between gap-3">
|
|
||||||
<div>
|
|
||||||
<h2 className="text-navy flex items-center gap-2 text-base font-semibold">
|
|
||||||
<MessageSquareText className="text-gold-deep size-5" aria-hidden />
|
|
||||||
מה קרה בדיון
|
|
||||||
</h2>
|
|
||||||
<p className="text-ink-muted mt-0.5 max-w-2xl text-xs leading-relaxed">
|
|
||||||
השוואה בין הטענות בכתב לבין מה שנטען בדיון בעל-פה — אילו טענות התחזקו
|
|
||||||
ואילו נטענו לראשונה, כדי שהדיון (בלוק י) יתייחס לגלגול העדכני.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
{runButton}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{isPending ? (
|
{isPending ? (
|
||||||
<div className="space-y-2">
|
<div className="space-y-2">
|
||||||
<Skeleton className="h-20 w-full" />
|
<Skeleton className="h-20 w-full" />
|
||||||
@@ -236,6 +221,7 @@ export function HearingChangesPanel({ caseNumber }: HearingChangesPanelProps) {
|
|||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<>
|
<>
|
||||||
|
<div className="flex justify-end">{runButton}</div>
|
||||||
{/* hearing header strip */}
|
{/* hearing header strip */}
|
||||||
{header && (
|
{header && (
|
||||||
<div className="bg-parchment border-rule rounded-lg border px-5 py-4 shadow-sm">
|
<div className="bg-parchment border-rule rounded-lg border px-5 py-4 shadow-sm">
|
||||||
|
|||||||
Reference in New Issue
Block a user