fix: auto-approve clean content, fix AI moderation, show all contributions
- Auto-approve: clean submissions now default to 'approved' (not 'pending') - Switch AI model from qwen3:4b to llama3.2 (qwen3 writes to thinking field, response always empty) - AI now correctly flags spam, nonsense, and irrelevant content - Admin: show all contribution types including timeline (was filtering them out) - Add FamilyUploadSection to public page (was imported but never rendered) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -1401,8 +1401,8 @@ export default function AdminPage() {
|
||||
<p className="text-warm-brown-light text-sm italic font-lora">Keine Beiträge.</p>
|
||||
) : (
|
||||
(() => {
|
||||
// Filter contributions - exclude timeline type (those go to timeline section)
|
||||
let filtered = timelineContributions.filter(c => c.type !== 'timeline')
|
||||
// Show all contribution types
|
||||
let filtered = [...timelineContributions]
|
||||
if (contributionFilter === 'review') {
|
||||
filtered = filtered.filter(c => c.status === 'pending' || c.status === 'flagged')
|
||||
} else if (contributionFilter !== 'all') {
|
||||
|
||||
Reference in New Issue
Block a user