import type { CloudStackPortfolio } from "@/api/cloud"; import { cn } from "@/lib/utils"; import { Button } from "./ui/button"; import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "./ui/dialog"; import { Tooltip, TooltipContent, TooltipTrigger } from "./ui/tooltip"; const label = "Slack the Paperclip team"; export function SidebarSlackFeedback({ feedback, className }: { feedback: NonNullable; className: string; }) { const triggerClass = cn("group flex size-8 shrink-0 items-center justify-center rounded-lg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring", className); const logo = ; return ( {label} Your private Slack channel {"message" in feedback ? feedback.message : "Open your shared channel to talk with the Paperclip team. If you still need to join, check your organization owner’s inbox for the Slack invitation."} {"href" in feedback ? ( ) : ( )} ); }