From 6b85d30c5cd7248db2226531e57d47ff7b46fcdc Mon Sep 17 00:00:00 2001 From: Jinwoo-H Date: Tue, 5 May 2026 14:15:44 -0400 Subject: [PATCH] fix(resource-usage): friendly label in kill-confirm dialog MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The kill-confirm dialog showed the raw session ID (uuid@@worktreeId@@absolute-path), which overflowed the dialog because UUIDs/paths have no break points and isn't actionable for the user anyway — they don't recognize their terminals by GUID. Use session.label (e.g. "Terminal 2") and put it directly in the dialog title so the body copy stays short and readable: "Kill Terminal 2? Force-quits this terminal. Any unsaved work in the pane is lost." Co-authored-by: Orca --- .../status-bar/ResourceUsageStatusSegment.tsx | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/src/renderer/src/components/status-bar/ResourceUsageStatusSegment.tsx b/src/renderer/src/components/status-bar/ResourceUsageStatusSegment.tsx index 52fc0c3aedc..91da475cd11 100644 --- a/src/renderer/src/components/status-bar/ResourceUsageStatusSegment.tsx +++ b/src/renderer/src/components/status-bar/ResourceUsageStatusSegment.tsx @@ -1253,11 +1253,16 @@ export function ResourceUsageStatusSegment({ }} > - Kill this session? + + Kill{' '} + + {killConfirm?.label ?? 'this session'} + + ? + - Force-quits{' '} - {killConfirm?.sessionId}. Any - unsaved work in that pane is lost. This can't be undone. + Force-quits this terminal. Any unsaved work in the pane is lost. This can't be + undone.