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:
denshooter
2026-02-18 12:32:22 +01:00
parent a34d406375
commit 2fb6dd7279
3 changed files with 28 additions and 23 deletions
+2 -2
View File
@@ -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') {