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 the open-in-system-browser button on hover while the URL is focused by RostyslavDzhohola · Pull Request #29537 · pingdotgg/t3code

Conversation

@RostyslavDzhohola

@RostyslavDzhohola RostyslavDzhohola commented Nov 2, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

Problem

In the Browser panel, the "Open in system browser" button in the address bar is unmounted while the URL input has focus. Once you click into a long URL, hovering the bar no longer reveals the button, so opening the page externally takes three steps: click away, hover the bar again, then click the button.

Reproduce: open any page in the Browser panel, click into the address bar, and point at its right end. No button appears.

Change

Nothing changes while the URL isn't focused: hovering the bar reveals the button as before.

While the URL is focused, the input keeps its full width. Pointing at the far right end of the bar reveals the same button, tucked inside the focus ring:

  • It fills the ring's inner height with no gap, and its corners follow the ring's 4px inner radius on both sides.
  • It uses the idle hover tile's colors in light and dark, so the URL text doesn't show through it.
  • Moving back over the URL hides it again.

Clicking it opens the current URL and leaves the input focused. mousedown is cancelled so the click lands before any blur.

The focused overlay is aria-hidden, tabIndex={-1}, and only rendered on devices with no touch input (not-any-pointer-coarse), so a tap at the end of the URL always reaches the input. Keyboard and touch users keep the existing path: leave the field, then use the button.

The change is limited to PreviewChromeRow, which serves web and desktop. Mobile has no Browser address bar.

Scope and approval

There's no linked issue or discussion. This is a small, focused fix of an obvious bug: the button can't be reached in exactly the state where you're looking at the URL. It changes one component in the web client, which the desktop app also renders. It adds no settings and no new capability. It changes only how the existing button is reached while the URL is focused, and the idle behavior stays as it was.

Walkthrough

Before, then after in light and dark. The captions in the clip describe each step.

walkthrough.mp4

Pointer at the far right end of a focused URL. Top: before. Middle and bottom: after, light and dark.

Pointer at the far right end of a focused URL: before shows no button; after shows the button tucked into the bar in light and dark

Close-up, top to bottom:

  • idle hover, light
  • focused, pointer at the end, light
  • idle hover, dark
  • focused, pointer at the end, dark
  • focused, pointer over the URL
Close-up of the button: idle hover and focused in light and dark, and hidden while the pointer is over the URL

Verification

State Before After
Idle, bar hovered button shown button shown (unchanged)
URL focused, pointer over the URL not rendered hidden, URL at full width
URL focused, pointer at the far right end not rendered button shown inside the focus ring
Click it n/a opens the current URL, input stays focused
Touch-capable device, tap the end of a focused URL not rendered not rendered, tap reaches the input

I checked this in a web dev build (headless Chromium, window.open captured instead of launching a real browser) and by hand in the desktop (Electron) dev build on macOS. For touch, I emulated a touch-capable device (hasTouch) and tapped the end of a focused URL: nothing opened and the input kept focus. A mouse click there still opened the URL.

vp run check:changed passes (format, lint, knip, typecheck, react compiler).

Opus 5.5 via Claude Code

🤖 Generated with Claude Code

Sorry, something went wrong.

Uh oh!

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

All reactions
@RostyslavDzhohola @claude
fix(web): keep the browser's open-in-system-browser button visible
0560780
The button was hidden until the address bar was hovered and was removed
while the URL input had focus, so after selecting a long URL you had to
click away and hover again before you could open it externally.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@github-actions github-actions Bot added vouch:unvouched Author is not yet trusted in the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Nov 2, 2026
@RostyslavDzhohola

RostyslavDzhohola commented Nov 2, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Author

cc @maria-rcks @Bil0000

Bil0000 and RostyslavDzhohola reacted with eyes emoji
All reactions
  • 👀 2 reactions

Sorry, something went wrong.

Uh oh!

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

macroscopeapp[bot]
macroscopeapp Bot approved these changes Nov 2, 2026
View reviewed changes
@macroscopeapp

macroscopeapp Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 0560780

Macroscope's review found this PR approvable — Keeps the existing “Open in system browser” button visible, including while the address field is focused. External opening remains click-driven with the same handler and availability condition, making this a low-risk presentation change.

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.

@coderabbitai

coderabbitai Bot commented Nov 2, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

  • Last reviewed commit: 01bcf8d

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review

No actionable comments were generated in the recent review.

Walkthrough

The preview chrome row now uses a shared helper to render the system-browser button. When the URL input is focused, a hover control appears over the input. Its mousedown handler preserves input focus, and the button is excluded from tab order.

Changes: Preview chrome

Layer / File(s) Summary
System-browser button interaction
apps/web/src/components/preview/PreviewChromeRow.tsx
A shared helper renders the system-browser button and tooltip. The unfocused input addon uses this helper. When the input is focused, a hover control appears over the input. Its mousedown handler preserves input focus, and the button is excluded from tab order.

Estimated code review effort: 2 (Simple) | ~8 minutes

Change: Bug fix

Possibly related PRs

  • pingdotgg/t3code#13206: Changes the address-bar addon that reveals the system-browser action on hover or focus.
  • pingdotgg/t3code#24818: Changes URL input focus handling in PreviewChromeRow.

Suggested labels: bugfix

Suggested reviewers: juliusmarminge

Merge Risk: Minimal · up to 01bcf

No evidence-backed merge-blocking risk remains for this focused browser-button interaction change.

Pre-merge checks: Passed 4
Check name Status Explanation
Title check Passed The title clearly and concisely describes the main change: showing the system-browser button on hover while the URL field is focused.
Description check Passed The description includes all required sections. It explains the problem, implementation, scope rationale, visual evidence, verification steps, observed results, and limitations.
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.
Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: pingdotgg/t3code
  • Branch: main
  • File: .coderabbit.config.ts
  • Commit: 60aec28
  • Layers: Repository TS config
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: baaccdf1-0011-448b-a4a1-fdd021ab1da5
Commits

Reviewing files that changed from the base of the PR and between a6539d8 and 01bcf8d.

Files selected for processing: 1
  • apps/web/src/components/preview/PreviewChromeRow.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.

All reactions

Sorry, something went wrong.

Uh oh!

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

coderabbitai[bot]
coderabbitai Bot reviewed Nov 2, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fix comments: Fix CodeRabbit comments on this PR

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread apps/web/src/components/preview/PreviewChromeRow.tsx Resolved

Uh oh!

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

@RostyslavDzhohola @claude
fix(web): reveal the open-in-system-browser button on hover while edi…
90f0ae8
…ting the URL

Keep the existing hover reveal so the address bar stays clean, and only
drop the focus check that unmounted the button while the URL input had
focus. Hovering a focused address bar now shows the button.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@RostyslavDzhohola RostyslavDzhohola changed the title fix(web): keep the browser's open-in-system-browser button visible fix(web): show the open-in-system-browser button on hover while the URL is focused Nov 2, 2026
coderabbitai[bot]
coderabbitai Bot reviewed Nov 2, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fix comments: Fix CodeRabbit comments on this PR

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread apps/web/src/components/preview/PreviewChromeRow.tsx Resolved

Uh oh!

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

@maria-rcks
Merge remote-tracking branch 'github/main' into takeover-29537
63618b4
@maria-rcks

maria-rcks commented Nov 3, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Collaborator

Note

Written by gpt-6.1-sol on behalf of Maria

Verified in a real dev environment

verified unchanged head 63618b4f9d7a9b9fecf12d2821eceb1c3e0ff418 on a linux boat vm, using the real dev web client, repo playwright, and /usr/bin/google-chrome.

  • reproduced on github/main (e1e520c93c) in a separate worktree: focus the browser address bar and hover its right end. the external-open button is absent.
  • on the exact pr head, the same focused and hovered address bar reveals the button. clicking opens a real browser tab at the committed url, without intercepting window.open.
  • an unsaved https://example.org/unsaved-draft still opens the committed example.com url. escape restores the committed url. idle hiding, enter navigation, back/forward, and refresh also work.
  • created the project and thread through the app and completed real codex gpt-6.1-sol turns on both main and the pr. no mocks, fixtures, or demo data.
  • blacksmith vp run check:changed 60aec28a9c6fdb7417a7382ec094ccc4984d0738 passed format, lint, knip, affected-package typechecks, and react compiler coverage. the worker needed its shallow git history restored first. github reports 22 successful and 8 skipped checks.

matching browser-panel crops, with the same committed url and page:

before on main: focused and hovered address bar has no external-open button

after on the pr: focused and hovered address bar reveals the external-open button

recording: focus, hover reveal, external opening, unsaved draft, and escape

Not verified

native electron desktop and its os external-browser handler, macos/windows, and native ios/android were not exercised on this linux web-client run. mobile has no browser address bar. the recording captures the browser panel; external popup destinations were independently checked through playwright against the actual opened tabs.

All reactions

Sorry, something went wrong.

Uh oh!

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

@RostyslavDzhohola @claude
fix(web): reveal the open-in-system-browser button at the end of a fo…
a6539d8
…cused URL

While the URL is focused it keeps its full width. Pointing at the far
right end of the bar shows the same button, tucked into the focus ring
with the idle hover colors, and clicking it keeps the input focused.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@RostyslavDzhohola
RostyslavDzhohola marked this pull request as draft November 3, 2026 03:28
@github-actions github-actions Bot added size:M 30-99 changed lines (additions + deletions). and removed size:XS 0-9 changed lines (additions + deletions). labels Nov 3, 2026
@RostyslavDzhohola
RostyslavDzhohola marked this pull request as ready for review November 3, 2026 19:40
@RostyslavDzhohola

RostyslavDzhohola commented Nov 3, 2026

Copy link
Copy Markdown
Author

Note

Written by Claude Opus 5.5 on behalf of Rostyslav

Updated in a6539d8. The design changed after Maria's check above, so the screenshots in that comment show the previous one-line version.

While the URL is focused, it now keeps its full width. The button only appears when you point at the far right end of the bar, tucked inside the focus ring with the idle hover colors, in light and dark. Clicking it opens the URL and keeps the field focused.

Pointer at the far right end of a focused URL. Top: before. Middle and bottom: after, light and dark.

Pointer at the far right end of a focused URL: before shows no button; after shows the button tucked into the bar in light and dark

The description has close-ups and a walkthrough video.

All reactions

Sorry, something went wrong.

Uh oh!

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

coderabbitai[bot]
coderabbitai Bot reviewed Nov 3, 2026
View reviewed changes

@coderabbitai coderabbitai Bot left a comment •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Fix comments: Fix CodeRabbit comments on this PR

Sorry, something went wrong.

Uh oh!

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

All reactions
Comment thread apps/web/src/components/preview/PreviewChromeRow.tsx Resolved

Uh oh!

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

@RostyslavDzhohola @claude
fix(web): keep touch taps out of the focused open-in-browser overlay
01bcf8d
On devices with any coarse pointer (touchscreen laptops), a tap at the
end of a focused URL could hit the invisible button. Render the overlay
only when no coarse pointer is present, so taps reach the input.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@spoukyii spoukyii mentioned this pull request Nov 3, 2026
fix(web): preview address bar keeps IME text on a composing Enter or Escape #30449
Closed
@RostyslavDzhohola
RostyslavDzhohola requested a review from maria-rcks November 4, 2026 22:49
@MohsinCoding MohsinCoding mentioned this pull request Nov 15, 2026
fix(web): show the open-in-system-browser button while the URL is focused #37118
Open
@juliusmarminge

juliusmarminge commented Nov 17, 2026

Copy link
Copy Markdown
Member

Thanks for this. #37118 makes the same change and is the one being kept.

#37118 fixes the same focused-address-bar problem by keeping the existing button mounted and showing it whenever the bar has focus. That smaller change avoids a second, mouse-only overlay and makes the action reachable by keyboard while editing too.

Your version preserves the full input width while focused. We prefer the simpler existing-button approach, accepting the slightly narrower field.

Closing as a duplicate.

All reactions

Sorry, something went wrong.

Uh oh!

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

@juliusmarminge juliusmarminge closed this Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments
@macroscopeapp macroscopeapp[bot] macroscopeapp[bot] approved these changes
@maria-rcks maria-rcks Awaiting requested review from maria-rcks

Uh oh!

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

Assignees

No one assigned

Labels

size:M 30-99 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

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