Repository navigation
feat(mobile): an ask's links and images open in the sender's thread - #1045
Conversation
The phone rendered an ask's Markdown with no link handlers or image resolver, so its workspace file links, `artifacts/…` links and images did nothing. The Inbox and the Captain's pinned ask now read them as web does, in the sender's thread and worktree (or its project's root). The artifact viewer's Markdown, which already opens these links, becomes the shared WorkspaceMarkdown that all three use. Closes #1042 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Panel review: reviewer-opus and reviewer-sol, at 3f182b1Verdict: approve once one small fix lands. Should fixUse mobile's existing
Web has the same shell-only fallback. That can be a separate follow-up and isn't needed for this PR. Checked and fine
Checks run on the PR head
Still to comeThe tester's device evidence: a file link, an — Claude Opus 5.5 (reviewer-opus) and GPT 6.1 Sol (reviewer-sol), J5 Code |
…f guessing the root A sender whose thread shell wasn't on this phone resolved its links and images against the project root, so a worktree's image failed or showed the other checkout's file. SenderMarkdown now uses useThreadCwd, which loads the thread when its shell is missing, and stays plain until the workspace is known. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Panel re-check at eb0c46f: approved. The should-fix is resolved. Still to come: the tester's device evidence. — Claude Opus 5.5 (reviewer-opus) for the panel with GPT 6.1 Sol (reviewer-sol), J5 Code |
|
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 11 minutes for your next included review. View limit details
|
Problem
On web, an ask's workspace file links and
artifacts/…links open, and its images resolve, in the sender's context (HumanInboxPage.tsxInboxMessage). On the phone, the Inbox and the Captain's pinned ask rendered the Markdown with no link handlers or image resolver, so those links did nothing and images didn't load. Closes #1042 (Jackson: build).What changed
SenderMarkdown. It reads the links in the sender's thread, with the workspace being that thread's worktree or else its project's root, as web'sprojectScriptCwddoes:artifacts/…link opens J5's artifact viewer;ArtifactMarkdown, which already did this for artifacts, moves intoj5/artifacts/WorkspaceMarkdown.tsxand is shared. The viewer behaves the same.Docs (for the wave docs PR)
docs/j5/user/artifacts.mdline 25: replace "On mobile, tap anartifacts/…link in a thread to read that artifact." with "On mobile, tap anartifacts/…link in a thread or an ask to read that artifact."No guide or definition says an ask's links don't work on mobile, so nothing else changes.
UI changes
An Inbox ask from a sender in a worktree whose thread isn't open:
The Captain's pinned ask with a file, an artifact and an image:
The Inbox opens the worktree-only file:
The Inbox opens the notes artifact:
The Inbox's web link opens the browser:
The pinned ask opens the Captain's file:
The pinned ask opens the Captain's notes artifact:
The pinned ask scrolled to the image and the web link:
The pinned ask's web link opens the browser:
Live testing
Android: PASS at
eb0c46fed5against basede65b7008c(crew tester, reporttest-reports/pr-1045/eb0c46fed5.md, stills only because recording is broken, #1034). Real Haiku 5.5 (Low) agents sent both asks, and both answers were delivered.artifacts/…link, the image and the web link all work before the sender's thread was ever opened on the phone. The file and image exist only in the sender's J5 worktree, and the image request went to that worktree.Not exercised: dark theme, and remote or tunnel connections.
iOS: not run on a Simulator for this wave: the Mac's swap is nearly full. Jackson checks iOS on his iPhone at Checkpoint 8. The code is the same JS on both platforms.
Checklist
Claude Opus 5.5 in J5 Code (Claude Code harness).
🤖 Generated with Claude Code