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 — feat(web): open HTML files in T3 or the system browser by Maseeek · Pull Request #19901 · pingdotgg/t3code

Conversation

@Maseeek

@Maseeek Maseeek commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Problem

Agent-generated HTML reports and prototypes are awkward to open as pages. Clicking an HTML file opens the file viewer, chat modifier-clicks go to the preferred editor, and the Files context menu has no direct browser actions.

Change

For .html and .htm files in Files and chat:

  • Ordinary click opens T3's integrated browser.
  • Ctrl-click or Cmd-click opens the user's browser. On web, this opens a new tab in the current browser.
  • Context menus offer explicit browser actions and Copy browser URL.

Links to a specific source line retain the source viewer. Other file types retain their normal click behavior. Both browser destinations use fresh signed asset URLs from the owning environment; workspace HTML can load sibling CSS, images and JavaScript. Web reserves its tab before asynchronous URL creation, clears its opener and closes it on failure. File permission is checked before and after signing.

This is a web/desktop frontend change, with a short user-guide update. No provider, server, wire-contract, dependency or mobile changes are included.

Scope and approval

Maintainer direction approval is pending. This changes the HTML primary and modifier-click behavior, including overriding the file tree's usual Ctrl/Cmd selection gesture for HTML rows. I am submitting the working implementation at the user's explicit request after explaining the approval requirement; draft status is not claimed as an exemption.

Related Ideas discussions: Files-panel HTML opening #7482, chat system-browser opening #18034, and file-link default actions #17981. These establish related requests, not approval. The now-closed #18298 also overlaps with the external-opening portion.

Verification

Fresh frozen-lockfile install on upstream e6bbfdb9ffe8334bed1c9b992f828f04d30db7ea, Linux, Node 24.22.0:

  • vp test run apps/web/src/markdown-links.test.ts apps/web/src/browser/useBrowserFileActions.test.tsx apps/web/src/components/ChatMarkdown.test.tsx apps/web/src/components/ChatMarkdown.permissions.test.tsx: 142 tests passed. Covers normal and Ctrl/Cmd chat routing, source-line links, workspace and outside-workspace resources, remote origin selection, copy URLs, permission revocation during signing, blocked popups, signing failures, closed tabs and non-HTTP URL rejection.
  • Web tsc-rs --noEmit and production web build passed. Scoped lint passed with existing warnings in the affected components; scoped formatting and git diff --check passed. No repo-wide checks were run.
  • Real web client in T3's Browser panel, isolated development state and synthetic files: before, the Files menu lacked browser actions and an ordinary click opened a file surface. After, the menu offered the new actions and an ordinary click opened a T3 browser surface displaying the HTML with sibling CSS and JavaScript loaded.

The automation host disconnected after the screenshots and ordinary-click recording were captured. External-browser/menu-copy interactions and chat links were not completed in that real-client pass; those paths have focused test coverage. A native OS-browser launch, macOS, Windows, mobile and a live relay/tunnel were not manually verified.

Before:
Files context menu before

After:
Files context menu after

Ordinary click opens the report in T3, including sibling CSS and JavaScript. The recording masks the signed-URL address field; the rest of the UI is unmodified.

Implementation and verification: GPT-6.1-Sol (high reasoning), Codex harness in T3 Code.

Sorry, something went wrong.

Uh oh!

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

pawelwitek34 and damjanuzelac reacted with thumbs up emoji
All reactions
  • 👍 2 reactions
Maciek
feat(web): open HTML files in T3 or the system browser
6817aa0
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels Oct 15, 2026
@pawelwitek34

pawelwitek34 commented Oct 15, 2026

Copy link
Copy Markdown

+1 for this. I often want to open agent-generated index.html files from the Files panel in my system browser (Chrome) to use DevTools and extensions. Right now the context menu only offers the integrated browser, so I end up going through Reveal in Finder. An explicit "Open in system browser" context-menu item would cover my use case.

All reactions

Sorry, something went wrong.

Uh oh!

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

@maria-rcks

maria-rcks commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator

Note

Written by claude-opus-5-5 on behalf of Maria

Thanks for this. I'm closing it as part of PR triage. Right now we're only taking focused bug fixes from outside contributors (see Read this first), and this PR is not one.

From the review: HTML files already render and can open in the integrated browser. Adding system-browser actions, URL copying, and new click defaults needs prior agreement on product behavior.

If you think this was a mistake, message me on Twitter at @maria_rcks and I'll take another look.

All reactions

Sorry, something went wrong.

Uh oh!

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

@maria-rcks maria-rcks closed this Oct 17, 2026
stanley50z added a commit to stanley50z/t3code that referenced this pull request Nov 16, 2026
@stanley50z
fork: pull pingdotgg#19901 open HTML files in T3 or the system browser
daf420a
Port of upstream PR pingdotgg#19901 by Maseeek (closed unmerged),
re-applied onto current main: the chip menu moved to chat/MarkdownFileLink.tsx,
the tests moved to the browser-test harness, manual memo hooks dropped for the
React Compiler, and browser actions stay off for host folders in Files, which
sit outside the thread workspace that asset URLs sign for.

Ctrl/Cmd-click or "Open in browser" on an HTML chip opens a signed asset URL
from the file's own environment in the client's browser, so a file on a remote
host opens in this machine's default browser. PDF links follow upstream
pingdotgg#37064 into the file viewer; only HTML defaults to the browser.

Fork-Upstream-PR: 19901
Fork-Upstream-PR-Head: 6817aa0
Fork-Tracking: discussion 18034, discussion 7482
Fork-Verify: apps/web/src/browser/useBrowserFileActions.browser.test.tsx apps/web/src/components/ChatMarkdown.permissions.browser.test.tsx apps/web/src/markdown-links.test.ts
Fork-Upstream-PR-State: closed
stanley50z added a commit to stanley50z/t3code that referenced this pull request Nov 18, 2026
@stanley50z
fork: pull pingdotgg#19901 open HTML files in T3 or the system browser
f3f707a
Port of upstream PR pingdotgg#19901 by Maseeek (closed unmerged),
re-applied onto current main: the chip menu moved to chat/MarkdownFileLink.tsx,
the tests moved to the browser-test harness, manual memo hooks dropped for the
React Compiler, and browser actions stay off for host folders in Files, which
sit outside the thread workspace that asset URLs sign for.

Ctrl/Cmd-click or "Open in browser" on an HTML chip opens a signed asset URL
from the file's own environment in the client's browser, so a file on a remote
host opens in this machine's default browser. PDF links follow upstream
pingdotgg#37064 into the file viewer; only HTML defaults to the browser.

Fork-Upstream-PR: 19901
Fork-Upstream-PR-Head: 6817aa0
Fork-Tracking: discussion 18034, discussion 7482
Fork-Verify: apps/web/src/browser/useBrowserFileActions.browser.test.tsx apps/web/src/components/ChatMarkdown.permissions.browser.test.tsx apps/web/src/markdown-links.test.ts
Fork-Upstream-PR-State: closed
stanley50z added a commit to stanley50z/t3code that referenced this pull request Nov 20, 2026
@stanley50z
fork: pull pingdotgg#19901 open HTML files in T3 or the system browser
29a9000
Port of upstream PR pingdotgg#19901 by Maseeek (closed unmerged),
re-applied onto current main: the chip menu moved to chat/MarkdownFileLink.tsx,
the tests moved to the browser-test harness, manual memo hooks dropped for the
React Compiler, and browser actions stay off for host folders in Files, which
sit outside the thread workspace that asset URLs sign for.

Ctrl/Cmd-click or "Open in browser" on an HTML chip opens a signed asset URL
from the file's own environment in the client's browser, so a file on a remote
host opens in this machine's default browser. PDF links follow upstream
pingdotgg#37064 into the file viewer; only HTML defaults to the browser.

Fork-Upstream-PR: 19901
Fork-Upstream-PR-Head: 6817aa0
Fork-Tracking: discussion 18034, discussion 7482
Fork-Verify: apps/web/src/browser/useBrowserFileActions.browser.test.tsx apps/web/src/components/ChatMarkdown.permissions.browser.test.tsx apps/web/src/markdown-links.test.ts
Fork-Upstream-PR-State: closed
stanley50z added a commit to stanley50z/t3code that referenced this pull request Nov 23, 2026
@stanley50z
fork: pull pingdotgg#19901 open HTML files in T3 or the system browser
b1bfd5f
Port of upstream PR pingdotgg#19901 by Maseeek (closed unmerged),
re-applied onto current main: the chip menu moved to chat/MarkdownFileLink.tsx,
the tests moved to the browser-test harness, manual memo hooks dropped for the
React Compiler, and browser actions stay off for host folders in Files, which
sit outside the thread workspace that asset URLs sign for.

Ctrl/Cmd-click or "Open in browser" on an HTML chip opens a signed asset URL
from the file's own environment in the client's browser, so a file on a remote
host opens in this machine's default browser. PDF links follow upstream
pingdotgg#37064 into the file viewer; only HTML defaults to the browser.

Fork-Upstream-PR: 19901
Fork-Upstream-PR-Head: 6817aa0
Fork-Tracking: discussion 18034, discussion 7482
Fork-Verify: apps/web/src/browser/useBrowserFileActions.browser.test.tsx apps/web/src/components/ChatMarkdown.permissions.browser.test.tsx apps/web/src/markdown-links.test.ts
Fork-Upstream-PR-State: closed
stanley50z added a commit to stanley50z/t3code that referenced this pull request Nov 25, 2026
@stanley50z
fork: pull pingdotgg#19901 open HTML files in T3 or the system browser
d74d795
Port of upstream PR pingdotgg#19901 by Maseeek (closed unmerged),
re-applied onto current main: the chip menu moved to chat/MarkdownFileLink.tsx,
the tests moved to the browser-test harness, manual memo hooks dropped for the
React Compiler, and browser actions stay off for host folders in Files, which
sit outside the thread workspace that asset URLs sign for.

Ctrl/Cmd-click or "Open in browser" on an HTML chip opens a signed asset URL
from the file's own environment in the client's browser, so a file on a remote
host opens in this machine's default browser. PDF links follow upstream

Fork-Upstream-PR: 19901
Fork-Upstream-PR-Head: 6817aa0
Fork-Tracking: discussion 18034, discussion 7482
Fork-Verify: apps/web/src/browser/useBrowserFileActions.browser.test.tsx apps/web/src/components/ChatMarkdown.permissions.browser.test.tsx apps/web/src/markdown-links.test.ts
Fork-Upstream-PR-State: closed
stanley50z added a commit to stanley50z/t3code that referenced this pull request Nov 27, 2026
@stanley50z
fork: pull pingdotgg#19901 open HTML files in T3 or the system browser
fbd75dd
Port of upstream PR pingdotgg#19901 by Maseeek (closed unmerged),
re-applied onto current main: the chip menu moved to chat/MarkdownFileLink.tsx,
the tests moved to the browser-test harness, manual memo hooks dropped for the
React Compiler, and browser actions stay off for host folders in Files, which
sit outside the thread workspace that asset URLs sign for.

Ctrl/Cmd-click or "Open in browser" on an HTML chip opens a signed asset URL
from the file's own environment in the client's browser, so a file on a remote
host opens in this machine's default browser. PDF links follow upstream

Fork-Upstream-PR: 19901
Fork-Upstream-PR-Head: 6817aa0
Fork-Tracking: discussion 18034, discussion 7482
Fork-Verify: apps/web/src/browser/useBrowserFileActions.browser.test.tsx apps/web/src/components/ChatMarkdown.permissions.browser.test.tsx apps/web/src/markdown-links.test.ts
Fork-Upstream-PR-State: closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

size:L 100-499 changed lines (additions + deletions). vouch:unvouched Author is not yet trusted in 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

@Maseeek @pawelwitek34 @maria-rcks
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.