Skip to content

feat(web): an Inbox ask has the thread's copy button, exact time and skill chips - #1185

Merged
Jacksondr5 merged 3 commits into
j5code/inbox-thread-panelfrom
j5code/inbox-ask-chrome
Nov 23, 2026
Merged

Jacksondr5 merged 3 commits into
j5code/inbox-thread-panelfrom
j5code/inbox-ask-chrome

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Nov 22, 2026 •

Copy link
Copy Markdown
Owner

Problem

An agent's message in an Inbox ask lacked three things its reply row has in the thread: a copy-message button, the exact time on hover, and $skill chips.

Closes #1177. Stacked on #1182, which gives an ask the asking thread's panel that a skill's "View instructions" opens in.

What changed

All of it is in J5 files: apps/web/src/j5/a2a/HumanInboxPage.tsx and useSenderThread.ts.

  • Copy message. Each message in an ask, and each follow-up, has upstream's MessageCopyButton beneath it (ghost), as a thread's agent reply does. It shows when the message is hovered or focused, and always on a touch screen, with the opacity classes the thread's reply footer uses.

  • Exact time. Hovering "open 3h" shows upstream's formatChatTimestampTooltip, in the person's timestamp format.

  • Skill chips. The ask passes the sender's skills to ChatMarkdown, found the way ChatView finds them:

    • the sender thread's provider instance (modelSelection.instanceId, from its shell or loaded detail);
    • that instance's ServerProvider on the ask's server;
    • resolveProviderSkillsForCwd(provider, cwd).

    A $skill followed by a space renders as the thread's chip. Its "View instructions" opens the skill's file in the asking thread's panel beside the Inbox. That's a user action inside the ask, so feat(web): links in an Inbox ask open in the asking thread's panel #1182's panel shows it. An ask with no thread here gets chips without "View instructions", as upstream does with no thread.

  • Not mirrored (per the issue): the Run button on shell code blocks, which would run on the reader's machine, and "Use template" on artifact-template cards, which needs a composer.

  • Claude agents write their skills as /name. Only $name becomes a chip, in the thread as here, so chips show mostly for Codex-style references. That's upstream's behaviour, mirrored.

UI changes

Before and after show the same ask on the same server state. A real Claude Haiku 5.5 turn wrote it, plus three follow-ups, on a server at #1182's head 2c2d1f4. Base was captured there; then upgrade ran this branch's build on that home. Light theme, 1280×800.

Before After
Same ask with three follow-ups, the last one hovered; after shows that message's copy button, as a thread shows it under the hovered reply, and the last follow-up's $frontend-design renders as the thread's skill chip Same ask with three follow-ups, the last one hovered; after shows that message's copy button, as a thread shows it under the hovered reply, and the last follow-up's $frontend-design renders as the thread's skill chip, before Same ask with three follow-ups, the last one hovered; after shows that message's copy button, as a thread shows it under the hovered reply, and the last follow-up's $frontend-design renders as the thread's skill chip, after
Hovering 'open 2m' shows the exact time the ask opened new Hovering 'open 2m' shows the exact time the ask opened, after
Clicking the frontend-design chip shows the skill's description and View instructions, which opens its file in the asking thread's panel new Clicking the frontend-design chip shows the skill's description and View instructions, which opens its file in the asking thread's panel, after
  • The pair's scroll. Both are scrolled to the last follow-up. The after view keeps a row for each hidden copy button, as the thread's footer does, so its header sits higher.
  • Follow-up wording. The agent wrote two of the follow-ups with /frontend-design or $frontend-design. (trailing period). Neither is a chip, in the thread or here. Only the last, $frontend-design followed by a space, is.
  • "View instructions" isn't captured. I opened it live and SKILL.md showed in the asking thread's panel beside the Inbox. The file breadcrumb shows a real home-directory path, though, so that capture isn't published. The tester's run covers it.

Live testing

Verdict: pass on web, at the head 648a8ce. The crew tester ran it. Full report: artifacts/test-reports/inbox-ask-chrome/648a8ce88a.md.

  • Setup. A real Claude Haiku 5.5 ask and follow-up were made on a server at the stacked base 2c2d1f4. The same home was then upgraded to the head.
  • Skill chips. Both chips render with their descriptions. "View instructions" opens SKILL.md in the asking thread's panel beside the Inbox. That capture isn't published because the panel shows a machine path.
  • Copy. Each copy button's clipboard was checked by pasting into the unsent reply box: exactly that message's text, the literal $ mention included. Visibility:
    • nothing shows when not hovering;
    • hovering shows only that message's button;
    • Tab focuses "Copy message" and shows it;
    • Enter copies.
  • Exact time. The tooltip matches the ask's time in the 12h, 24h and locale formats.

