feat(case-ui): merge /compose editor into case tabs (X17 #3) #375

Merged
chaim merged 1 commits from worktree-compose-merge into main 2026-06-30 18:52:39 +00:00
Owner

מאחד את עורך-ההחלטה הנפרד (/compose) לתוך טאבי-התיק — אין יותר "תת-דף" (מוקאפ 18f). סדר-טאבים סופי תואם-זרימה: סקירה · טיעונים ועמדות · אימות פסיקה · ההחלטה · טיוטות והערות · סוכנים.

מה

  • PositionsPanel (חדש) — משטח-העריכה של היו"ר (טענות-סף + סוגיות SubsectionCard + ChairEditor + רקע + פסיקה-מצורפת + finish-rail), חולץ כלשונו מטאב "עמדות וטענות" שב-/compose. יורד רק ה-doc-strip (DocumentsPanel בסקירה הוא הבעלים היחיד — בלי כפילות).
  • טאב "טיעונים ועמדות" = PositionsPanel למעלה + LegalArgumentsPanel המאוגד-לפי-צד במתקפל מתחת.
  • "אימות פסיקה" הועלה לטאב-על משלו (CitationVerificationPanel) — לפני "ההחלטה" (INV-AH: מאמתים ואז כותבים).
  • "ההחלטה" נשאר עורך-הבלוקים היחיד — לא מוכפל יותר בין /compose לדף.
  • Tabs מבוקרים; ה-CTA "פתח עורך החלטה" מחליף לטאב ההחלטה במקום לנווט ל-route שנמחק.
  • route ‎/compose נמחק; טיפול-מיוחד ל-/compose ב-header-context הוסר.

Invariants

  • G2 — אין כפילות: עורך-בלוקים יחיד · מסמכים יחיד (סקירה) · אימות-פסיקה יחיד. אין מסלול מקביל.
  • שער-עיצוב: מוקאפ 18f מאושר ב-Claude Design X17.

בדיקות

tsc --noEmit · eslint (build מלא ב-CI).

🤖 Generated with Claude Code

מאחד את עורך-ההחלטה הנפרד (`/compose`) לתוך טאבי-התיק — אין יותר "תת-דף" (מוקאפ **18f**). סדר-טאבים סופי תואם-זרימה: סקירה · טיעונים ועמדות · אימות פסיקה · ההחלטה · טיוטות והערות · סוכנים. ## מה - **`PositionsPanel`** (חדש) — משטח-העריכה של היו"ר (טענות-סף + סוגיות SubsectionCard + ChairEditor + רקע + פסיקה-מצורפת + finish-rail), חולץ **כלשונו** מטאב "עמדות וטענות" שב-/compose. יורד רק ה-doc-strip (DocumentsPanel בסקירה הוא הבעלים היחיד — בלי כפילות). - **טאב "טיעונים ועמדות"** = PositionsPanel למעלה + LegalArgumentsPanel המאוגד-לפי-צד במתקפל מתחת. - **"אימות פסיקה"** הועלה לטאב-על משלו (CitationVerificationPanel) — **לפני** "ההחלטה" (INV-AH: מאמתים ואז כותבים). - **"ההחלטה"** נשאר עורך-הבלוקים היחיד — לא מוכפל יותר בין /compose לדף. - Tabs מבוקרים; ה-CTA "פתח עורך החלטה" מחליף לטאב ההחלטה במקום לנווט ל-route שנמחק. - **route ‎/compose נמחק**; טיפול-מיוחד ל-/compose ב-header-context הוסר. ## Invariants - **G2** — אין כפילות: עורך-בלוקים יחיד · מסמכים יחיד (סקירה) · אימות-פסיקה יחיד. אין מסלול מקביל. - שער-עיצוב: מוקאפ 18f מאושר ב-Claude Design X17. ## בדיקות `tsc --noEmit` ✅ · `eslint` ✅ (build מלא ב-CI). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-30 18:52:29 +00:00
feat(case-ui): merge /compose editor into case tabs (X17 #3)
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 4s
Lint — undefined names / undefined-names (pull_request) Successful in 10s
4d7e623607
Folds the standalone /compose decision-editor route into the main case page so
there is no more "sub-page" (mockup 18f), with the final 6-tab workflow order:
סקירה · טיעונים ועמדות · אימות פסיקה · ההחלטה · טיוטות והערות · סוכנים.

- New PositionsPanel — the chair's editing surface (threshold claims + issues
  SubsectionCards + ChairEditor + background prose + case precedents + finish
  rail), extracted verbatim from the former /compose "עמדות וטענות" tab. Drops
  only the doc-strip (the overview DocumentsPanel is the sole owner — no dup).
- "טיעונים ועמדות" tab = PositionsPanel above + the aggregated by-party
  LegalArgumentsPanel in a collapsible below.
- "אימות פסיקה" promoted to its own top-level tab (CitationVerificationPanel,
  was /compose tab 3); placed BEFORE "ההחלטה" — verify citations, then write
  (INV-AH: the writer cites only verified precedents).
- "ההחלטה" stays the single 12-block editor (DecisionBlocksPanel) — no longer
  duplicated between /compose and the case page.
- Tabs are now controlled; the "פתח עורך החלטה" CTA switches to the ההחלטה tab
  instead of navigating to the deleted route.
- /compose route deleted; header-context /compose special-case removed.

No duplication remains (G2): blocks editor single, docs single (overview),
citation-verify single. Design-gate: mockup 18f approved in Claude Design X17.
tsc --noEmit + eslint clean.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit b17a2e4997 into main 2026-06-30 18:52:39 +00:00
chaim deleted branch worktree-compose-merge 2026-06-30 18:52:39 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ezer-mishpati/legal-ai#375