Skip to content

chore(upstream): track the preview focus isolation change - #553

Merged
incognitojam merged 1 commit into
mainfrom
chore/track-upstream-preview-focus
Sep 30, 2026
Merged

incognitojam merged 1 commit into
mainfrom
chore/track-upstream-preview-focus

Conversation

@incognitojam

Copy link
Copy Markdown
Owner

An agent preview_click takes keyboard focus from the composer, even when it clicks a hidden tab in another thread, so what the user types next goes into the previewed page. pingdotgg#11577 is an open upstream change that hosts preview pages outside the app window's focus hierarchy, so an agent click cannot move focus at all.

This PR adds pingdotgg#11577 to .github/upstream-tracked-prs.json. The fork watches it rather than importing it early: it changes 19 files across page display, input handoff, capture and tab lifecycle, which overlaps the fork's hidden-tab capture, recording and mini player, and it has no maintainer review and conflicts with upstream main.

The smaller upstream fix, pingdotgg#13914, restores focus after the click. In a desktop dev build it kept 56 to 60 of 60 typed keys in the composer across three agent clicks, against 16 to 21 without it, so a few keystrokes can still reach the page.

Validation

  • node scripts/upstream/tracked-prs-report.ts lists it as open with the reason shown.
  • vp test run upstream in scripts passes (42 tests), including lib/tracked-prs.test.ts.

Written by an agent (Claude Code, claude-fable-5-1).

An agent click in a preview tab takes keyboard focus from the composer,
even from a hidden tab in another thread. An open upstream change hosts
preview pages outside the app window's focus hierarchy so an agent
click cannot move focus at all.

This adds it to `.github/upstream-tracked-prs.json`. It reworks page
display, input and capture and has no maintainer review yet, so the
fork watches it rather than importing it early.
@incognitojam
incognitojam merged commit b1ad322 into main Sep 30, 2026
17 checks passed
@incognitojam
incognitojam deleted the chore/track-upstream-preview-focus branch September 30, 2026 14:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant