From baa56fd10d0223162667f9bb10cfe15dba545707 Mon Sep 17 00:00:00 2001
From: Jinwoo Hong <73622457+Jinwoo-H@users.noreply.github.com>
Date: Sun, 4 Oct 2026 18:59:50 -0400
Subject: [PATCH] Simplify the phone-control and phone-size terminal dialogs
(#25307)
* Redesign the phone-control and phone-size terminal dialogs
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.
* Point the phone settings copy at the renamed Restore button; drop dead ko overrides
The phone app and desktop update independently, so name only "Restore",
which matches both the old and new desktop banner labels.
---
config/scripts/locale-ko-key-overrides.json | 9 --
mobile/app/terminal-settings.tsx | 2 +-
.../settings/MobileAutoRestoreFitSection.tsx | 4 +-
.../MobileDriverOverlay.test.tsx | 8 +-
.../terminal-pane/MobileDriverOverlay.tsx | 152 +++++++++---------
src/renderer/src/i18n/locales/en.json | 20 ++-
src/renderer/src/i18n/locales/es.json | 12 +-
src/renderer/src/i18n/locales/fr.json | 12 +-
src/renderer/src/i18n/locales/ja.json | 12 +-
src/renderer/src/i18n/locales/ko.json | 12 +-
src/renderer/src/i18n/locales/zh.json | 12 +-
tests/e2e/mobile-banner.spec.ts | 31 ++--
12 files changed, 108 insertions(+), 178 deletions(-)
diff --git a/config/scripts/locale-ko-key-overrides.json b/config/scripts/locale-ko-key-overrides.json
index b0f99275b43..6f4948712dd 100644
--- a/config/scripts/locale-ko-key-overrides.json
+++ b/config/scripts/locale-ko-key-overrides.json
@@ -2342,9 +2342,6 @@
"auto.components.settings.MobileEmulatorSettingsPane.ae1612c58c": {
"ko": "가용성"
},
- "auto.components.settings.MobilePane.35100bca5d": {
- "ko": "휴대폰에서 terminals을 사용하는 동안 Orca는 휴대폰 화면에 맞게 terminals을 축소합니다. 앱을 닫거나 다른 곳으로 전환하면 terminals이 휴대폰 크기로 유지되는지(대화형 CLI 도구가 리플로우되지 않음) 또는 데스크탑으로 다시 크기가 조정되는지 여부가 제어됩니다. 배너에서 '이 terminals 복원' 또는 '모든 terminals 복원'을 사용해 언제든지 수동으로 크기를 조정할 수 있습니다."
- },
"auto.components.settings.MobileSettingsPane.b0088412a1": {
"ko": "또는 다음에서 Android APK를 받으세요"
},
@@ -4886,12 +4883,6 @@
"auto.components.terminal.pane.CloseTerminalDialog.stop_command_title": {
"ko": "실행 중인 명령을 중지할까요?"
},
- "auto.components.terminal.pane.MobileDriverOverlay.54f7d6f69d": {
- "ko": "모든 terminals 제어권 가져오기"
- },
- "auto.components.terminal.pane.MobileDriverOverlay.faa367dc74": {
- "ko": "휴대폰이 이 화면을 휴대폰 크기로 남겨 두었습니다"
- },
"auto.components.terminal.pane.TerminalContextMenu.c2f0b72b8d": {
"ko": "삽입"
},
diff --git a/mobile/app/terminal-settings.tsx b/mobile/app/terminal-settings.tsx
index 1b9ce53fa41..4720705bf91 100644
--- a/mobile/app/terminal-settings.tsx
+++ b/mobile/app/terminal-settings.tsx
@@ -279,7 +279,7 @@ export default function TerminalSettingsScreen() {
While you're using a terminal on your phone, Orca shrinks it to fit your screen. When
you close the app or switch away, this controls whether it stays at phone size (so
interactive CLI tools don't reflow) or resizes back to your desktop. You can always
- use Restore this terminal or Restore all terminals on the banner to resize manually.
+ use Restore on the desktop banner to resize manually.
{hosts.length === 0 ? (
diff --git a/src/renderer/src/components/settings/MobileAutoRestoreFitSection.tsx b/src/renderer/src/components/settings/MobileAutoRestoreFitSection.tsx
index 5560189db11..e3fc9c2188c 100644
--- a/src/renderer/src/components/settings/MobileAutoRestoreFitSection.tsx
+++ b/src/renderer/src/components/settings/MobileAutoRestoreFitSection.tsx
@@ -25,8 +25,8 @@ export function MobileAutoRestoreFitSection({
{translate(
- 'auto.components.settings.MobilePane.35100bca5d',
- "While you're using a terminal on your phone, Orca shrinks it to fit your phone screen. When you close the app or switch away, this controls whether it stays at phone size (so interactive CLI tools don't reflow) or resizes back to your desktop. You can always use Restore this terminal or Restore all terminals on the banner to resize manually."
+ 'auto.components.settings.MobilePane.5e2c7a1f84',
+ "While you're using a terminal on your phone, Orca shrinks it to fit your phone screen. When you close the app or switch away, this controls whether it stays at phone size (so interactive CLI tools don't reflow) or resizes back to your desktop. You can always use Restore or Restore all on the banner to resize manually."
)}