Not exercised live:

  • An ask with no thread here. Deleting the asking thread removed its ask from the Inbox, so it couldn't be reached. With no thread there's no panel to open, so "View instructions" isn't offered, as in upstream's code.
  • The desktop app (Electron) and touch screens. The rig can't run them.

Video. At the head: hover, keyboard focus, and copy then paste.

inbox-copy-hover-and-keyboard-after.mp4

The tester's captures (same stored ask and follow-up; before has the pointer on the summary, after on the message):

Before After
Same stored ask and follow-up: skill chips and copy-on-hover at the head Same ask and follow-up, before Same ask and follow-up with first message hovered, after
Message details Message details, before Message details with skill chips and hovered copy button, after
Skill description and View instructions new Skill description and View instructions, after

Checklist

  • One concern: the description has no "also"
  • Tests cover the changed behavior: InboxMessage.browser.test.tsx checks that the skill chip uses the sender's own provider instance (another instance on the server has the same skill name at another path) and that "View instructions" opens it on the sender's thread. The copy button and tooltip are upstream components wired in, shown by the captures.
  • UI changes: captures above, plus a video of hover, focus and copy
  • Live testing: the section above says what ran live and what did not
  • Upstream-owned files: none edited
  • Upstream product: no change to what upstream's product does
  • Surfaces:
    • Entry points: an ask's message and follow-ups.
    • Clients: web and desktop. Mobile isn't in this milestone's scope for this.
    • Providers: skills come from whichever provider the sender runs on.
    • Contracts: none.
    • Connection modes: each ask reads its own server's providers.
  • Docs: covered by Inbox mirrors the thread: definition, user docs and a What's new highlight #1178 (Captain-owned)

Claude Opus 5.5 in Claude Code (J5 Code crew, web-builder seat)

🤖 Generated with Claude Code

Jacksondr5 and others added 2 commits November 22, 2026 16:16
…skill chips

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… covers the sender's skill chip

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
j5-code Ready Ready Preview Nov 22, 2026 9:34pm UTC

Request Review

@Jacksondr5
Jacksondr5 added this pull request to stack #1186 November 22, 2026 21:30
@coderabbitai

coderabbitai Bot commented Nov 22, 2026 •

Copy link
Copy Markdown

Warning

Review limit reached

  • Run on-demand review

This review includes 3 billable files and costs up to $0.75.

  • Ask an admin to make reviews automatic

Open in CodeRabbit

Reviews can continue after your included limit without a manual trigger. An admin must approve usage-based billing.

Or wait 14 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available. Your 58 included PR review attempts over the past 7 days set your current allowance at 2 reviews per hour.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between 2c2d1f4 and 648a8ce.

Files selected for processing: 3

  • apps/web/src/j5/a2a/HumanInboxPage.tsx
  • apps/web/src/j5/a2a/InboxMessage.browser.test.tsx
  • apps/web/src/j5/a2a/useSenderThread.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Nov 22, 2026
Jacksondr5 added a commit that referenced this pull request Nov 22, 2026
@github-actions github-actions Bot added the size:M 30-99 effective changed lines (test files excluded in mixed PRs). label Nov 22, 2026
…d's agent reply

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Jacksondr5 added a commit that referenced this pull request Nov 22, 2026
Jacksondr5 added a commit that referenced this pull request Nov 22, 2026
@Jacksondr5
Jacksondr5 merged commit a52cb63 into j5/main Nov 23, 2026
35 checks passed
@Jacksondr5
Jacksondr5 deleted the j5code/inbox-ask-chrome branch November 23, 2026 01:56
Jacksondr5 added a commit that referenced this pull request Nov 23, 2026
Jacksondr5 added a commit that referenced this pull request Nov 23, 2026
Jacksondr5 added a commit that referenced this pull request Nov 23, 2026

This branch was successfully deployed

1 active deployment
Preview — 648a8ce8 Deployed Nov 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M 30-99 effective changed lines (test files excluded in mixed PRs). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inbox: copy-message button, exact time and skill chips on an ask

1 participant