fix(goldset): single view-mode filter (can't get stuck hiding untagged) #108

Merged
chaim merged 1 commits from worktree-goldset-filter-fix into main 2026-06-07 14:48:16 +00:00
Owner

משוב חיים — אחרי שקיבל את כל המלצות-ה-AI, "אי-הסכמות AI" ירד ל-0, כפתור הסינון נעלם בעוד הסינון נשאר פעיל → הרשימה התרוקנה ולא ראה את הלא-מסומנים.

החלפתי את שני הטוגלים בבורר-מצב יחיד הכל / לא תויגו / תויגו / ⚠ אי-הסכמות — בלעדי-הדדי, עם מונה חי, תמיד גלוי. אין מצב "תקוע", ו"לא תויגו" הופך את העבודה שנותרה לברורה. tsc --noEmit exit 0.

🤖 Generated with Claude Code

משוב חיים — אחרי שקיבל את כל המלצות-ה-AI, "אי-הסכמות AI" ירד ל-0, כפתור הסינון נעלם **בעוד הסינון נשאר פעיל** → הרשימה התרוקנה ולא ראה את הלא-מסומנים. החלפתי את שני הטוגלים בבורר-מצב יחיד **הכל / לא תויגו / תויגו / ⚠ אי-הסכמות** — בלעדי-הדדי, עם מונה חי, **תמיד גלוי**. אין מצב "תקוע", ו"לא תויגו" הופך את העבודה שנותרה לברורה. `tsc --noEmit` exit 0. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
chaim added 1 commit 2026-06-07 14:48:09 +00:00
The old independent toggles had a trap: clicking "אי-הסכמות AI" set a filter,
and once all disagreements were resolved the toggle button disappeared
(rendered only when count>0) while the filter stayed ON — so the list showed
zero items and the untagged ones were unreachable.

Replaced hideTagged + disagreeOnly with one mutually-exclusive segmented
control: הכל / לא תויגו / תויגו / ⚠ אי-הסכמות, each with a live count and always
visible. No stuck state; "לא תויגו" makes the remaining work obvious.

Verified: tsc --noEmit 0.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
chaim merged commit 9eaabffba4 into main 2026-06-07 14:48:16 +00:00
chaim deleted branch worktree-goldset-filter-fix 2026-06-07 14:48:17 +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#108