GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

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

@maria-rcks maria-rcks commented Oct 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Collaborator

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.

before: remote browser offers only VS Code

after: remote browser offers supported editors with VS Code selected

select Zed and open its remote SSH destination

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.

All reactions
@maria-rcks @ulughbeck
fix(web): show remote editors while keeping the VS Code default
91ea058
Co-authored-by: Ulugh Beck <[email protected]>
@coderabbitai

coderabbitai Bot commented Oct 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: maria/takeover-pr-23572
  • File: .coderabbit.config.ts
  • Commit: 4d67ae0
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 629d9aed-e402-45ba-8103-02eeb3f571ff
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

  • pingdotgg/t3code#11209: Changes remote editor picker behavior and preferred-editor fallback.
  • pingdotgg/t3code#24824: Changes the favorite-editor shortcut path and its browser tests.
  • pingdotgg/t3code#24507: Changes remote-open mode resolution and the editor list used by the picker.

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: Passed 3 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning 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 Passed checks: 3 passed
Check name Status Explanation
Title check Passed 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 Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed 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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Oct 26, 2026
@maria-rcks @ulughbeck
test(web): require the remote editor shortcut to open a new URL
4d67ae0
Co-authored-by: Ulugh Beck <[email protected]>
macroscopeapp[bot]
macroscopeapp Bot previously approved these changes Oct 26, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Oct 26, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@macroscopeapp
macroscopeapp Bot dismissed their stale review October 26, 2026 13:06

Dismissing prior approval to re-evaluate 4d67ae0

macroscopeapp[bot]
macroscopeapp Bot approved these changes Oct 26, 2026
View reviewed changes
GigaZoro pushed a commit to GigaZoro/CodeShip that referenced this pull request Oct 30, 2026
@maria-rcks @claude Andrii Kucheriavyi
fix(web): show remote editors without changing the VS Code default (u…
51eb211
…pstream pingdotgg#25490)

Cherry-picked from pingdotgg#25490

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@juliusmarminge juliusmarminge added bugfix Fix PR opened by an issue lead; enters the PR loop pr:needs-julius Needs Julius: route gate, unverifiable surface, or blocked labels Oct 30, 2026
@DavidPerezA12 DavidPerezA12 mentioned this pull request Oct 30, 2026
[Bug]: "Open in VS Code" is offered on iPad and phone browsers, where it can never open #27544
Closed
2 tasks done
@coderabbitai coderabbitai Bot mentioned this pull request Oct 30, 2026
fix(web): don't offer VS Code on iPad, iPhone and Android browsers #27557
Merged
@t3dotgg t3dotgg mentioned this pull request Nov 1, 2026
fix(web): show supported remote editors in the picker #23572
Closed
@coderabbitai coderabbitai Bot mentioned this pull request Nov 11, 2026
fix(web): open editors when saving their preference fails #34308
Merged
@onelouder

onelouder commented Nov 17, 2026

Copy link
Copy Markdown

+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.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes

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.

Projects

None yet

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.

3 participants

@maria-rcks @onelouder @juliusmarminge
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.