Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Cursor Bugbot has reviewed your changes and found 3 potential issues.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit 31ad61b. Configure here.
ApprovabilityVerdict: Needs human review This PR adds a new user-facing feature (Tab completion for path picking) that introduces new interactive behavior. While well-tested and self-contained, new UI capabilities warrant human review to ensure the interaction model meets expectations. You can customize Macroscope's approvability policy. Learn more. |
|
Closing as part of backlog cleanup: this PR is stale, currently conflicting with main, has no approval, and has not had active remediation for 30+ days. If the change is still relevant, please rebase onto current main and request reopening or submit a focused current diff. Thank you for the contribution. |

What changed
resolveBrowseTabCompletion.process.execPaththrough shell mode, which broke onC:\Program Files\....Fixes #2160.
Why
The Add Project path picker already provides directory suggestions, but pressing Tab moved focus out of the input. This makes keyboard-only path entry awkward compared with normal shell completion.
With this change, users can type paths like:
~/Dev+ Tab ->~/Development/~/Development/co+ Tab ->~/Development/codex/Validation
bun fmtbun lintbun typecheckbun run buildbun run test src/components/CommandPalette.logic.test.tsNote
Low Risk
UI-only path completion plus a targeted Windows build spawn change; no auth, data, or server API surface changes.
Overview
Tab completion in the command palette’s Add Project path browse input: pressing Tab (without Shift) completes directory names—either entering a single/highlighted match or extending the typed leaf to the longest common prefix across multiple matches. Logic lives in new
resolveBrowseTabCompletionandcompleteBrowsePathFromTabin the palette UI.Tests cover the resolver cases and an end-to-end browser flow (
~/Dev→~/Development/, then intocodex/).Windows dev/build: the server CLI
buildsubcommand no longer spawnsprocess.execPathwith shell mode, fixing failures when Node lives under paths with spaces (e.g.C:\Program Files\...).Reviewed by Cursor Bugbot for commit 48df459. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Add Tab completion to the command palette directory path picker
resolveBrowseTabCompletionin CommandPalette.logic.ts that returns a structured action: enter a single/preferred directory, or replace the current leaf with the longest common prefix across matches.completeBrowsePathFromTabin CommandPalette.tsx, which applies the resolved action and refreshes browse results.Macroscope summarized 48df459.