"use client"; // The team-level "group apps" drawer — reuses the slide-out shell, but instead // of one agent's computer it lists the apps shared by the whole team // (cluster / wiki / VoIP / Slack …). import { BookOpen, Boxes, FolderClosed, MessageSquare, Phone } from "lucide-react"; import type { DemoApp, DemoTeam } from "@/lib/dashboard-demo"; const mono = "'JetBrains Mono', ui-monospace, monospace"; function icon(kind: DemoApp["kind"]) { switch (kind) { case "cluster": return ; case "wiki": return ; case "voip": return ; case "slack": return ; default: return ; } } export function TeamAppsDrawer({ team, onClose }: { team: DemoTeam; onClose: () => void }) { return (
{team.name} · Shared apps
● enabled for {team.agents.length} members
GROUP APPLICATIONS
{team.groupApps.map((a) => (
{icon(a.kind)} {a.name} enabled
))}
+ Enable an app for the team
); }