Add user moderation, matches, and photo review pages
- New "همه کاربران" page: searchable/paginated full user list with block/unblock/report actions and report-count badges. - User detail page gained block/unblock/report buttons, a report history section, and a recent-activity panel (via the backend's per-user monitoring filter). - New "رفقا" page listing every match across the app. - New "نظارت بر عکسها" page: grid of every uploaded photo with uploader info and a delete action, for content review without going profile-by-profile.
This commit is contained in:
@@ -9,6 +9,9 @@ import {
|
||||
LogOut,
|
||||
Heart,
|
||||
UserCheck,
|
||||
Users,
|
||||
HeartHandshake,
|
||||
Images,
|
||||
Activity,
|
||||
Database,
|
||||
} from "lucide-react";
|
||||
@@ -18,6 +21,9 @@ import { useAuth } from "@/lib/auth-context";
|
||||
const navItems = [
|
||||
{ href: "/", label: "داشبورد", icon: LayoutGrid },
|
||||
{ href: "/users", label: "کاربران در انتظار تایید", icon: UserCheck },
|
||||
{ href: "/users/all", label: "همه کاربران", icon: Users },
|
||||
{ href: "/matches", label: "رفقا (مچها)", icon: HeartHandshake },
|
||||
{ href: "/photos", label: "نظارت بر عکسها", icon: Images },
|
||||
{ href: "/categories", label: "دستهبندیها و گزینهها", icon: ListTree },
|
||||
{ href: "/questions", label: "سوالات پروفایل", icon: MessageCircleQuestion },
|
||||
{ href: "/monitoring", label: "مانیتورینگ سرور", icon: Activity },
|
||||
|
||||
Reference in New Issue
Block a user