Files
aragrp/components/playground/playground-output-card.tsx
T
alirez.brandCursor a47ec493c5 feat: add version history drawer with release notes
Introduce a footer-triggered Version History drawer with categorized release notes, hardcoded release data, and semver tracking at v0.3.0. Also ships blog blockquote/table styling, site-wide typography, home page image updates, header refinements, and related bug fixes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-02 02:46:20 +03:30

42 lines
1.1 KiB
TypeScript

"use client";
import { Braces } from "lucide-react";
import {
Card,
CardContent,
CardDescription,
CardHeader,
CardTitle,
} from "@/components/ui/card";
import { PlaygroundOutputPanel } from "./playground-output-panel";
import type { InteractionLog } from "./types";
interface PlaygroundOutputCardProps {
latestLog: InteractionLog | null;
logs: InteractionLog[];
}
export function PlaygroundOutputCard({ latestLog, logs }: PlaygroundOutputCardProps) {
return (
<Card className="h-full">
<CardHeader className="pb-4">
<div className="flex items-center gap-2">
<div className="flex size-8 items-center justify-center rounded-lg bg-primary/10 text-primary">
<Braces className="size-4" aria-hidden />
</div>
<div>
<CardTitle>خروجی ساختاریافته</CardTitle>
<CardDescription>
پیش‌نمایش آخرین تعامل و لاگ اجرا
</CardDescription>
</div>
</div>
</CardHeader>
<CardContent>
<PlaygroundOutputPanel latestLog={latestLog} logs={logs} />
</CardContent>
</Card>
);
}