Skip to content

Conversation

@huynle
Copy link

@huynle huynle commented Jan 5, 2026

Summary

Improves the 'Open project' dialog search functionality to support direct path typing and dynamic subdirectory listing.

Changes

  • Frontend: Transform search results to match user input format (~/... or absolute paths)
  • Frontend: Add skipClientFilter prop to skip client-side fuzzy filtering for async searches
  • Backend: Accept directory parameter and dynamically list subdirectories when typing paths
  • Backend: Check disk for paths beyond pre-scanned depth

Problem Solved

Previously only scanned 2 levels deep from home. Now nested projects like ~/projects/hindsight/dev are discoverable by typing the path directly or browsing subdirectories.

Testing

  • Typing ~/projects/hindsight shows directory and its subdirectories
  • Typing ~/projects/hindsight/dev finds level 3+ directories
  • Absolute paths work correctly

huynle added 2 commits January 5, 2026 03:51
…listing

- Add support for typing absolute paths and ~/paths in project search
- Skip client-side fuzzy filtering for async directory searches
- Dynamically list subdirectories when typing directory paths
- Add directory parameter support to file search API endpoint
- Transform search results to match user's input format (~/... or /absolute/...)

Fixes issue where nested directories beyond 2 levels weren't searchable
@huynle huynle requested a review from adamdotdevin as a code owner January 5, 2026 12:42
@github-actions
Copy link
Contributor

github-actions bot commented Jan 5, 2026

The following comment was made by an LLM, it may be inaccurate:

No duplicates found.

The searches returned your PR (#6940) itself as the matching result, along with one unrelated PR about custom commands. No other open PRs are addressing similar functionality around:

  • Directory search with path completion
  • Subdirectory listing in project dialogs
  • Dynamic path-based project discovery

Your PR appears to be the only one tackling this feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant