Repository navigation
fix(mobile): one Working line in every chat; drop the floating 'Agent is working' pill - #29972
Conversation
…drop the floating 'Agent is working' pill
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to
|
|
Terminal-backed phone chats covered messages with a floating “Agent is working” pill while structured chats used a transcript activity line. This PR reuses the existing “Working…” line at the end of the transcript for terminal chats and deletes the floating pill. Source, architecture, user-visible behavior and readiness review completed on Verified in code: pending ask/question/permission values suppress the new line, including collapsed prompts; terminal turn summaries remain disabled; Tools and jump-to-latest remain; no imports of the deleted component remain. Exact-head PR Checks, including the aggregate gate, and Mobile Checks passed. Mobile CI reports 10,321 tests passed plus 486 bridged-contract tests, including the targeted turn-status and Stop suites. QA scope: component-level simulator QA with fixture data, rendering the real chat view on an iPhone 17 Pro / iOS 26.5 with accessibility-extra-large text, portrait and landscape. The coordinator reports all pictured scenarios passed; I independently inspected the terminal Working before/after pair and terminal/structured Stop captures. The live paired-agent flow was not exercised: not run, not a known defect. Android runtime was not tested. Remote QA cleanup remains unverified after the M4Air connection dropped; the coordinator owns that follow-up. Deferred: live paired-agent verification, Android runtime coverage and remote cleanup confirmation. There are no deferred code defects from this review. For Brennan’s review These are main-versus-branch component scenarios using the same fixture inputs:
The two behavior choices worth inspecting are terminal activity without turn accounting and pending prompts replacing the line. |



























ELI5
On the phone, a chat over an agent running in a terminal showed a floating "Agent is working ●●●" bubble over the messages, while every other chat shows a quiet "Working…" line with a spinner at the end of the conversation. Now every chat shows the same "Working…" line, and the floating bubble is gone.
What Changed
useMobileNativeChatTurnDisclosure. It used to draw only for structured chats; now it also draws for terminal-backed chats while the agent works and no question or permission prompt is waiting.MobileAgentWorkingIndicatorand its pill style are deleted, and the floating controls only hold the Tools pill and jump-to-latest.Why
Brennan asked for this as a follow-up to #29224 (which moved the composer's Stop into Send's place): two different working indicators for the same state was one too many, and the floating one covered messages. Reusing the existing line, rather than adding a new indicator, keeps one look for "the agent is working" across every chat. The line deliberately has no elapsed-time clock: in structured chats the clock lives in the turn's status row, which terminal-backed chats don't have.
Linked Issue
No GitHub issue. Follow-up from Brennan's review of #29224 (Orca community Discord feedback, "For mobile app when phone is turned").
Visual Proof
Component-level simulator QA with fixture data rendering the real chat view; a live paired-agent flow was not exercised (not run, not a known defect). Android runtime was not tested. Remote cleanup remains unverified after the M4Air connection dropped.
Measured on an iPhone 17 Pro simulator running iOS 26.5 at accessibility-extra-large text, in portrait plus one landscape shot: every after shot matched. Terminal working shows Working… and no floating pill; ask, permission, and question cards, including collapsed strips, hide that line; Stop leaves Working…; terminal chats show no Worked for row; structured working stays Working… and structured stopping stays Stopping…; the Tools pill toggles and jump-to-latest appears when scrolled up.
Testing
MobileNativeChatView.turn-status.test.tsto pin the new behavior (the live line draws, with no turn status, and the list no longer reserves room for a floating pill). Removed test mocks of the deleted component.Review
Completed source, architecture, user-visible behavior and readiness passes on
27db695301ac016c49ed64bc06daf1edb103a4c9, with no open code findings or review code changes. Corrected the unsupported terminal “Stopping…” claim: terminal Stop keeps its existing Working-until-host-end behavior. Full PR Checks (including aggregate verify) and Mobile Checks passed on this exact head. Simulator fixture scenarios passed; live paired-agent verification and remote cleanup confirmation remain outside the verified evidence.Agent skill upstream boundary
Notes
Mobile only. No desktop, SSH, wire or saved-data change.
Checklist