feat(missing-precedents): accordion grouping by discovery source #312

Merged
chaim merged 1 commits from worktree-mp-accordion into main 2026-06-20 12:53:42 +00:00
Owner

מאושר ע"י חיים (Claude Design כרטיס 09). פיצול הטבלה השטוחה לאקורדיונים לפי מקור-הגילוי, כדי שפסיקות "צוטט ע"י דפנה" לא ייקברו בין 330 רשומות-היומון.

  • 3 סעיפי <details> בתוך טאב-הסטטוס הפעיל:
    • צוטט ע"י דפנה — רשומות עם יו"ר מהגשר (cited_by_chairs); פתוח כברירת-מחדל.
    • יומוןdiscovery_source='digest'; מכווץ.
    • אחר — כתב-טענות / ידני; מכווץ.
  • שורת-הטבלה חולצה ל-renderRow() ומשותפת לסעיפים; כותרת משותפת; קיבוץ ב-useMemo.
  • סעיפים ריקים מוסתרים; כותרת מציגה צ'יפ-מקור + מונה.

ללא שינוי backend (מקבץ על cited_by_chairs / discovery_source הקיימים). tsc --noEmit נקי.

Invariants: INV-IA* (משטח מוכוון-משימה) — UI בלבד.

🤖 Generated with Claude Code

מאושר ע"י חיים (Claude Design כרטיס 09). פיצול הטבלה השטוחה ל**אקורדיונים לפי מקור-הגילוי**, כדי שפסיקות "צוטט ע"י דפנה" לא ייקברו בין 330 רשומות-היומון. - 3 סעיפי `<details>` בתוך טאב-הסטטוס הפעיל: - **צוטט ע"י דפנה** — רשומות עם יו"ר מהגשר (`cited_by_chairs`); **פתוח כברירת-מחדל**. - **יומון** — `discovery_source='digest'`; מכווץ. - **אחר** — כתב-טענות / ידני; מכווץ. - שורת-הטבלה חולצה ל-`renderRow()` ומשותפת לסעיפים; כותרת משותפת; קיבוץ ב-`useMemo`. - סעיפים ריקים מוסתרים; כותרת מציגה צ'יפ-מקור + מונה. ללא שינוי backend (מקבץ על `cited_by_chairs` / `discovery_source` הקיימים). `tsc --noEmit` נקי. **Invariants:** INV-IA* (משטח מוכוון-משימה) — UI בלבד. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-20 12:53:30 +00:00
feat(missing-precedents): accordion grouping by discovery source
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 3s
Lint — undefined names / undefined-names (pull_request) Successful in 10s
979ec17a45
Chair-approved (Claude Design card 09): split the flat table into collapsible
sections by where the gap surfaced, so the high-value "cited by Dafna" rulings
aren't buried among the 330 digest rows.

- Three <details> accordion sections within the active status tab:
  · "צוטט ע״י דפנה" — rows with a resolved chair from the citation-graph bridge
    (cited_by_chairs non-empty); open by default.
  · "יומון" — discovery_source='digest'; collapsed.
  · "אחר" — party-cited / manual remainder; collapsed.
- Row JSX extracted to renderRow() and reused across sections; shared
  TableHeaderRow(); grouping via useMemo over the current result set.
- Empty sections are hidden; section header shows source chip + count.

No backend change — groups on existing cited_by_chairs / discovery_source.
tsc --noEmit clean.

Invariants: INV-IA* (task-oriented surface, single gate) — UI only.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit 25b41af6a3 into main 2026-06-20 12:53:42 +00:00
chaim deleted branch worktree-mp-accordion 2026-06-20 12:53:42 +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#312