feat(ui): באדג'י synthesis/superseded + provenance ב-lessons-tab (#162) #352

Merged
chaim merged 1 commits from worktree-lessons-synthesis-badges into main 2026-06-28 22:59:55 +00:00
Owner

עוצב ואושר דרך שער-העיצוב (Claude Design — 12c-training-lessons.html, אישור חיים: navy מלא + provenance).

השינוי

  • lessons-tab.tsx: SOURCE_BADGE['synthesis'] = "סינתזה" (navy מלא — הלקח-המאוחד) · REVIEW_BADGE['superseded'] = "מוזג" (אפור-מעומעם, לא "נדחה"). שורות superseded מעומעמות (opacity-70).
  • provenance: לקח-על מציג "⤷ מוזג מ-N לקחים · דחייה תשחזר אותם".
  • backend: list_decision_lessons + _lesson_to_json מחזירים synthesized_from; training.ts DecisionLesson'synthesis'/'superseded' ל-unions + synthesized_from?: string[].

לפני כן הבאדג'ים נפלו ל-fallback ("פאנל"/"ממתין") — מוגן מקריסה אך מטעה; כעת מתויגים נכון. closes #162.

בדיקות

py_compile ✓ · leak-guard G12 ✓ · tsc --noEmit ✓.

🤖 Generated with Claude Code

עוצב ואושר דרך **שער-העיצוב** (Claude Design — `12c-training-lessons.html`, אישור חיים: navy מלא + provenance). ## השינוי - **`lessons-tab.tsx`:** `SOURCE_BADGE['synthesis']` = "סינתזה" (navy מלא — הלקח-המאוחד) · `REVIEW_BADGE['superseded']` = "מוזג" (אפור-מעומעם, לא "נדחה"). שורות `superseded` מעומעמות (opacity-70). - **provenance:** לקח-על מציג *"⤷ מוזג מ-N לקחים · דחייה תשחזר אותם"*. - **backend:** `list_decision_lessons` + `_lesson_to_json` מחזירים `synthesized_from`; `training.ts` `DecisionLesson` — `'synthesis'`/`'superseded'` ל-unions + `synthesized_from?: string[]`. לפני כן הבאדג'ים נפלו ל-fallback ("פאנל"/"ממתין") — מוגן מקריסה אך מטעה; כעת מתויגים נכון. **closes #162**. ## בדיקות `py_compile` ✓ · `leak-guard` G12 ✓ · `tsc --noEmit` ✓. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-28 22:59:43 +00:00
feat(ui): synthesis/superseded badges + merge provenance in lessons-tab (#162)
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 4s
Lint — undefined names / undefined-names (pull_request) Successful in 10s
987da57da4
עוצב ואושר דרך שער-העיצוב (Claude Design 12c-training-lessons.html).
- lessons-tab: SOURCE_BADGE['synthesis']="סינתזה" (navy מלא) · REVIEW_BADGE['superseded']="מוזג"
  (אפור-מעומעם, לא נדחה); שורות superseded מעומעמות (opacity).
- provenance: לקח-על מציג "⤷ מוזג מ-N לקחים · דחייה תשחזר אותם".
- backend: list_decision_lessons + _lesson_to_json מחזירים synthesized_from; training.ts
  DecisionLesson — 'synthesis'/'superseded' ל-unions + synthesized_from?: string[].

הבאדג'ים היו מוגנים-fallback קודם (ללא קריסה) — כעת מתויגים נכון. closes #162.

בדיקות: py_compile ✓ · leak-guard ✓ · tsc --noEmit ✓.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit 0f68cb2d0b into main 2026-06-28 22:59:55 +00:00
chaim deleted branch worktree-lessons-synthesis-badges 2026-06-28 22:59:55 +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#352