Skip to content

feat: add project command dialog with filesystem path autocomplete#1076

Draft
eggfriedrice24 wants to merge 12 commits intopingdotgg:mainfrom
eggfriedrice24:feat/project-command-dialog-autocomplete
Draft

feat: add project command dialog with filesystem path autocomplete#1076
eggfriedrice24 wants to merge 12 commits intopingdotgg:mainfrom
eggfriedrice24:feat/project-command-dialog-autocomplete

Conversation

@eggfriedrice24
Copy link
Contributor

@eggfriedrice24 eggfriedrice24 commented Mar 14, 2026

Summary

Adds a command dialog for adding projects via keyboard shortcut (Mod+Shift+K) with filesystem path autocomplete. Type a path, Tab to autocomplete directories, Enter to add the project.

This is marked as draft because I don't want to waste anyone's time with my opinions, but this UX makes me and several people I know significantly more productive when working with multiple projects. This also lays the groundwork for a command palette pattern that could later be extended for searching existing projects and selecting threads. Apologies if this feels like an opinionated addition, totally understand if it's not the direction you'd like to go. No hard feelings if this gets closed, just a personal preference that I thought was worth sharing. When you have time to consider it, I'd really appreciate a look.

if this gets approved, happy to add existing project search + selecting threads in same dialog

Changes

  • New filesystem.browse WS method that lists directories at a given partial path
  • project.addByPath keybinding command (Mod+Shift+K)
  • AddProjectDialog component using existing Command UI primitives
  • Integration in the chat route layout

How it works

  • Mod+Shift+K opens the dialog (works even with zero projects)
  • Typing a path (e.g. ~/) fetches matching directories from the server
  • Tab: drills into the highlighted directory (autocomplete)
  • Enter: adds the highlighted directory (or typed path) as a project
  • ArrowUp/ArrowDown: navigate the suggestions
  • Escape: closes the dialog
  • Supports ~ expansion, hidden file filtering, debounced requests

Test plan

  • Mod+Shift+K opens the dialog
  • Typing ~/ shows home directory contents
  • Tab completes the highlighted directory
  • Enter on highlighted directory adds it as a project
  • Enter on typed path adds it as a project
  • Escape closes the dialog
  • Existing file picker still works via sidebar button
2026-03-14.15-58-46.mp4

@coderabbitai
Copy link

coderabbitai bot commented Mar 14, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: ba9fdce3-bd80-4fbc-9aed-7de8e7ac6c5b

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
📝 Coding Plan
  • Generate coding plan for human review comments

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions bot added size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 14, 2026
@eggfriedrice24 eggfriedrice24 force-pushed the feat/project-command-dialog-autocomplete branch from 666e2be to 1d6d6ab Compare March 14, 2026 13:48
@eggfriedrice24 eggfriedrice24 changed the title feat(web): add project command dialog with filesystem path autocomplete feat: add project command dialog with filesystem path autocomplete Mar 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant