Repository navigation
fix(inbox): hide automatic WSL mount shortcuts - #3480
Merged
backnotprop merged 5 commits intoNov 21, 2026
Merged
Conversation
Owner
|
Thanks for picking up #3099, and for keeping the full drive list on the server and only dropping shortcut rows, so projects on mounted drives and typed paths keep working, on linked machines too. We kept the drive letters (/mnt/c, /mnt/d…) as shortcuts on purpose, since plenty of WSL users work on their Windows drives, and narrowed the hiding to the WSL system mounts (wsl, wslg, host). Merged. |
1 task
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Fixes #3099.
On WSL, New session's Start in menu and the folder browser's Places row include automatic Windows drive roots and WSL system mounts. These shortcuts crowd out the useful work locations.
Mark those mounts with
shortcut: false, and omit only their shortcut rows. Keep the complete mount list for registered project paths, disconnected-drive status and network-drive checks. Manual folder browsing remains available. User mounts such as/mnt/data,/mnt/c/backupand/media/me/USBstill get shortcuts; Linux outside WSL keeps its current behavior.The marker comes from the machine that owns the mount list and travels in the existing launch block, so the same filtering applies when choosing a folder on a linked machine. Older launch blocks without the marker retain their existing behavior.
Added regression cases for both WSL environment markers, preservation of mount metadata, non-WSL Linux, and the local/linked-machine folder pickers (including registered projects and typed mounted paths).
Validation: TypeScript syntax parsing of all eight changed files and
git diff --checkpassed. Tests, builds, browser checks and live linked-machine verification were not run; this change has only been statically checked.e2e: