GeezerVison is showing github.com — fix(web): show remote editors without changing the VS Code default by maria-rcks · Pull Request #25490 · pingdotgg/t3code
Conversation
maria-rcks
commented
Oct 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Problem
Remote web browsers offer only VS Code even though other supported editors can open SSH links. Expanding the list alone also changes the fresh default to Cursor.
Change
Offer the supported remote links in browsers and explicitly retain VS Code as their default. Saved selections still win. Desktop probing and local host editor choices keep their existing behavior. The current atom-based implementation needs one early return instead of the original hook's fallback/cache changes.
The expanded remote choices need Maria's approval; the default editor does not change.
Verification
- Passed: regression failed on current main because Cursor was absent, then passed with the fix.
- Passed: Blacksmith
vp run check:changed, including format, lint, knip, affected typechecks, and 20 tests.
- Passed: real Chrome client at a non-loopback origin, paired to the dev server. Expanded menu retains VS Code, selecting Zed persists after reload, and clicking Open requests the server-advertised
zed://ssh/ destination. Browser regression also covers the favorite-editor shortcut and local choices.
- Unverified: native editor window launch (no local editor handler), packaged Electron, mobile, and relay/tunnel transports. No provider, protocol, server, or mobile changes.



Takeover
Replaces https://git.cafe/pingdotgg/t3code/pulls/23572, with thanks to @ulughbeck for the original implementation.
Built with GPT-6.1-Sol in the Codex harness on T3 Code.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Oct 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between 28df7a2 and 4d67ae0.
Files selected for processing: 4
-
apps/web/src/components/chat/OpenInPicker.browser.test.tsx
apps/web/src/components/chat/OpenInPicker.tsx
apps/web/src/editorPreferences.ts
apps/web/src/remoteOpen.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
Walkthrough
-
The change updates preferred-editor selection and remote editor availability when no desktop bridge is present. Browser tests cover remote editor choices, URL opening, the retained shortcut, and local editor choices.
Changes: Remote editor picker
| Layer / File(s) |
Summary |
Editor defaults and availability apps/web/src/editorPreferences.ts, apps/web/src/remoteOpen.ts |
usePreferredEditor accepts an optional default editor. When no desktop bridge is available, remoteCapableEditorsAtom returns the remote-capable editor IDs without probing. |
Picker integration and browser coverage apps/web/src/components/chat/OpenInPicker.tsx, apps/web/src/components/chat/OpenInPicker.browser.test.tsx |
In browser remote-link mode, the picker uses VS Code as the fallback editor. Tests cover remote editor choices, opening remote URLs from the picker and retained shortcut, and local editor choices. |
Priority: Normal
Estimated code review effort: 2 (Simple) | ~10 minutes
Change: Bug fix
Possibly related PRs
Suggested reviewers: juliusmarminge, yash-singh1
Merge Risk: Minimal · up to 4d67a
-
The change is mergeable with no identified material risk; browser protocol handling remains dependent on installed editor registrations.
Pre-merge checks: 3 · 1
-
Failed checks: 1 warning
| Check name |
Status |
Explanation |
Resolution |
| Description check |
 |
The description follows the template's main sections: Problem, Change, Scope and approval, and Verification. The Problem and Change sections are clear and specific. Verification lists focused tests, a… |
Add a Scope and approval section. Link the triaged bug issue or discussion that covers this direction and scope. Include the maintainer approval comment from Maria, or link to it. If no prior issue exists, explain why this focused fix quali… |
Passed checks: 3 passed
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title follows the conventional commit format and names the main change: remote browsers now see the supported remote editors while VS Code stays the default. It matches the summarized changes in O… |
| 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: Title check
-
Explanation
The title follows the conventional commit format and names the main change: remote browsers now see the supported remote editors while VS Code stays the default. It matches the summarized changes in OpenInPicker, usePreferredEditor, and remoteCapableEditorsAtom. It is 66 characters, which is concise.
Full details: Description check
-
Explanation
The description follows the template's main sections: Problem, Change, Scope and approval, and Verification. The Problem and Change sections are clear and specific. Verification lists focused tests, a real-browser check, screenshots, and items not checked. The Scope and approval section is missing. It does not link a triaged bug issue or a maintainer discussion. It only says the expanded remote choices need Maria's approval, and it gives no approval comment or link. The description also references a takeover of a prior PR, which is useful context but does not replace the required scope approval.
Resolution
Add a Scope and approval section. Link the triaged bug issue or discussion that covers this direction and scope. Include the maintainer approval comment from Maria, or link to it. If no prior issue exists, explain why this focused fix qualifies for an exemption. Explain that the change is focused configuration of an existing capability and that its effects stay within that capability.
Finishing Touches
-
📝 Generate docstrings
-
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Approvability
Verdict: Approved at 4d67ae0
Macroscope's review found this PR approvable — This small web fix exposes existing remote editor links in browsers while keeping VS Code as the fresh default and preserving saved selections. Desktop probing, local editor behavior, and production contracts remain unchanged, with browser regression coverage added.
Notes:
- No code objects were reviewed. Approvability was decided on eligibility alone.
You can add or adjust custom eligibility rules. Learn more.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
+1, and one regression to fix before merge.
Use case. I run the T3 server on a headless Linux box and use the web client in a desktop browser on another machine. I need Open in to launch Cursor through Remote-SSH, and today the browser only offers VS Code. I patched my installed 0.1.9 web bundle to add Cursor to the browser list as a stopgap. This PR is the proper fix: VS Code stays the default and the editor I pick is remembered.
Regression on current main. The branch merges into origin/main (2b2d65d) without conflicts, but the new early return skips #27557. In a browser, remoteCapableEditorsAtom now returns REMOTE_CAPABLE_EDITOR_IDS before remoteFallbackEditors(navigator) runs, so iPhone, iPad and Android browsers list every remote editor again. #27557 hid VS Code on those browsers because they have no desktop editor to open the link. The existing tests miss it because they call remoteFallbackEditors directly, and the PR doesn't change that function.
Suggested fix: keep the mobile check in the browser branch.
const remoteCapableEditorsAtom = Atom.make((get): ReadonlyArray<EditorId> => {
if (window.desktopBridge === undefined) {
return remoteFallbackEditors(navigator).length === 0 ? [] : REMOTE_CAPABLE_EDITOR_IDS;
}
// ...existing desktop probe unchanged
Or change remoteFallbackEditors so desktop browsers get REMOTE_CAPABLE_EDITOR_IDS, and keep the ["vscode"] placeholder only for the desktop renderer while its probe runs.
Tested: web client in a browser on macOS, T3 server on a headless Linux box (DGX Spark) reached over SSH. Choosing Cursor in Open in launched Cursor, which connected through Remote-SSH and opened the remote repo in a working IDE session. I tested with my 0.1.9 bundle patch, which builds the same cursor://vscode-remote/ssh-remote+<host>/<path> link this PR does. I haven't run this branch itself.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This branch has not been deployed
No deployments
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
bugfix
Fix PR opened by an issue lead; enters the PR loop
pr:needs-julius
Needs Julius: route gate, unverifiable surface, or blocked
size:S
10-29 changed lines (additions + deletions).
vouch:trusted
Author is trusted by repo permissions or the VOUCHED list.
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|