chore: dev dep @playwright/test

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ahmed mohammed
2026-09-22 08:32:40 +03:00
co-authored by Claude Opus 4.7
parent ac4cbdd9e6
commit ee4a88e499
13 changed files with 228 additions and 4 deletions
+15
View File
@@ -0,0 +1,15 @@
import { listAnalyses } from "@/lib/db";
import { HistoryItem } from "./history-item";
export function Rail({ userId }: { userId: string }) {
const rows = listAnalyses(userId);
return <>
<a href="/app" className="label" style={{ textDecoration: "none", color: "var(--qai-accent)" }}>qAI</a>
<p className="label">History · {rows.length}</p>
<ul style={{ listStyle: "none", padding: 0, margin: 0, display: "grid", gap: "var(--qai-space-s)" }}>
{rows.map((r) => <HistoryItem key={r.id} row={r} />)}
</ul>
<p className="label" style={{ marginTop: "auto" }}>
<a href="/settings" style={{ color: "var(--qai-ink-muted)" }}>Settings</a></p>
</>;
}