Skip to content

feat(mobile): one-line Chat tab rows with the provider icon - #473

Merged
NoahHendrickson merged 2 commits into
customfrom
t3/ios-chat-title-provider-icon
Nov 24, 2026
Merged

NoahHendrickson merged 2 commits into
customfrom
t3/ios-chat-title-provider-icon

Conversation

@NoahHendrickson

@NoahHendrickson NoahHendrickson commented Nov 24, 2026 •

Copy link
Copy Markdown
Owner

Chat rows on the iOS Chat tab took two lines: the title, then "No project", a PR badge, and the provider icon with the model name. For quick chats, the only things that matter are the title and whether it went to Claude or ChatGPT.

Each Chat row is now one line: the provider mark, the title (one line, truncated), then the existing queued, pin and status marks.

  • No3yThreadRow gets a third variant, "chat". It's mapped to "card" for swipe actions. Only No3yChatTab uses it, so the Threads tab card is unchanged.
  • The row body is a switch over the three variants. The slim and chat bodies share a one-line OneLineTitle, and the provider mark and trailing marks are shared elements.
  • The chat row keeps a 14px slot for the provider mark even while providers load, so titles stay aligned.
  • The Chat list's estimatedItemSize drops from 64 to 42 to match the shorter row.
  • A failed chat no longer shows its error text in the row. Its status mark still turns red.
  • The shorter rows get the compact swipe-action style that ThreadSwipeable already picks from the measured row height, the same style slim rows use.
  • The .fork/customizations.yaml no3y-mobile-redesign intent now describes the one-line chat rows.

Checks: vp run check:changed and .fork/lint-owned.mjs pass. Reviewed with neon-review: 1 round with Gemini 4 Neon (thought_level high). Neon verdict: approved.


🤖 Signed: Claude Opus 5.5 (claude-opus-5-5) via Claude Code

  • Gemini 4 Neon (gemini-4-neon, thought_level high) via Antigravity: reviewed the first commit, no findings.

🤖 Generated with Claude Code

Chat rows on iOS drop the "No project · provider · model" line and show
the provider mark before the title on a single line. The Threads tab card
is unchanged.

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

@NoahHendrickson NoahHendrickson 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.

Code-quality review of 6f5376ec0a77cbb70c651fec0e7ed579837de2ea (base 92ea9f7b78).

Hoisting providerMark and trailingMarks is a good move. It removes the duplicated provider-icon logic, and the Threads card and the Chat row now draw their marks the same way. The file goes from about 837 to 862 lines, which stays under 1k.

The main problem is how the new layout is modelled. Not approving yet because of point 1.

  1. chatLine?: boolean adds a second layout setting that only works together with the first. No3yThreadRow now has three layouts (slim, card, chat), but they come from two props. Nothing stops variant="slim" chatLine, and that combination is silently ignored. The body inside renderPressable also grows into a nested ternary (isSlim ? … : props.chatLine ? … : …) in an already large component. Make the layout a single value instead: variant: "card" | "slim" | "chat" on the row, mapped once to the upstream "card" | "slim" where resolveThreadListV2SwipeActions and resetKey need it (const listVariant = variant === "chat" ? "card" : variant). Then turn the three bodies into a switch over named sub-elements, so renderPressable stays a thin shell (pressable, padding, selection background).

  2. There's a further simplification available: the slim body and the chat body are the same one-line row. Both are [leading?] Title(numberOfLines=1, flex:1) [trailing] and differ only in title size (14 vs 16), the leading mark, and the trailing content (queued + time vs trailingMarks). A small OneLineRowBody({ leading, titleSize, trailing }) would remove the duplicated title <Text> style block. The row would then be "one line or two lines", not three hand-written layouts.

  3. Small point: estimatedItemSize={42} in No3yChatTab is really paddingVertical 12 × 2 + lineHeight 18, and those values live in another file. Export a constant from No3yThreadRow, or put a short comment next to the number, so the estimate doesn't drift the next time the row's padding changes.

No other structural issues: the change is scoped to fork files, the Threads tab card is unchanged, and the compact swipe style does come from ThreadSwipeable's measured-height check, as the PR body says.

Comment thread apps/mobile/fork/No3yThreadRow.tsx Resolved
Comment thread apps/mobile/fork/No3yThreadRow.tsx Resolved
Comment thread apps/mobile/fork/No3yChatTab.tsx Resolved

@NoahHendrickson NoahHendrickson 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.

Code review of 6f5376ec0a77cbb70c651fec0e7ed579837de2ea (base 92ea9f7b78). Nothing blocking; two nits.

Nit: .fork/customizations.yaml ~L8655 (not in this diff). The no3y-mobile-redesign intent still says the Chat tab lists chats "as thread cards". It doesn't mention the one-line chatLine rows (provider mark, title, trailing marks, no meta line). An upstream sync ports from this text, so it could bring back the two-line cards. Worth a sentence there.

I checked these and they aren't findings: dropping the error text, the PR badge and the model label is intended, as the PR body says. onOpenThreadPullRequests is still a required prop. The cost of the hoisted elements doesn't matter.


🤖 Reviewed by Claude Opus 5.5 (claude-opus-5-5) via Claude Code (/code-review)

Comment thread apps/mobile/fork/No3yThreadRow.tsx Resolved
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:M labels Nov 24, 2026
Replace the chatLine flag with variant "chat" (mapped to "card" for swipe
actions), pick the row body with a switch, share a one-line title between
the slim and chat bodies, reserve the provider slot so titles stay aligned
while providers load, and note the chat rows in the manifest intent.

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

Copy link
Copy Markdown
Owner Author

Addressed both reviews in cb589fc:

  • variant: "card" | "slim" | "chat" replaces the chatLine flag. It maps to "card" for swipe actions only.
  • The row body is a switch. The slim and chat bodies share a module-level OneLineTitle.
  • The chat rows reserve the 14px provider slot, so titles stay aligned while providers load.
  • estimatedItemSize={42} now has a comment explaining where the number comes from.
  • The .fork/customizations.yaml no3y-mobile-redesign intent now describes the Chat tab's one-line rows.

vp run check:changed and .fork/lint-owned.mjs pass locally.

@github-actions github-actions Bot added size:L and removed size:M labels Nov 24, 2026
@NoahHendrickson
NoahHendrickson merged commit 9e80cc7 into custom Nov 24, 2026
33 checks passed
@NoahHendrickson
NoahHendrickson deleted the t3/ios-chat-title-provider-icon branch November 24, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 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.

2 participants