From 7643e9d509dc5abec5da2fe90c7b05a6e9054bd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 30 Aug 2026 20:39:43 +0200 Subject: [PATCH] Style dashboard's Recent sessions as a real table Reuse SessionsTable (same component as the Sessions page) instead of a bespoke flex/hairline list, so status badges, replay/delete actions, and column layout match the rest of the app. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01WzyfRyA7h5rs5SCAahLAWd --- app/(app)/page.tsx | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/app/(app)/page.tsx b/app/(app)/page.tsx index da6f174..584afa0 100644 --- a/app/(app)/page.tsx +++ b/app/(app)/page.tsx @@ -2,6 +2,7 @@ import Link from "next/link"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; import { BrandMark } from "@/components/layout/BrandMark"; +import { SessionsTable } from "@/components/sessions/SessionsTable"; import { listSessions } from "@/lib/db/queries/sessions"; import { getSessionsSummary } from "@/lib/db/queries/stats"; @@ -55,21 +56,10 @@ export default async function DashboardPage() { - Recent sessions + Recent sessions - - {recentSessions.length === 0 &&

No sessions yet.

} - {recentSessions.map((s, i) => ( - - {i > 0 &&
} -
- {s.name ?? `Session #${s.id}`} - - {new Date(s.startedAt).toLocaleDateString()} - -
- - ))} + +