Skip to content

Simplify the phone-control and phone-size terminal dialogs - #25307

Merged
Jinwoo-H merged 2 commits into
mainfrom
mobile-takover-dialogue
Oct 4, 2026
Merged

Jinwoo-H merged 2 commits into
mainfrom
mobile-takover-dialogue

Conversation

@Jinwoo-H

@Jinwoo-H Jinwoo-H commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 2 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​18 $\color{#cf222e}{\Huge{\mathbf{−}}}$​21 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3
Prod 10 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​89 $\color{#cf222e}{\Huge{\mathbf{−}}}$​156 $\color{#cf222e}{\Huge{\mathbf{−}}}$​67

ELI5

When you use a terminal from the Orca phone app, the desktop shows a small card over that terminal. The card looked dated and wordy. This makes it smaller and simpler. The buttons do exactly what they did before.

What Changed

The card has two states:

  • Your phone is in control. Before: an all-caps "FROM YOUR PHONE" label, a circled icon, a paragraph that repeated the button names, and three equal-weight buttons (Collapse · Take back all terminals · Take back this terminal). After: a title, one line ("Desktop typing is paused. Output keeps streaming."), a dark Take back button and a quieter Take back all. Collapse becomes a Minimize icon in the corner (the same icon Orca's floating terminal windows use, with a "Minimize" tooltip). It still shrinks the card to the "Phone driving" pill.
  • Phone session ended. Before: "Your phone left this at phone size" plus a two-line explanation. After: "Still sized for your phone" / "Your phone session ended. Restore to fit this window." with Restore and Restore all.

Layout: the phone icon sits beside the title, the body text lines up under the title, the card is narrower with even padding, and it uses the documented floating-card shadow. A small pulsing dot on the icon marks the live "in control" state.

Text: the Mobile settings description now names the new button labels. It gets a new translation key so other languages don't keep showing the old names. Text entries the card no longer uses are removed from all locale files.

Why

The old card stacked four levels of text for a short notice, and its paragraph just repeated the buttons. Making one button clearly primary and moving Collapse out of the row makes the card readable at a glance.

We considered changing behavior too (restoring desktop size automatically when you start typing on the desktop again). We left it out to keep this PR a visual-only change.

Linked Issue

N/A (internal polish)

Visual Proof

Before

before

After: phone session ended

after held

After: phone in control

after driving

Testing

  • tests/e2e/mobile-banner.spec.ts (5 tests) passes on macOS in background launch. It mounts both states, minimizes to the pill and expands back, and runs Take back, Restore and Restore all. The screenshots above come from that run.

  • MobileDriverOverlay.test.tsx passes. Typecheck (web), the changed-code quality check and the localization check pass.

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

Review

Agent skill upstream boundary

  • Not applicable, or this change follows docs/reference/agent-skill-sharing-upstream-boundary.md and copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Renderer-only styling and text. The resize, take-back and restore paths are unchanged, so SSH, remote and cross-platform behavior is unaffected.

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)
  • 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)

Drop the eyebrow label and circled icon, shorten the copy so it no longer
restates the buttons, and give each state one primary action with a quieter
"all" action. Collapse moves out of the button row into a Minimize icon in
the corner. Behavior is unchanged.
@Jinwoo-H
Jinwoo-H requested a review from brennanb2025 as a code owner October 4, 2026 21:22
@coderabbitai

coderabbitai Bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: bf33d4c0-e1f7-45f1-a34c-ce3a0b938fe9
📥 Commits

Reviewing files that changed from the base of the PR and between 6b425c3 and 83bb01d.

📒 Files selected for processing (2)
  • config/scripts/locale-ko-key-overrides.json
  • mobile/app/terminal-settings.tsx
💤 Files with no reviewable changes (1)
  • config/scripts/locale-ko-key-overrides.json

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.


📝 Walkthrough

Walkthrough

The mobile driver overlay now uses a compact card layout, shorter action labels, and a top-right minimize icon with a tooltip. English locale entries and settings guidance use the revised labels. Several corresponding overlay and mobile-pane translations were removed from the Spanish, French, Japanese, Korean, and Chinese locales. Unit and end-to-end tests now use the updated copy.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 83bb0

The changes update the mobile banner presentation and copy; no actionable merge-blocking regression is evident. Some updated text may temporarily appear in English for users of other locales.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 25.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 5 files. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the redesign of the phone-control and phone-size terminal dialogs.
Description check ✅ Passed The description explains the user-facing changes, reasons, visual proof, and testing. It also addresses the template’s cross-platform and checklist items. The linked issue is marked N/A for internal p…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR
  • Autopilot · 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

ℹ️ No critical issues — one cross-surface copy mismatch worth a look.

Reviewed changes

This run reviewed the single commit 6b425c3 on mobile-takover-dialogue: a renderer-only restyle of both MobileDriverOverlay states, with matching settings copy and tests. The resize, take-back and restore paths are unchanged.

  • Overlay redesign — LoudOverlay drops the eyebrow row, circled icon, and three-button row for a compact card: icon (with a pulsing dot while driving), title + one-line body, a primary Take back/Restore, a ghost Take back all/Restore all, and a corner Minimize2 icon button with a Minimize tooltip.
  • New English copy/keys — the driving and held states get new translate keys; the old keys are removed from en.json and all five target locales.
  • Settings copy — MobileAutoRestoreFitSection moves to a new key naming Restore/Restore all.
  • Tests — unit label expectations and e2e role-name selectors track the new labels.

ℹ️ Nitpicks

  • config/scripts/locale-ko-key-overrides.json still carries overrides for keys this PR removed (MobilePane.35100bca5d, MobileDriverOverlay.54f7d6f69d, MobileDriverOverlay.faa367dc74). They're dead now (overrides are only consulted by live en.json keys) and can be dropped with the catalog removals.

Pullfrog  | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

…d ko overrides

The phone app and desktop update independently, so name only "Restore",
which matches both the old and new desktop banner labels.

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

✅ No new issues found.

Reviewed changes

This run reviewed the single commit 83bb01d since the prior pullfrog review — a follow-up that resolves both prior findings.

  • Phone app copy aligned — mobile/app/terminal-settings.tsx now reads "use Restore on the desktop banner", matching the renamed banner buttons.
  • Dead Korean overrides dropped — config/scripts/locale-ko-key-overrides.json no longer carries entries for the three removed keys.

Pullfrog  | View workflow run | Using deepseek-v4.1-flash (free via Pullfrog for OSS) | 𝕏

@Jinwoo-H
Jinwoo-H merged commit baa56fd into main Oct 4, 2026
39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant