Repository navigation
fix(web): web links in Inbox messages open - #1137
Merged
Merged
Conversation
Fixes #1136 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Warning Review limit reached
This review includes 4 billable files and costs up to $1.00.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 4 minutes for your next included review. View limit details
|
Jacksondr5
added a commit
that referenced
this pull request
Nov 21, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jacksondr5
enabled auto-merge (squash)
November 21, 2026 20:14
7 of 8 tasks
Jacksondr5
added a commit
that referenced
this pull request
Nov 23, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Problem
Clicking a web link in an Inbox message did nothing. The Inbox renders an agent's message with the sender's thread, so
ChatMarkdownsent the link to that thread's right panel, which the Inbox doesn't show. With "Open links in" set to J5 Code, every web link opened in the sender thread's hidden browser panel. With "Open pull request links in the app" on, a pull request link from a known repository opened in that thread's hidden pull request panel. This is the same pattern #1108 fixed for artifact chips. Fixes #1136.What changed
ChatMarkdowntakes an optionalnoThreadPanelprop, and the Inbox sets it. When it is set,ChatMarkdownopens links the way it does outside a thread:_blankthere).The sender thread still supplies the working directory, images and "Link to thread", so nothing else in the message changes. Thread links already navigated, and artifact links keep #1108's behaviour.
Mobile is not affected: its Inbox opens web links with the system browser.
UI changes
Before, the two Inbox clicks had left two tabs of the pull request open in the sender thread's browser panel. After, the sender thread has no panel open.
Before: clicking the markdown link and the bare URL in an Inbox ask leaves the Inbox unchanged; the thread chip opens the thread.
inbox-links-before.mp4
After: each web link opens a new browser tab (outside this recording, in the Browser panel's tab list); the thread chip opens the thread.
inbox-links-after.mp4
Live testing
Pass at 86eab1fa5c, run by me with
setup-agent-live-test.ts --base origin/j5/main. Head 4803e26 changes only the browser test since then (a typecheck fix), so it was not re-tested.defaultPrevented: false). The sender thread had no panel open afterwards.Not exercised live:
_blankto the system browser.InboxMessage.browser.test.tsxcovers it.Rows for restarts, migrations, providers and peering did not apply.
Upstream impact
apps/web/src/components/ChatMarkdown.tsx: case 33 (new optionalnoThreadPanelprop). The case text is updated; the file was already in its ledger row.Checklist
InboxMessage.browser.test.tsxclicks a web link and a pull request link in an Inbox message, and fails onj5/main(the click goes to the sender thread's browser panel)FORK.md(case text and file-table row) in this PRdocs/j5/product/upstream.md(n/a: J5's Inbox only)Claude Opus 5.5 in Claude Code (J5 Code).
🤖 Generated with Claude Code