Skip to content

fix(app): browse subfolders in the open project dialog - #51533

Open
tathagat11 wants to merge 3 commits into
anomalyco:devfrom
tathagat11:browse-subfolders
Open

tathagat11 wants to merge 3 commits into
anomalyco:devfrom
tathagat11:browse-subfolders

Conversation

@tathagat11

@tathagat11 tathagat11 commented Sep 26, 2026 •

Copy link
Copy Markdown

Issue for this PR

Closes #42784

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

The web "Add project" dialog lists only the direct children of the home directory. Subfolders can only be reached through the Tab autocomplete, which isn't discoverable.

This adds pointer navigation:

  • a chevron on each folder row enters that folder (clicking the row still selects it)
  • an up button next to the search box returns to the parent, and is disabled at the root

The current-directory logic is a pure helper (pickerBrowseDirectory) with unit tests, so the up button stays disabled for plain searches, and paths like ~, /, C:/, and UNC shares are handled. Builds on the auto-closed #42786.

How did you verify your code works?

  • bun typecheck in packages/app
  • bun test in packages/app (725 tests pass, including new directory-picker cases)
  • Manually clicked through the Add project dialog in the web app

Screenshots / recordings

Before (no chevrons — row click selects immediately):
screenshot-2026-09-26_22-52-54

After (chevron + up button; chevron darkens on hover):
screenshot-2026-09-26_22-51-59
screenshot-2026-09-26_22-53-47

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

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

@tathagat11

Copy link
Copy Markdown
Author

Tested locally with new version merge, same tests added earlier still apply

This branch has not been deployed

No deployments
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.

Cannot browse into subfolders in the Add project dialog (web UI)

1 participant