Skip to content

fix(mobile): Inbox cards use J5's card set - #1101

Merged
Jacksondr5 merged 3 commits into
j5/mainfrom
j5code/design-inbox-cards
Nov 20, 2026
Merged

Jacksondr5 merged 3 commits into
j5/mainfrom
j5code/design-inbox-cards

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Problem

On mobile, J5's Inbox cards were borderless white on an almost-white sheet, their titles and labels rendered Regular (font-t3-semibold doesn't exist on mobile), "+ Open thread" read as one control, the "Recorded by J5" panel had no visible box, Answered rows cut off who answered, and sending an answer relabelled the button "Delivering…", greyed it, widened it and blanked the typed words. On Android, Answer and the Owner action rendered as bare words on a second row. This is area 1 of the mobile design pass (decisions D1–D4, D5, D12).

What changed

  • Card set (D1, D5, D12). Asks, seat approvals, agent questions, cleanups and Answered rows use upstream's question-card chrome (rounded-[20px], bg-card-alt, p-4) and its bold tracked uppercase eyebrow, from one small J5Card in apps/mobile/src/j5/components/. The card edge is border-foreground/15: D12's named borders (input-border, secondary-border) are nearly invisible on card-alt in the default dark theme, so the Captain ruled for a token derived from the text colour, which shows on every theme. Titles are bold; section titles are upstream's sentence-case footnote style.
  • J5 compact action button (D4, D12). J5CompactButton is J5's one-row action for its cards on both platforms (Android's upstream Button is a 48 dp Compose control that wraps the row and draws the secondary tone as bare text in dark). Secondary actions get the same foreground/15 outline. A lasting can't-act state (no words typed, no permission) dims the button. While sending, it keeps its tone, label and width: the spinner is drawn over its left padding. Used for Answer, Allow this once / Save persona, seat approvals and cleanup actions.
  • Answer area (D2). One AnswerArea for the Inbox and the Captain's dock. "+" and the attachment strip sit above the answer box, left-aligned as in upstream's QuestionAttachments. Open thread is a link-coloured control at the left of the action row; the Owner action and Answer are on the right. The dock's own chrome and folding are unchanged.
  • Sending (D4, MO-2, MO-9's blanking, X-1). No "Delivering…", "Allowing…", "Saving…" or "Removing…". While the answer or the Owner action sends, everything else on the card (attach, attachments, paste, Open thread, the other button) ignores taps without changing its look. The typed words and attachments stay on the card until the re-read takes it away (inboxAnswers.test.ts fails on j5/main for this).
  • Recorded by J5 (IN-6, IN-15). One boxed panel (bg-grouped-card, border, rounded-2xl), now also used by the dock.
  • Answered shelf (D3, IN-5, IN-12). Rows open their thread as whole cards with upstream's row chevron; offline rows (or a sender gone from the roster) are inert. "answered by Priya · 3m" (or "answered by you") is on its own line.
  • Smaller fixes. Source notices are upstream Notices with an icon, and a connected server's pending read no longer flashes a "loading…" caption (IN-7, DL-6). A decided cleanup is titled by its result (DL-12). Picked cleanup checkboxes use upstream's checkbox tint (IN-33). Page gutters and bottom padding match upstream's (IN-11). Agent-question chevrons are the 16 pt row chevron (IN-8).

Seen, not fixed: the shelf's "Answered" count lags the card leaving by about 170 ms (MO-9's second half); names flicker (MO-3, the identity Crew's); web's Answered shelf reads "Priya answered" while mobile reads "answered by Priya" (decided: web stays as is, no follow-up); #1049, #1055, #1080.

UI changes

Paired captures reuse the generated asks, device viewport and theme. Elapsed labels and shelf counts advance during the run. Persona, approval, sending and cleanup retakes repeat equivalent fixtures; cleanup always has one dirty and one ahead worktree, with different branch suffixes.

iOS · light
Before After
Open Blocking and Soon asks, collapsed, iOS light, before Open Blocking and Soon asks, collapsed, iOS light, after
Expanded ask with an empty answer box, iOS light, before Expanded ask with an empty answer box, iOS light, after
Expanded ask with typed words and an image attachment, iOS light, before Expanded ask with typed words and an image attachment, iOS light, after
Persona ask, Recorded by J5 panel, iOS light, before Persona ask, Recorded by J5 panel, iOS light, after
Persona ask, Save persona action, iOS light, before Persona ask, Save persona action, iOS light, after
Escalation ask, Allow this once and Answer, iOS light, before Escalation ask, Allow this once and Answer, iOS light, after
Crew seat approval and agent question, iOS light, before Crew seat approval and agent question, iOS light, after
Disconnected source notice, iOS light, before Disconnected source notice, iOS light, after
Offline-server ask, read-only, iOS light, before Offline-server ask, read-only, iOS light, after
Answered shelf with an offline row and answer attribution, iOS light, before Answered shelf with an offline row and answer attribution, iOS light, after
Worktree cleanup, collapsed, iOS light, before Worktree cleanup, collapsed, iOS light, after
Worktree cleanup, no worktree selected, iOS light, before Worktree cleanup, no worktree selected, iOS light, after
Worktree cleanup, one worktree selected, iOS light, before Worktree cleanup, one worktree selected, iOS light, after
Worktree cleanup, confirmation, iOS light, before Worktree cleanup, confirmation, iOS light, after
Worktree cleanup, in-place result, iOS light, before Worktree cleanup, in-place result, iOS light, after
Decided cleanup on the Answered shelf, iOS light, before Decided cleanup on the Answered shelf, iOS light, after
Captain dock, Recorded by J5 panel, iOS light, before Captain dock, Recorded by J5 panel, iOS light, after
Captain dock, answer controls, iOS light, before Captain dock, answer controls, iOS light, after
Inbox bell count, iOS light, before Inbox bell count, iOS light, after
iOS · dark
Before After
Open Blocking and Soon asks, collapsed, iOS dark, before Open Blocking and Soon asks, collapsed, iOS dark, after
Expanded ask with an empty answer box, iOS dark, before Expanded ask with an empty answer box, iOS dark, after
Expanded ask with typed words and an image attachment, iOS dark, before Expanded ask with typed words and an image attachment, iOS dark, after
Persona ask, Recorded by J5 panel, iOS dark, before Persona ask, Recorded by J5 panel, iOS dark, after
Persona ask, Save persona action, iOS dark, before Persona ask, Save persona action, iOS dark, after
Escalation ask, Allow this once and Answer, iOS dark, before Escalation ask, Allow this once and Answer, iOS dark, after
Crew seat approval and agent question, iOS dark, before Crew seat approval and agent question, iOS dark, after
Disconnected source notice, iOS dark, before Disconnected source notice, iOS dark, after
Offline-server ask, read-only, iOS dark, before Offline-server ask, read-only, iOS dark, after
Answered shelf with an offline row and answer attribution, iOS dark, before Answered shelf with an offline row and answer attribution, iOS dark, after
Worktree cleanup, collapsed, iOS dark, before Worktree cleanup, collapsed, iOS dark, after
Worktree cleanup, no worktree selected, iOS dark, before Worktree cleanup, no worktree selected, iOS dark, after
Worktree cleanup, one worktree selected, iOS dark, before Worktree cleanup, one worktree selected, iOS dark, after
Worktree cleanup, confirmation, iOS dark, before Worktree cleanup, confirmation, iOS dark, after
Worktree cleanup, in-place result, iOS dark, before Worktree cleanup, in-place result, iOS dark, after
Decided cleanup on the Answered shelf, iOS dark, before Decided cleanup on the Answered shelf, iOS dark, after
Captain dock, Recorded by J5 panel, iOS dark, before Captain dock, Recorded by J5 panel, iOS dark, after
Captain dock, answer controls, iOS dark, before Captain dock, answer controls, iOS dark, after
Inbox bell count, iOS dark, before Inbox bell count, iOS dark, after

iOS sending: Answer, before and after.

answer-sending.mp4
ios-after-answer-v2.mp4

iOS sending: Save persona, before and after (equivalent persona drafts).

owner-sending.mp4
ios-after-save-persona-v2.mp4

iOS sending: Remove selected, before and after.

cleanup-sending.mp4
ios-after-cleanup-v2.mp4

iOS sending: typed answer with an image retained; button width stays fixed.

ios-after-answer-attachment-v2.mp4
Android · light
Before After
Open Blocking and Soon asks, collapsed, Android light, before Open Blocking and Soon asks, collapsed, Android light, after
Expanded ask with an empty answer box, Android light, before Expanded ask with an empty answer box, Android light, after
Expanded ask with typed words and an image attachment, Android light, before Expanded ask with typed words and an image attachment, Android light, after
Persona ask, Recorded by J5 panel, Android light, before Persona ask, Recorded by J5 panel, Android light, after
Persona ask, Save persona action, Android light, before Persona ask, Save persona action, Android light, after
Escalation ask, Allow this once and Answer, Android light, before Escalation ask, Allow this once and Answer, Android light, after
Crew seat approval and agent question, Android light, before Crew seat approval and agent question, Android light, after
Disconnected source notice, Android light, before Disconnected source notice, Android light, after
Offline-server ask, read-only, Android light, before Offline-server ask, read-only, Android light, after
Answered shelf, offline row and answer attribution, Android light, before Answered shelf, offline row and answer attribution, Android light, after
Worktree cleanup, collapsed, Android light, before Worktree cleanup, collapsed, Android light, after
Worktree cleanup, no worktree selected, Android light, before Worktree cleanup, no worktree selected, Android light, after
Worktree cleanup, one worktree selected, Android light, before Worktree cleanup, one worktree selected, Android light, after
Worktree cleanup, confirmation, Android light, before Worktree cleanup, confirmation, Android light, after
Worktree cleanup, in-place result, Android light, before Worktree cleanup, in-place result, Android light, after
Decided cleanup on the Answered shelf, Android light, before Decided cleanup on the Answered shelf, Android light, after
Captain dock, Recorded by J5 panel, Android light, before Captain dock, Recorded by J5 panel, Android light, after
Captain dock, answer controls, Android light, before Captain dock, answer controls, Android light, after
Inbox bell count, Android light, before Inbox bell count, Android light, after
Android · dark
Before After
Open Blocking and Soon asks, collapsed, Android dark, before Open Blocking and Soon asks, collapsed, Android dark, after
Expanded ask with an empty answer box, Android dark, before Expanded ask with an empty answer box, Android dark, after
Expanded ask with typed words and an image attachment, Android dark, before Expanded ask with typed words and an image attachment, Android dark, after
Persona ask, Recorded by J5 panel, Android dark, before Persona ask, Recorded by J5 panel, Android dark, after
Persona ask, Save persona action, Android dark, before Persona ask, Save persona action, Android dark, after
Escalation ask, Allow this once and Answer, Android dark, before Escalation ask, Allow this once and Answer, Android dark, after
Crew seat approval and agent question, Android dark, before Crew seat approval and agent question, Android dark, after
Disconnected source notice, Android dark, before Disconnected source notice, Android dark, after
Offline-server ask, read-only, Android dark, before Offline-server ask, read-only, Android dark, after
Answered shelf, offline row and answer attribution, Android dark, before Answered shelf, offline row and answer attribution, Android dark, after
Worktree cleanup, collapsed, Android dark, before Worktree cleanup, collapsed, Android dark, after
Worktree cleanup, no worktree selected, Android dark, before Worktree cleanup, no worktree selected, Android dark, after
Worktree cleanup, one worktree selected, Android dark, before Worktree cleanup, one worktree selected, Android dark, after
Worktree cleanup, confirmation, Android dark, before Worktree cleanup, confirmation, Android dark, after
Worktree cleanup, in-place result, Android dark, before Worktree cleanup, in-place result, Android dark, after
Decided cleanup on the Answered shelf, Android dark, before Decided cleanup on the Answered shelf, Android dark, after
Captain dock, Recorded by J5 panel, Android dark, before Captain dock, Recorded by J5 panel, Android dark, after
Captain dock, answer controls, Android dark, before Captain dock, answer controls, Android dark, after
Inbox bell count, Android dark, before Inbox bell count, Android dark, after
Android · Ocean dark and pending sends

Pending sends are stills: the Android recorder is blocked by an older session’s stale recording resource. Equivalent persona drafts are used for the Save persona comparison.

Before After
Ocean dark escalation actions, Android dark, before Ocean dark escalation actions, Android dark, after
Answer sending, words and image retained, Android dark, before Answer sending, words and image retained, Android dark, after
Save persona sending, Android dark, before Save persona sending, Android dark, after
Remove selected sending, Android dark, before Remove selected sending, Android dark, after

Capture limits: Android MP4s could not be recorded. The Simulator Orchestrator confirmed an older session’s recording resource remains stuck after its owner’s supported cleanup failed; no foreign session was changed. The per-server caption flash has no dedicated cold-entry video on either platform, so DL-6 timing is not signed off.

iOS current head · idle on the left, sending on the right

Answer idle on the left and sending on the right, iOS dark, after

Save persona idle on the left and sending on the right, iOS dark, after

Remove selected idle on the left and sending on the right, iOS dark, after

Android current head · idle on the left, sending on the right

Answer idle on the left and sending on the right, Android dark, after

Save persona idle on the left and sending on the right, Android dark, after

Remove selected idle on the left and sending on the right, Android dark, after

Live testing

Latest-head retake: affected button images and sending evidence cover 120efb5ebf on both platforms. Cleanup actions share one row with zero and one selected, in light and dark, and keep their geometry while sending. All four iOS after videos are replaced. Unchanged card-only/shelf images are carried forward from the integrated 37b523f745 pass.

Captured-state pass on 37b523f7454ef4e3c3bf45c7e8c58ee531062dca, compared with base 9c505c9f63, using isolated generated test homes and the cached native clients (--mobile ios / --mobile android). Default light/dark on iOS Simulator and Android emulator; Ocean dark sampled on Android. No live-install data was used.

  • Live: real Haiku 5.5 Low turns produced Blocking/Soon asks, persona records, an escalation, a pending Crew seat approval, an agent question, and actual dirty/ahead worktrees. The shared Captain dock, image picker/attachment, multi-server notices and Answered attribution were exercised. On both platforms, an online Answered card opened the expected thread with Priya’s reply; the offline row stayed inert. Cleanup removed one generated dirty worktree and kept the ahead worktree and its local branch.
  • Live: pending Answer and Save persona retain their label, tone and bounds; words/image remain until the card leaves. Android Answer is 190×83 px, Save persona 295×83 px, and Remove selected 410×83 px, with identical idle/pending x/y/size. iOS Answer is 72×31.33 pt, Save persona 111.67×31.33 pt, and Remove selected 155×31.67 pt, with identical idle/pending x/y/size. On Android, pending taps on Open thread, attach, open/remove image and the other action were ignored. iOS MP4s show Answer, Save persona and cleanup sending; Android pending stills are above.
  • Testing choices: these are native presentation changes; web/desktop styling, provider adapters, migrations and peer messaging were not changed. Real UI-started Haiku and Luna fixture turns cover the affected flow. The builder’s focused hook test covers sent drafts surviving the refresh; no duplicate presentation tests were added. All images were format/theme checked; all raw image links return 200 image/png, and the seven GitHub videos render as players and return signed-out 200 video/mp4.
  • Partial: Android motion remains blocked by the stale recording resource. Dedicated cold-entry caption timing on either platform remains uncaptured. Physical phones, relay/tunnel product connections, all six themes exhaustively, an offline agent-question card, and other provider routes were not exercised. These are not claimed as passes. The initial Android file-picker issue was bypassed with Photo Library; image-attached states were captured on both platforms. Both device sessions and rig allocations were released after testing.

To finish timing evidence once recording is repaired: record Android Answer with typed words plus an image, Save persona, Remove selected, and a cold Inbox entry with two connected servers; capture cold-entry caption timing on iOS too. Jackson’s screen approval remains required before merge.

Checklist

  • One concern: the description has no "also"
  • Tests cover the changed behavior: inboxAnswers.test.ts covers the sent words staying until the card leaves; the rest is presentation, proven by captures
  • UI changes: screenshots and iOS sending videos are attached; Android MP4s and cold-entry timing evidence remain incomplete as documented
  • Live testing: the section above records coverage, limits and the remaining timing check
  • Upstream-owned files: none edited
  • Upstream product: no change to what upstream's product does
  • Surfaces: mobile only (web's Inbox is unchanged); both platforms; offline and multi-server states covered in the capture list
  • Docs: no docs describe these looks

Council review

Delegate Round 1 Round 2 Visual pass Final
Claude Opus 7.5 8.5 9 9
GPT Sol 7 9 9 10

Round 1 found: the button grew while sending, Owner-action sends left the attach row and Open thread live, the disabled look vanished in default dark, "+" dimmed during a send, the shelf wording, and a missing hook test. All were fixed in 37b523f745. Both reviewers left visual sign-off to the device captures. In the visual pass, Sol found that an iOS cleanup with nothing selected wrapped its actions to two rows; 120efb5ebf returns the compact button to the old pill's padding so all three fit one row again.

Built by Claude Opus 5.5 in Claude Code (J5 Code Crew seat).

🤖 Generated with Claude Code

…ady while sending

Inbox asks, seat approvals, agent questions, cleanups and answered rows take
upstream's question-card chrome with J5's input-border edge and a bold tracked
eyebrow. Attach and its strip sit above the answer box; Open thread is a link at
the left of the action row. A new J5 compact button keeps Answer, Allow this
once and Save persona in their colour and label with a spinner while sending,
draws real buttons on Android, and outlines secondary actions. The Recorded by
J5 panel is boxed and shared with the Captain's dock. Answered rows open their
thread as whole cards, with who answered on its own line.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Nov 20, 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 20, 2026 3:41am UTC

Request Review

@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XL 500-999 effective changed lines (test files excluded in mixed PRs). labels Nov 20, 2026
…sending

The compact button draws its spinner over its own padding so its width never
changes, and dims only for lasting can't-act states. Owner actions now hold the
card's attach row, paste and Open thread too, through one shared answer area for
the Inbox and the dock. Card edges and secondary outlines derive from the text
colour so they show on every theme. Answered rows read "answered by …".

Co-Authored-By: Claude Opus 5.5 <[email protected]>
The J5 compact button goes back to the old pill's px-3, with a 10 dp spinner
over its left padding, so Keep all, Select all and Remove selected (0) share a
row at normal text size.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

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

Labels

size:XL 500-999 effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant