Repository navigation
feat(mobile): pull request and thread links in an Inbox ask open in the app - #1224
Open
Jacksondr5 wants to merge 3 commits into
Open
Jacksondr5 wants to merge 3 commits into
Jacksondr5 wants to merge 3 commits into
Conversation
…he app On mobile, an ask's links all left for the system browser. A pull request link for a known project now opens the PullRequest screen and a thread link opens the thread, as they do in a thread, in the Inbox and on a Captain's pinned ask. The artifact viewer's links are unchanged. Closes #1179 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 7 billable files and costs up to $1.75.
Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing. Or wait 52 minutes for your next included review. View limit details
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…s pull request and thread links in the app File links stay inert there, with nowhere to open them. Also splits the Inbox definition's mobile sentence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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
On mobile, an Inbox ask renders through
WorkspaceMarkdown, not the thread feed's link handling. So a pull request link opened the system browser where a thread pushes the in-app PullRequest screen, and a thread link left the app where a thread opens it in place. Closes #1179.What changed
SenderMarkdown, which renders an ask in the Inbox and on a Captain's pinned ask, now opens two link kinds as a thread does:t3-thread://…, or a hosted J5 thread URL) opens the thread through upstream'suseOpenLinkedThread, resolved asThreadFeedresolves one. A v1 link that names no environment is read in the ask's own.useOpenPullRequest, given the ask's own environment and project, because the Inbox route has no project params. A known project's pull request opens the PullRequest screen; any other web link still opens the browser, as in a thread.WorkspaceMarkdowngains an optionalopenLink, tried just before its system-browser fallback. OnlySenderMarkdownpasses it, so the artifact viewer's links are unchanged.apps/mobile/src/j5/…). Upstream's hooks are imported, not edited.Tests:
askLinks.logic.test.tsis one table: v2, v1 and hosted thread links, a pull request link, another web link, and amailto:left to the caller.UI changes
iOS: not captured. Pairing failed on base
aabc4a14c2withundefined is not a function, before the Inbox could be opened. No before/after screenshots or interaction video were captured.Live testing
iOS: not captured. The isolated base server (
aabc4a14c2) ran and a real Haiku Captain with a one-seat Crew created an ask containing PR, thread, web and artifact links. The iOS Add environment flow failed withTypeError: undefined is not a function(mobile:connection:connect-pairing-url defected) using a fresh credential, so none of the requested Inbox, pinned-ask or artifact-viewer link paths was exercised live.The client came from the Mac's own cached fingerprint
2f4989b3, with the normal expected-fingerprint guard passing and the installer reporting compatible. Mac and openclaw computed different fingerprints (2f4989b3versusdc969feb); the unexplained discrepancy and pairing failure were handed to the Simulator Orchestrator. No native rebuild was performed. Device panel, Simulator, Metro, tunnel and isolated server were released after the attempt. Android remains out: its pool is quarantined until #1218 is on the developer's install.Checklist
docs/j5/product/features/inbox.mddrops its Later line for Mobile Inbox: PR links open the PR screen and thread links open in the app #1179; the mobile paragraph and AC23 now say it, with a History lineBuilt by Claude Opus 5.5 in Claude Code (J5 Code crew seat).
🤖 Generated with Claude Code