Pre-convo UI (#3376)

This commit is contained in:
Jonathan Dobson
2025-09-05 10:08:11 -04:00
committed by GitHub
parent 115c46ff8b
commit 50e0597c84
9 changed files with 156 additions and 133 deletions

View File

@@ -11,9 +11,11 @@ import { cn } from "@/util/utils";
function OrgWalled({
children,
className,
hideTooltipContent,
}: {
children: React.ReactNode;
className?: string;
hideTooltipContent?: boolean;
}) {
const isSkyvernUser = useIsSkyvernUser();
@@ -35,9 +37,13 @@ function OrgWalled({
{children}
</div>
</TooltipTrigger>
<TooltipContent>
<p>This feature is only available to Skyvern organization members</p>
</TooltipContent>
{!hideTooltipContent && (
<TooltipContent>
<p>
This feature is only available to Skyvern organization members
</p>
</TooltipContent>
)}
</Tooltip>
</TooltipProvider>
);