From bfa174d6a81d85bd419c96ad934f6df53b623abd Mon Sep 17 00:00:00 2001
From: Jinjing <6427696+AmethystLiang@users.noreply.github.com>
Date: Sat, 19 Sep 2026 20:37:22 -0700
Subject: [PATCH] fix(cmd-j): lower filter chip contrast to indicate read-only
status
The scope is seeded from the sidebar, not chosen in the command palette, so the chips should read as metadata rather than action pills offering to undo an action the user never took.
- Redesign chips with reduced visual weight: no border, no background color
- Add "Scoped to" prefix and muted text color to clarify metadata role
- Separate chips with subtle dots instead of relying on spacing
- Hide dismiss icon (X) until hover/focus to further de-emphasize the action
---
.../components/cmd-j/PaletteFilterChips.tsx | 55 ++++++++++++-------
1 file changed, 35 insertions(+), 20 deletions(-)
diff --git a/src/renderer/src/components/cmd-j/PaletteFilterChips.tsx b/src/renderer/src/components/cmd-j/PaletteFilterChips.tsx
index 1ac3e71e989..e3777f89111 100644
--- a/src/renderer/src/components/cmd-j/PaletteFilterChips.tsx
+++ b/src/renderer/src/components/cmd-j/PaletteFilterChips.tsx
@@ -45,32 +45,47 @@ export default function PaletteFilterChips({
}
return (
-
+ // Why: the scope is seeded from the sidebar, not chosen here, so it reads as metadata
+ // rather than as pills offering to undo an action the user never took.
+
+
+ {translate('worktreeJumpPalette.filter.scopedTo', 'Scoped to')}
+
{/* Why: horizontal scroll keeps every chip reachable without a hard +N dead-end. */}
-