Skip to content

fix(mobile): a persona row and chip show only the persona's name, muted - #988

Merged
Jacksondr5 merged 1 commit into
j5/mainfrom
j5code/mobile-persona-row-name-only
Nov 9, 2026
Merged

Jacksondr5 merged 1 commit into
j5/mainfrom
j5code/mobile-persona-row-name-only

Conversation

@Jacksondr5

@Jacksondr5 Jacksondr5 commented Nov 9, 2026 •

Copy link
Copy Markdown
Owner

Problem

At Checkpoint 3 on his iPhone, Jackson found four things in mobile's new chat and persona threads. Closes #962.

  1. The persona menu opened against the composer.
  2. After picking a persona, the row also showed its route ("Claude · claude-haiku-5…").
  3. The persona name stood out more than the branch picker beside it.
  4. In a persona thread, the composer's chip read as a truncated "Playbo…".

He ruled name only (2026-11-09), even though people can now switch a persona thread's model.

What changed

  • Name only: AgentPersonaAssignmentControls shows just the persona's name. The separate route control is gone, in a new chat's persona row and in a started thread's composer alike. On a started thread, tapping the name switches the model, as tapping the route did. Screen readers still hear the route, and a "Switch this worker's model" hint where tapping does that.
  • Muted colour: the name drops emphasized, so it uses the branch picker's muted colour.
  • Room for the name: up to 200 wide instead of 152, now that the route no longer shares the row.
  • Menu spacing: the persona picker's 44pt control sits in the 36pt row, clipped. The Menu wraps a 36pt view, so its anchor is the visible part and the menu no longer opens against the composer. Upstream's composer has no other tap menu here to copy; its model control opens a sheet.

Handoff, "Changed" and remove (×) are unchanged.

UI changes

Android 16, same test home: before on 3504684f5d, after on c79fd52b15.

Before After
New chat with a persona picked New chat with a persona picked, Android, before New chat with a persona picked, Android, after
Persona menu, keyboard hidden Persona menu, keyboard hidden, Android, before Persona menu, keyboard hidden, Android, after
Persona menu, Gboard open Persona menu, Gboard open, Android, before Persona menu, Gboard open, Android, after
Started persona thread composer Started persona thread composer, Android, before Started persona thread composer, Android, after

The persona chip opening the model switch with Claude Haiku 5.5 selected, Android, after

Live testing

Android: PASS at c79fd52b15 (crew tester, report test-reports/pr-988/c79fd52b15.md), with one real Haiku 5.5 turn.

  • After picking, the row shows only the persona's name, muted. × removes it, and picking again works.
  • In the started persona thread, the chip shows the name, and tapping it opens the model switch with Haiku selected.
  • The persona menu keeps a visible gap from the composer, with Gboard open and closed.

Limits:

  • The tester couldn't reproduce the menu touching the composer on base, in fresh-launch states. So the menu change is from code, and Jackson's iPhone at Checkpoint 4 is the real check.
  • Long names still truncate:
    • In the new chat row at 200 wide. The test persona's name is unusually long.
    • In a started thread's chip, where upstream's composer gives the chip the same width as before.

Not exercised: iOS, which waits for Checkpoint 4, and dark mode.

Checklist

  • One concern: the description has no "also". All four are Mobile new chat: persona menu spacing, and the picked persona shows only its name #962's row and chip.
  • Tests cover the changed behavior: no test. It's visual, so captures are the proof.
  • UI changes: before/after above, on Android
  • Live testing: the section above says what ran live and what did not
  • Upstream-owned files: none. All changed files are J5's.
  • Upstream product: no change
  • Surfaces: the new chat's persona row and a persona thread's composer chip, on mobile. Web isn't touched.
  • Docs: the personas guide's "on mobile, tap the persona or its model" changes. It's listed for the wave 4 docs PR.

Built by Claude Opus 5.5 in Claude Code (J5 Code crew seat builder-composer).

🤖 Generated with Claude Code

Jackson's Checkpoint 3 direction: after picking a persona in a new chat, and
on a persona thread's chip, show only the name in the branch picker's muted
colour. On a started thread, tapping it switches the model; screen readers
still hear the route. The new-chat picker's menu anchors to the row's visible
36pt, so it no longer opens against the composer.

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

vercel Bot commented Nov 9, 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 9, 2026 4:50am UTC

Request Review

@Jacksondr5 Jacksondr5 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Combined panel review (reviewer-opus + reviewer-sol) at c79fd52

Verdict: no findings, and the panel approves the source. Still pending: captures and device checks: taps and menu placement with and without the keyboard, and on a started thread, the name opening the model switch.

  • Nothing else relied on the route control. AgentPersonaAssignmentControls has two consumers. In DraftAgentRow there's no onPressModel, so the name is static. In the started-thread ThreadComposer, onPressModel is kept. Model switching stays reachable through the name, which now carries the "Switch this worker's model" hint. Its accessibility label still announces the route and any switch note. The Handoff, Changed and remove controls and their compact gating are unchanged.
  • Tap target kept. The new h-[36px] overflow-hidden wrapper in AgentDraftPicker centres and clips the same 44 pt control inside the row that already clipped it to 36, so the visible and touchable area is unchanged.
  • Menu anchor. On iOS, MenuView now wraps the 36 pt view. On Android, AndroidAnchoredMenu's outer Pressable measures the 36 pt child instead of 44, and the popup still draws in OverlayPortal. That fixes the anchor geometry in source, but whether the spacing now looks right (#962 item 1) is for the device.
  • Docs. docs/j5/user/personas.md:15 says "on mobile, tap the persona or its model", and the model is no longer shown. That's for the wave-4 docs PR.

Reviewer-run: reactCompilerCoverage.test.ts and upstreamSeams.test.ts pass (1131). Mobile vp run typecheck exits 0. Lint and git diff --check are clean.

Reviewed by Claude Opus 5.5 (reviewer-opus) and Sol 6.1 (reviewer-sol) in J5 Code.

@coderabbitai

coderabbitai Bot commented Nov 9, 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 10 minutes for your next included review.

Check out review usage here.

View limit details

Limit details: You’ve used all 4 included reviews currently available. Your 30 included PR review attempts over the past 7 days set your current allowance at 4 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 3504684 and c79fd52.

Files selected for processing: 3

  • apps/mobile/src/j5/agents/AgentDraftPicker.tsx
  • apps/mobile/src/j5/agents/AgentPersonaAssignmentControls.tsx
  • apps/mobile/src/j5/agents/DraftAgentRow.tsx
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

@github-actions github-actions Bot added size:S 10-29 effective changed lines (test files excluded in mixed PRs). vouch:trusted Author is trusted by repo permissions or the VOUCHED list. labels Nov 9, 2026
@Jacksondr5
Jacksondr5 merged commit 375218d into j5/main Nov 9, 2026
32 checks passed
@Jacksondr5
Jacksondr5 deleted the j5code/mobile-persona-row-name-only branch November 9, 2026 06:38

This branch was successfully deployed

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

Labels

size:S 10-29 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.

Mobile new chat: persona menu spacing, and the picked persona shows only its name

1 participant