fix(precedents): פיצול תג-הלכות ל-מאושר/ממתין/נדחה + הדגשת שורות-טיפול
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 6s
All checks were successful
G12 Leak-Guard / leak-guard (pull_request) Successful in 6s
התג בספריית-הפסיקה הציג "approved/total" — total כלל גם הלכות שנדחו, כך ש-17/27 נקרא כאילו 10 ממתינות בעוד שבפועל הן נדחו. כעת: - backend: list_external_case_law מחזיר pending_count (pending_review+deferred) ו-rejected_count לצד approved_count (approved+published). מקור-אמת אחד לספירה, אותה שאילתה — אין מסלול מקבילי (G2). - UI: התג מציג 17/0/10 (מאושר/ממתין/נדחה), צבעי-משמעות, tooltip מפרש. ממתין נצבע אדום-בולט רק כשגדול מ-0. - UI: שורה עם הלכות ממתינות (pending_count>0) מקבלת רקע אדמדם דרך rowClassName() — חל על שורות פסיקה ועל שורות ועדות-ערר. Invariants: G2 (ספירה ממקור-אמת יחיד, ללא מסלול מקבילי). שינוי-UI ויזואלי לפי אפיון מפורש של היו"ר (שער-עיצוב). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -57,6 +57,8 @@ export type Precedent = {
|
||||
created_at: string;
|
||||
halachot_count: number;
|
||||
approved_count: number;
|
||||
pending_count: number;
|
||||
rejected_count: number;
|
||||
};
|
||||
|
||||
export type Halacha = {
|
||||
|
||||
Reference in New Issue
Block a user