You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Say why to move projects in the WSL move dialog - #37390
The "Move projects to the host" dialog explained what happens during a move but never said why you would want to. It now opens with one plain sentence saying why, and how to undo it.
What Changed
Before, the dialog started with:
Your files stay where they are. Terminals restart in the same folder; their output, shell history and agent conversations are kept.
After, one line comes first:
Work then runs inside Linux, next to your files, so terminals, Git and file changes are faster and more reliable. Your projects don't change, and you can move any project back with "Use on this computer again".
The rest of the dialog is unchanged and stays compact. The same dialog is used by both entry points, Settings → Remote Orca Servers → "Move projects from this distro…" and the in-context offers that lead into it, so both get the line. The new string is translated into all ten shipped languages, quoting each language's existing "Use on this computer again" label.
Why
Users being asked to move projects had no stated reason to do it. The sentence is deliberately plain: we measured terminals opening about 3.5× faster on a WSL host, but we keep numbers out of the UI because they vary by machine. The way back is the existing "Use on this computer again" action, named exactly as it appears in the sidebar.
The add-project "Run as a host" offer already has its own one-line reason, and another change is reworking that flow, so its text is left alone here.
Linked Issue
Maintainer change, no issue.
Visual Proof
The move dialog only mounts on Windows with WSL hosts enabled, so it cannot open in a macOS dev build. Screenshots are the dialog body rendered from the real component and placed in the running dev app (real styles, hidden window, CDP screenshot). They will be attached in a comment.
Testing
I manually tested these changes locally (rendered as described above; not on Windows)
Automated tests added/updated
WslMoveDialog.test.tsx: the preview shows the reason line and the "Use on this computer again" way back, with no numbers in it.
pnpm tc, pnpm typecheck:ci, pnpm lint (includes check:code-quality:changed, oxlint and the localization checks), and the localization catalog, runtime-catalog and protected-copy checks.
Risk
Level: Low
Copy only: one new string and one paragraph. Nothing about the move itself changes. A plain revert backs it out.
Review
Agent skill upstream boundary
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
I stated the risk: what could break, for whom, and how to back it out
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
Walkthrough
The WSL move preview now displays a translated explanation of Linux-based work, project preservation, and the option to move projects back. Locale updates also remove a duplicate Spanish translation and distinguish browser-login warnings in French. A test checks that the explanation mentions working inside Linux and the return option, with no digits.
Merge Risk: Minimal · up to 4d662
The supplied evidence identifies no issue that needs to be fixed before merging the dialog-copy change.
Pre-merge checks: 4 · 1
Failed checks: 1 warning
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed checks: 4 passed
Check name
Status
Explanation
Title check
The title clearly and concisely describes the primary change: adding an explanation of why users should move projects in the WSL move dialog.
Description check
The description is complete and focused. It explains the user-facing change, rationale, testing, risk, scope, translations, and rollback plan. Visual proof is described as pending in a comment, and th…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Description check
Explanation
The description is complete and focused. It explains the user-facing change, rationale, testing, risk, scope, translations, and rollback plan. Visual proof is described as pending in a comment, and the maintainer exception explains why no linked issue is provided.
Full details: Docstring Coverage
Explanation
Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 1 functions across 2 files. (1 skipped: 1 unsupported.)
Resolution
Write docstrings for the functions missing them to satisfy the coverage threshold.
Finishing Touches
Generate docstrings
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
The test title says it verifies that projects keep working as before, but the assertions only check the Linux rationale, the return action, and the absence of digits. The test still passes if Your projects don’t change is removed from the paragraph. Add an assertion for that clause. (raw.githubusercontent.com)
Suggested assertion
expect(why).toContain('“Use on this computer again”')
+ expect(why).toContain('Your projects don’t change')
// Plain claims only: no measured numbers in the copy.
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: c1424301-d038-4f4d-b1ed-e36ec3e790a0
Commits
Reviewing files that changed from the base of the PR and between 5c27709 and 46004ff.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 1 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
The "Move projects to the host" dialog explained what happens during a move but never said why you would want to. It now opens with one plain sentence saying why, and how to undo it.
What Changed
Before, the dialog started with:
After, one line comes first:
The rest of the dialog is unchanged and stays compact. The same dialog is used by both entry points, Settings → Remote Orca Servers → "Move projects from this distro…" and the in-context offers that lead into it, so both get the line. The new string is translated into all ten shipped languages, quoting each language's existing "Use on this computer again" label.
Why
Users being asked to move projects had no stated reason to do it. The sentence is deliberately plain: we measured terminals opening about 3.5× faster on a WSL host, but we keep numbers out of the UI because they vary by machine. The way back is the existing "Use on this computer again" action, named exactly as it appears in the sidebar.
The add-project "Run as a host" offer already has its own one-line reason, and another change is reworking that flow, so its text is left alone here.
Linked Issue
Maintainer change, no issue.
Visual Proof
The move dialog only mounts on Windows with WSL hosts enabled, so it cannot open in a macOS dev build. Screenshots are the dialog body rendered from the real component and placed in the running dev app (real styles, hidden window, CDP screenshot). They will be attached in a comment.
Testing
I manually tested these changes locally (rendered as described above; not on Windows)
Automated tests added/updated
WslMoveDialog.test.tsx: the preview shows the reason line and the "Use on this computer again" way back, with no numbers in it.pnpm tc,pnpm typecheck:ci,pnpm lint(includescheck:code-quality:changed, oxlint and the localization checks), and the localization catalog, runtime-catalog and protected-copy checks.Risk
Level: Low
Copy only: one new string and one paragraph. Nothing about the move itself changes. A plain revert backs it out.
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)