Merge pull request 'fix(precedents): החלטות ועדת ערר אינן מחייבות (is_binding=false)' (#29) from fix/committee-decisions-not-binding into main
All checks were successful
Build & Deploy / build-and-deploy (push) Successful in 43s

This commit was merged in pull request #29.
This commit is contained in:
2026-05-31 20:40:54 +00:00

View File

@@ -129,7 +129,8 @@ export function PrecedentUploadSheet({ open, onOpenChange }: Props) {
practice_area: practiceArea,
appeal_subtype: appealSubtype.trim(),
subject_tags: tags,
is_binding: isBinding,
// החלטות ועדת ערר אינן מהוות הלכה מחייבת לפי הגדרה (persuasive בלבד) — לעולם לא binding.
is_binding: false,
summary: headnote.trim(),
});
setTaskId(res.task_id);
@@ -329,12 +330,17 @@ export function PrecedentUploadSheet({ open, onOpenChange }: Props) {
placeholder="תקציר חופשי שיוצג ברשימה" disabled={isProcessing} dir="rtl" />
</div>
<label className="flex items-center gap-2 cursor-pointer">
<input type="checkbox" checked={isBinding}
<label className={`flex items-center gap-2 ${isCommittee ? "cursor-not-allowed opacity-60" : "cursor-pointer"}`}>
<input type="checkbox" checked={isCommittee ? false : isBinding}
onChange={(e) => setIsBinding(e.target.checked)}
disabled={isProcessing} />
disabled={isProcessing || isCommittee} />
<span className="text-sm">הלכה מחייבת</span>
</label>
{isCommittee && (
<p className="text-[0.72rem] text-ink-muted">
החלטות ועדת ערר אינן מהוות הלכה מחייבת ההלכות שיחולצו יסומנו כ&quot;משכנעת&quot; (persuasive).
</p>
)}
</div>
</details>