import Link from "next/link"; import { Plus } from "lucide-react"; import { listOtherProjects, listUserProjects } from "@peppa/core"; import { ProjectList } from "@/components/cards"; import { Flash, PageHeader, Section } from "@/components/common"; import { Button } from "@/components/ui/button"; import { Workspace } from "@/components/Workspace"; import { requireUser } from "@/lib/auth"; import { db } from "@/lib/db"; export default async function Projects({ searchParams }: { searchParams: Promise<{ error?: string }> }) { const user = await requireUser(); const { error } = await searchParams; const [projects, others] = await Promise.all([listUserProjects(db, user.id), listOtherProjects(db, user.id)]); return ( Новый проект } > Свои и общие проекты: доска стори, код, PR, релизы, ошибки из прода, участники. {others.length > 0 && (

Видны вам как суперадмину. Вопросы агентов и уведомления этих проектов к вам не приходят.

)}
); }