Review filters: fix AI filters not applying, tidy layout, reword labels #87
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Three review-page filter issues found during systems testing:
The AI filters don't apply. Selecting "show only AI-would-reject" (or "hide not-yet-classified") and clicking "Apply filters" still shows posts with "AI: OK" in the list — the filter conditions aren't reaching the query.
Layout. "Filter by stream" renders as a full-length dropdown, with the two AI checkboxes stacked underneath. Make the streams dropdown shorter and put the two checkboxes on the same line beside it.
Wording. The checkbox labels expose the code terms ("show only AI-would-reject", "hide not-yet-classified"). Reword them into human-friendly labels.
Plan of attack:
liveviews.py(ReviewLiveView): theshow_ai_reject/hide_unclassifiedvalues from the apply-filters action need to become SQLAlchemy conditions on the posts query (Post.ai_would_reject.is_(True)/Post.ai_would_reject.is_not(None)).Branch:
feat/issue-87-review-filter-fixes(offfeat/issue-80-collect).