From da860d9aef71178d1bfddbed332a451740d1e255 Mon Sep 17 00:00:00 2001 From: iasi Date: Thu, 12 Nov 2026 17:20:30 +0800 Subject: [PATCH] =?UTF-8?q?fix(git):=20keep=20the=20=E4=BB=93=E5=BA=93=20c?= =?UTF-8?q?aption=20beside=20the=20graph-toolbar=20picker?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The relocated picker dropped its visible δ»“εΊ“ caption, which left the first box of the scope row as a bare repository name. Restore the caption at the section-header type and pin it with an assertion. --- src/client/changes/GitGraphSection.tsx | 1 + src/client/changes/graph.module.css | 3 ++- tests/git-repo-switcher.spec.tsx | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/client/changes/GitGraphSection.tsx b/src/client/changes/GitGraphSection.tsx index 313f16a2..88f6370b 100644 --- a/src/client/changes/GitGraphSection.tsx +++ b/src/client/changes/GitGraphSection.tsx @@ -370,6 +370,7 @@ export function GitGraphSection({ scope, worktree, visible, refreshTick = 0, onP
{repoPicker && (