Uh oh!
There was an error while loading. Please reload this page.
feat(app): add open project button to directory dialog - #10364
Conversation
Thanks for your contribution! This PR doesn't have a linked issue. All PRs must reference an existing issue. Please:
See CONTRIBUTING.md for details. |
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found a highly related PR: Potential duplicate:
Related PRs (addressing similar functionality):
The PR #9796 seems most relevant as it directly addresses supporting absolute paths in the Open Project dialog, which overlaps with the current PR's goal. You may want to review that PR to ensure no duplicate effort. |
ff8bb31 to
bd94be6Comparef1ae801 to
08fa7f7CompareClosing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
Summary
This PR adds a feature to the "Open Project" dialog that allows users to explicitly open a directory path if it's not found in the search results.
Motivation
The current project search functionality has limitations where it only indexes files up to a specific nested level. This makes it impossible to find and open projects that are deeply nested or outside the scanned depth, effectively making them inaccessible via the UI search.
This change provides a fallback mechanism: if a user explicitly types a valid path (Unix or Windows style), they can open it directly even if the search indexer hasn't found it.
Changes
/,\or starts with~).Listcomponent to support custom empty messages.Verification
~/Dev/my-projectorC:\Dev\my-projectdisplays an "Open" button when no results are found.bun typecheck.Partially fixes#7577
Partially fixes#7111