Repository navigation
Lower filter chip contrast to indicate read-only status - #21751
Conversation
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
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughThe active-filter row now displays a filter icon and keeps the “Scoped to” label screen-reader-only. Chips use compact text styling with dot separators, horizontal scrolling, reserved dismiss-icon space, truncation, and accent hover and focus backgrounds. English, Spanish, French, Japanese, Korean, and Simplified Chinese locale files add filter-related strings. French also adds “See more”. Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to This change restyles command-palette filter metadata and adds translations without an identified correctness, data, security, or availability risk. 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
Full details: Description checkExplanation The description explains the problem, solution, user impact, and scope. However, the required linked issue is missing, and the visual proof requirement is not satisfied for this UI change. Testing status is also incomplete because the manual-testing checkbox is unchecked and no verification results are provided.
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Important
The new localization key worktreeJumpPalette.filter.scopedTo is not in en.json, so the PR's verify:localization-catalog CI step fails (reproduced locally, exit 1). One-line fix below.
Reviewed changes
- Read-only chip restyle —
PaletteFilterChips.tsxchips go from bordered pills to muted text with a "Scoped to" prefix and·separators, matching the read-only scope intent. - Hover-revealed dismiss — the
Xisopacity-0and only appears on hover/focus, with its layout space reserved so the row does not shift. - Contrast inheritance — the container now carries
text-[11px] text-muted-foreground(the documented 11px meta pattern), and "Clear all" drops its duplicate text classes.
Automated review by Pullfrog.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
- Add ListFilter icon anchor for better discoverability - Improve filter chip button styling with better hover/focus states - Move label to screen reader only for cleaner interface
There was a problem hiding this comment.
Actionable comments posted: 2
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 8b2ce46a-b40b-4067-91b5-7ca81cd2e52b
📒 Files selected for processing (1)
src/renderer/src/components/cmd-j/PaletteFilterChips.tsx
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.
There was a problem hiding this comment.
Important
The localization key this PR introduces is still missing from en.json, so the static analysis job fails at Verify localization catalog. One-line fix inline.
Reviewed changes
- Filter indicator icon — added a
ListFilteranchor with ansr-only"Scoped to" label, replacing the previously visible label text. - Chip restyle — chip buttons now set
text-foregroundat rest withhover:bg-accent/focus-visible:bg-accent, and usepx-1. - Separators — chips are wrapped in keyed fragments with a
·separator rendered only between entries.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏
Refine filter chip styling with adjusted height, padding, and colors to de-emphasize read-only state. Add "scoped to" label and complete internationalization coverage across all locales.
There was a problem hiding this comment.
✅ No new issues found.
Both previously flagged blockers are fixed in 66da752: the chip is back to muted-at-rest contrast, and the missing localization key now resolves. verify:localization-catalog exits 0 and check:code-quality:changed reports 0 findings.
Reviewed changes
- Chip contrast restored — chip button returns to
text-muted-foregroundat rest withhover:text-foreground, so the read-only metadata framing now matches the PR title. - Chip metrics adjusted —
h-5/px-1back toh-6/px-1.5; the truncate span gainsmin-w-0. - Localization completed —
worktreeJumpPalette.filter.scopedToadded toen.jsonand translated in es/fr/ja/ko/zh; the fullfilterblock added to es/ja/ko/zh andseeMoreto fr.
DeepSeek Flash (free via Pullfrog for OSS) | 𝕏

Problem
Filter chips in the command palette were styled as high-contrast interactive pills, suggesting users could dismiss them. In reality, the scope is read-only metadata seeded from the sidebar—not a choice made in the palette. This misaligned visual affordance with actual behavior.
Solution
Restyle chips as minimal text-based metadata:
ELI5
Filter chips now look like information labels instead of buttons, because that's what they are. The UI still lets you clear all filters, but individual chips no longer pretend to be optional selections you made.
What Changed
PaletteFilterChips.tsx: Converted high-contrast pill-style buttons to minimal text-based display with hover-revealed dismiss affordance.
Why
Lower contrast and metadata labeling better communicate that filters are read-only scope information, not user-initiated selections. This frames the UI's actual purpose.
Linked Issue
Fixes #
Visual Proof
N/A: UI refinement visible only when running the app; no automated screenshot capability in this context.
Testing
Visual-only change; no new test coverage needed.
AI Disclosure
N/A
Review
Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdNotes
No cross-platform, SSH, mobile, or backward-compatibility impact. Purely a visual refinement.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)