Skip to content

fix(app): use server directory in project picker on Windows - #50193

Closed
BoYanZh wants to merge 1 commit into
anomalyco:devfrom
BoYanZh:picker-server-directory
Closed

BoYanZh wants to merge 1 commit into
anomalyco:devfrom
BoYanZh:picker-server-directory

Conversation

@BoYanZh

@BoYanZh BoYanZh commented Sep 20, 2026

Copy link
Copy Markdown

Fixes #43173 on Windows: the Web Open project picker anchored to the OS home directory instead of the server/current directory because both dialogs preferred \sync.data.path.home\ over \sync.data.path.directory.\n\n- Add
esolvePickerStart()\ in \directory-picker-domain.ts: explicit start > server directory > home > fallback directory > fallback home\n- Use it in \dialog-select-directory.tsx\ and \dialog-select-directory-v2.tsx\ (also generalize V1 \missingHome\ to \missingBase)\n- Extend \directory-picker-domain.test.ts: start precedence with Windows home-vs-directory, nested Windows descent (Desktop > Programs > repos > ApexLayer), absolute drive input, drive-root handling, backslash normalization, cross-drive roots\n\nValidation: reproduced pre-fix in browser (picker listed home dotfolders, ApexLayer search returned home-wide hits); post-fix dev UI defaults to the server dir, plain-text and absolute-path search find .../repos/ApexLayer, selection opens it, and \E:/\ lists live. Domain tests 26/26, full app suite 727/727, prettier clean, oxlint 0 errors.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Sep 20, 2026
@github-actions

Copy link
Copy Markdown
Contributor

This PR doesn't fully meet our contributing guidelines and PR template.

What needs to be fixed:

  • PR description is missing required template sections. Please use the PR template.

Please edit this PR description to address the above within 2 hours, or it will be automatically closed.

If you believe this was flagged incorrectly, please let a maintainer know.

@github-actions

Copy link
Copy Markdown
Contributor

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

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically closed because it was not updated to meet our contributing guidelines within the 2-hour window.

Feel free to open a new pull request that follows our guidelines.

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.

Bug: folder picker search anchored to home dir; cannot find projects on other drives (Windows)

1 participant