From a94f2f33b6956ebd3624ecf9b2695955b46c1493 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sun, 30 Aug 2026 21:07:18 +0200 Subject: [PATCH] Move status badge and duration next to the Replay button They now sit inline in the right-hand column alongside Replay instead of prefixing the left column's meta line, which now only shows the replay-lineage/play-count info when there is any. Co-Authored-By: Claude Sonnet 5 Claude-Session: https://claude.ai/code/session_01WzyfRyA7h5rs5SCAahLAWd --- app/(app)/sessions/[id]/page.tsx | 46 +++++++++++++++++--------------- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git a/app/(app)/sessions/[id]/page.tsx b/app/(app)/sessions/[id]/page.tsx index 805c9a1..afc16e8 100644 --- a/app/(app)/sessions/[id]/page.tsx +++ b/app/(app)/sessions/[id]/page.tsx @@ -38,31 +38,35 @@ export default async function SessionDetailPage({ params }: { params: Promise<{
-

- {detail.session.status} - · {formatDuration(detail.session.durationMs)} - {detail.session.kind === "replay" && detail.replayedFromName !== undefined && ( - <> · replayed from {detail.replayedFromName ?? `session #${detail.session.replayedSessionId}`} - )} - {detail.session.playCount > 0 && ( - <> - {" "} - · replayed {detail.session.playCount}× - {detail.session.lastPlayedAt && ` (last ${new Date(detail.session.lastPlayedAt).toLocaleString()})`} - - )} -

+ {(detail.session.kind === "replay" || detail.session.playCount > 0) && ( +

+ {detail.session.kind === "replay" && detail.replayedFromName !== undefined && ( + <>replayed from {detail.replayedFromName ?? `session #${detail.session.replayedSessionId}`} + )} + {detail.session.playCount > 0 && ( + <> + {detail.session.kind === "replay" && detail.replayedFromName !== undefined && " · "} + replayed {detail.session.playCount}× + {detail.session.lastPlayedAt && ` (last ${new Date(detail.session.lastPlayedAt).toLocaleString()})`} + + )} +

+ )} {detail.session.description && (

{detail.session.description}

)}
- {canReplay && ( - - )} +
+ {detail.session.status} + {formatDuration(detail.session.durationMs)} + {canReplay && ( + + )} +