fix(graph): רצפת מסנן-השנה ל-1980 + תקרה דינמית #316

Merged
chaim merged 1 commits from worktree-graph-year-floor into main 2026-06-20 14:36:30 +00:00
Owner

מה

מסנן "משנה / עד שנה" בדף /graph היה קבוע-בקוד ל-1994–2026, כך שפסיקה מתוארכת מתחת ל-1994 לא הייתה נגישה לסינון.

לאחר מילוי תאריכי-החלטה (משיכת פסקי-עליון חסרים + תאריכים מהיו"ר), בקורפוס יש כעת פסיקה מ-1982 (ע"א 725/81), 1988 (910/86) ו-1990 (בג"ץ 1578/90) — שלושתן נחסמו מהמסנן.

השינוי

  • רצפה → 1980 (מכסה את הקדום ביותר).
  • תקרה → השנה הנוכחית דרך getFullYear() — לא תזדקן (היה 2026 קבוע).
  • קובץ יחיד: web-ui/src/components/graph/graph-filter-panel.tsx.

Invariants

  • G2 — אין מסלול-נתונים מקביל: אותם פרמטרי year_from/year_to ל-/api/graph/corpus, רק טווח-הבחירה ב-UI הורחב.
  • INV-IA/INV-UI — מקור-אמת יחיד נשמר; אין שינוי ויזואלי (טווח-אופציות בלבד) → נכלל בחריג שער-העיצוב (לוגיקה/נתון בלבד).
  • ללא נגיעה ב-backend / spec / Paperclip.

בדיקות

  • tsc --noEmit
  • eslint (הקובץ)
  • build מלא רץ ב-CI (symlink node_modules שובר Turbopack ב-worktree).
## מה מסנן "משנה / עד שנה" בדף `/graph` היה קבוע-בקוד ל-1994–2026, כך שפסיקה מתוארכת מתחת ל-1994 לא הייתה נגישה לסינון. לאחר מילוי תאריכי-החלטה (משיכת פסקי-עליון חסרים + תאריכים מהיו"ר), בקורפוס יש כעת פסיקה מ-1982 (`ע"א 725/81`), 1988 (`910/86`) ו-1990 (`בג"ץ 1578/90`) — שלושתן נחסמו מהמסנן. ## השינוי - רצפה → 1980 (מכסה את הקדום ביותר). - תקרה → השנה הנוכחית דרך `getFullYear()` — לא תזדקן (היה 2026 קבוע). - קובץ יחיד: `web-ui/src/components/graph/graph-filter-panel.tsx`. ## Invariants - **G2** — אין מסלול-נתונים מקביל: אותם פרמטרי `year_from`/`year_to` ל-`/api/graph/corpus`, רק טווח-הבחירה ב-UI הורחב. - **INV-IA/INV-UI** — מקור-אמת יחיד נשמר; אין שינוי ויזואלי (טווח-אופציות בלבד) → נכלל בחריג שער-העיצוב (לוגיקה/נתון בלבד). - ללא נגיעה ב-backend / spec / Paperclip. ## בדיקות - `tsc --noEmit` ✅ - `eslint` (הקובץ) ✅ - build מלא רץ ב-CI (symlink node_modules שובר Turbopack ב-worktree).
chaim added 1 commit 2026-06-20 14:36:21 +00:00
fix(graph): lower year-filter floor to 1980, dynamic ceiling
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 4s
Lint — undefined names / undefined-names (pull_request) Successful in 10s
9d4960f28f
The /graph "משנה / עד שנה" dropdown was hardcoded to 1994–2026, so dated
precedents below 1994 were unreachable by the year filter. After backfilling
decision dates, the corpus now has precedents from 1982 (ע"א 725/81), 1988
(910/86) and 1990 (בג"ץ 1578/90).

Floor → 1980 (covers the oldest); ceiling → current year via getFullYear()
so the range never ages out. Pure UI-logic change — same year_from/year_to
params, no new data path (G2), no backend touch.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit ad29f6033f into main 2026-06-20 14:36:30 +00:00
chaim deleted branch worktree-graph-year-floor 2026-06-20 14:36:30 +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#316