You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(mobile): Home's agent rows name the computer once and say what waits - #47966
Home's agent rows used to spend half their second line on a "Kelvin's MacBook Pro" pill, so the useful part ("Can I push the fix t…") was cut off. Now the computer is named once, the line gets the full width, read agents no longer look disabled, and a "•4" badge comes with a line that says what the four things are.
Files
Added
Deleted
Net
Test
0
0
0
0
Prod
11
$\color{#1a7f37}{\Huge{\mathbf{+}}}$222
$\color{#cf222e}{\Huge{\mathbf{−}}}$79
$\color{#1a7f37}{\Huge{\mathbf{+}}}$143
What Changed
Feed's agents section and Home's agents tab:
Computer pill removed from every row. On the agents tab, when rows come from more than one computer, each computer gets one section heading (name + count), the same heading Home's Agents tab uses when it groups by desktop. With one computer there is no heading. Feed, a short summary, doesn't name computers; only when two of its rows have the same agent name on different computers does each of those rows start its line with the computer ("Studio Mac · Labelled 6 new…"). An offline computer's kept rows now say "Offline" as their line (that word used to live in the pill).
Names use the primary text colour. Read names were grey and looked disabled; now unread is shown by bold alone, like the agent drawer's Chats list. This is the shared row view, so the computer's page rows get it too.
The line says what waits. When the needs-you count is above 1, or the line was the vague "1 needs you", the line lists the parts in the asking colour: "Question · access request · worker · item", with counts when there are several ("2 workers"). A single question still shows its own text. A paused agent keeps "Paused".
Room rows. The members' faces now fill the 32 pt picture square (three equal faces in a triangle, two on a diagonal) instead of a small lopsided triangle, on every phone screen that draws a room's faces; the desktop's layout is unchanged. The ring between faces matches Feed's panel colour. A room with no posts shows how many agents are in it, in the same words the group room uses, instead of listing every member's name.
End lines on older computers: one line per computer that lists nothing (update, off, unreachable); the "Update Orca on X to make … from your phone" explainer for the hidden + button is gone.
Patterns followed: mobile/src/home/tabs/MobileHomeAgentsTab.tsx:292 (one MobileHomeSectionHeading per desktop), mobile/src/home/MobileHomeActiveAgents.tsx:44 and mobile/src/agents/agent-list-model.ts:100 (name the desktop only when there's more than one), and the agent drawer's Chats list (primary titles, bold for unread).
Why
The design review of Home's agent rows found the computer pill took half of every line, read names looked disabled, "•4" didn't say what the four were, and room rows listed member names under a cramped face triangle. Naming the computer once (as Home's Agents tab already does) fixes the width problem without adding anything to the row. Listing what waits on the line uses the space the pill freed instead of adding a second badge.
Linked Issue
None; this is from the phone design review of Home's agent rows.
Visual Proof
Same data, 393 pt, before / after.
Agents tab, two computers (dark)
Before
After
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
Agents tab, two computers (light)
Before
After
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
Feed (dark / light)
Before
After
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
Feed, two agents with the same name on different computers (dark / light)
Before
After
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
End lines with older and unreachable computers (dark / light)
Before
After
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
Worst case and offline (after)
Long names, 6 waiting, 1–5 member rooms
Offline computer's kept rows
(screenshot removed: contained real product data)
(screenshot removed: contained real product data)
Testing
Rendered the real Home row, Feed section and tab components from the page bundle build in Chromium (393 × 852, 2x, dark and light) with fixture rows: two computers, one computer, two same-named agents on different computers, an offline computer's kept rows, older/unreachable computers, and a worst case (60-character name, 55-character computer name, 1 access request, 1 item, question + 2 workers + 3 items, rooms of 1, 2 and 5 members). Read computed styles to check alignment: headings start at the pictures' edge (16), titles and hairlines at 60, the count and the age share one right edge.
pnpm check:changed and the mobile typecheck pass.
I manually tested these changes locally
Automated tests added/updated, or explained why not below: presentational change; no test per AGENTS.md
Every added test fails without this change and avoids the test anti-patterns
Performance
None, because the grouping and the waits line are computed once per Home rows update from data the rows already hold; no new reads or timers. The page bundle grows by 545 eager bytes (11,443,041 → 11,443,586 of 11,468,800).
Risk
Low. Display only: no saved data, RPCs or host calls change. The title colour and the face layout are shared with the computer's page rows and the room screens, so those change look too. Back out with a plain revert.
Level: Low
AI Disclosure
Review
Agent skill upstream boundary
Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
The usage-limit line's wording ("Home Chat · Continues at …") is being shortened in a separate PR for every phone screen; this PR leaves it alone.
Checklist
This PR is small and focused
I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
I stated the risk: what could break, for whom, and how to back it out
Before/after screenshots or videos attached for UI changes, or N/A with reason
Self-reviewed for correctness, security, and performance
Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)
No actionable comments were generated in the recent review.
Walkthrough
Bot home rows now include computer identity and previews for wait categories, group membership, and offline status. The mobile tab groups rows by computer and shows computer headings when multiple groups are present. Bot rows can show computer labels, and the mobile face stack uses a filled face layout. Unavailable-bot notices no longer include the no-create reason.
Merge Risk: Low · up to 1ed5b
Bot rows on Home are display-only changes. Feed rows from different computers may not show which computer they belong to, and long computer names could hide the waiting items in the activity line. Neither is severe, so the change is mergeable with these cosmetic issues tracked.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title names the main change: Home's agent rows now name the computer once and show what waits. It fits the raw summary, which covers the removed computer pill, the grouped computer headings, the a…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Description check
The description is thorough and follows the template closely. It covers the ELI5, what changed, why, visual proof with before/after images, testing steps, performance reasoning, risk with level and ba…
Full details: Title check
Explanation
The title names the main change: Home's agent rows now name the computer once and show what waits. It fits the raw summary, which covers the removed computer pill, the grouped computer headings, the asking line, and the bot-row color change. The title uses a conventional feat(mobile) prefix and is specific. It is a single sentence of 73 characters, which is concise and readable.
Full details: Description check
Explanation
The description is thorough and follows the template closely. It covers the ELI5, what changed, why, visual proof with before/after images, testing steps, performance reasoning, risk with level and backout, and the checklist. The main gaps are the Linked Issue section, which says 'None' and does not link an issue, and the empty AI Disclosure section, which the template allows teams to skip for internal contributors. The Testing section also relies on a Chromium harness that reviewers cannot easily repeat. These gaps are not critical, so the check passes.
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 12de0a95-a06f-4303-a316-ffe0426e7f0a
Commits
Reviewing files that changed from the base of the PR and between 1c96e42 and 1ed5b6f.
Files selected for processing: 3
mobile/src/home/bots/home-bot-row-views.ts
mobile/src/i18n/en-runtime-required.json
mobile/src/i18n/locales/en.json
Files skipped from review as they are similar to previous changes: 1
mobile/src/i18n/locales/en.json
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 0 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
Review info
Run configuration
Source mode: Auto
Repository: Unavailable
Branch: Unavailable
File: No configuration file from this repository applied
Commit: Unavailable
Layers: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 85aa8ea1-2b11-4135-b86e-9d329bcd11a5
Commits
Reviewing files that changed from the base of the PR and between 507f720 and 1c96e42.
Files selected for processing: 2
mobile/src/home/MobileHomeBots.tsx
mobile/src/home/bots/MobileHomeBotRow.tsx
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Functional Correctness · Quick win
Keep computer names out of the activity preview.
When two rows share a title across computers, this expression prepends hostLabel to the activity text. MobileBotRowView limits that text to one line, so a long computer name can hide the waiting items.
Pass the computer name to a separate title-line element. Keep preview for limitText ?? row.preview. The PR objectives place computer names on the title line.
The reason will be displayed to describe this comment to others. Learn more.
Minor · Functional Correctness · Quick win
Show computer names for mixed-computer Feed rows.
If the visible rows are “Review” and “Notes” on Mac, plus “Triage” on Studio, this condition selects no rows. With the computer pills removed, Feed shows no computer identity.
Select rows based on whether the visible rows span multiple placeKey values, not whether their titles match. Keep names hidden for a single-computer list. The PR objectives require computer names for mixed-computer Feed rows.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Home's agent rows used to spend half their second line on a "Kelvin's MacBook Pro" pill, so the useful part ("Can I push the fix t…") was cut off. Now the computer is named once, the line gets the full width, read agents no longer look disabled, and a "•4" badge comes with a line that says what the four things are.
What Changed
Feed's agents section and Home's agents tab:
Patterns followed:
mobile/src/home/tabs/MobileHomeAgentsTab.tsx:292(oneMobileHomeSectionHeadingper desktop),mobile/src/home/MobileHomeActiveAgents.tsx:44andmobile/src/agents/agent-list-model.ts:100(name the desktop only when there's more than one), and the agent drawer's Chats list (primary titles, bold for unread).Why
The design review of Home's agent rows found the computer pill took half of every line, read names looked disabled, "•4" didn't say what the four were, and room rows listed member names under a cramped face triangle. Naming the computer once (as Home's Agents tab already does) fixes the width problem without adding anything to the row. Listing what waits on the line uses the space the pill freed instead of adding a second badge.
Linked Issue
None; this is from the phone design review of Home's agent rows.
Visual Proof
Same data, 393 pt, before / after.
Agents tab, two computers (dark)
Agents tab, two computers (light)
Feed (dark / light)
Feed, two agents with the same name on different computers (dark / light)
End lines with older and unreachable computers (dark / light)
Worst case and offline (after)
Testing
Rendered the real Home row, Feed section and tab components from the page bundle build in Chromium (393 × 852, 2x, dark and light) with fixture rows: two computers, one computer, two same-named agents on different computers, an offline computer's kept rows, older/unreachable computers, and a worst case (60-character name, 55-character computer name, 1 access request, 1 item, question + 2 workers + 3 items, rooms of 1, 2 and 5 members). Read computed styles to check alignment: headings start at the pictures' edge (16), titles and hairlines at 60, the count and the age share one right edge.
pnpm check:changedand the mobile typecheck pass.Performance
None, because the grouping and the waits line are computed once per Home rows update from data the rows already hold; no new reads or timers. The page bundle grows by 545 eager bytes (11,443,041 → 11,443,586 of 11,468,800).
Risk
Low. Display only: no saved data, RPCs or host calls change. The title colour and the face layout are shared with the computer's page rows and the room screens, so those change look too. Back out with a plain revert.
Level: Low
AI Disclosure
Review
Agent skill upstream boundary
Notes
Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance
The usage-limit line's wording ("Home Chat · Continues at …") is being shortened in a separate PR for every phone screen; this PR leaves it alone.
Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred)