Skip to content

feat(sidebar): reference origin icon + native chat origins - #33049

Merged
nwparker merged 1 commit into
mainfrom
nwparker/seen-in
Oct 24, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/seen-in

Conversation

@nwparker

@nwparker nwparker commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​44 $\color{#cf222e}{\Huge{\mathbf{−}}}$​1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​43
Prod 9 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​240 $\color{#cf222e}{\Huge{\mathbf{−}}}$​84 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​156

Summary

  • The "Seen in " row under each linked review in the workspace card is now a small terminal icon on the review's meta line (next to …). Hover shows "Seen in "; click jumps to that tab/pane. A closed tab keeps the icon with "· Tab unavailable" in the tooltip. The details panel's expanded list is unchanged.
  • Native chat (agent-session tabs) now records origins too. PR URLs printed in live tool output (e.g. gh pr create) are fed through the existing observeTerminalGitHubPullRequestLink flow with a new agent-session context, so the same branch confirmation and persistence apply. History replays are not scanned, so unlinked PRs aren't re-linked on reopen.
  • Renamed workspace-attachment-terminal-origin → workspace-attachment-observed-origin since it now covers both sources.

Notes / limits

  • Chat streams only while the chat pane is visible; a PR printed while hidden is picked up from the catch-up batch the next time the chat is shown.
  • Remote: chat tab ↔ session is matched by session id + runtime target, and the origin carries the tab's host id like terminal origins.

Testing

  • pnpm tc:web, changed-code quality gate
  • Terminal reference/origin store tests and components/native-chat tests (392 files pass); added a chat-origin case
  • Verified the icon + tooltip in a background dev build via CDP

…t origins

Move the "Seen in" chip onto the review's meta line as a terminal icon with
a tooltip. Native chat tabs now record PR links their tools print, so the
icon appears for PRs created from chat too.
@nwparker
nwparker merged commit 9ed7d9f into main Oct 24, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant