Skip to content

fix(mobile): say "host" instead of "desktop" in phone copy and tell same-email Codex logins apart - #43804

Merged
AmoabaKelvin merged 3 commits into
mainfrom
fix/mobile-host-kind-copy
Nov 18, 2026
Merged

AmoabaKelvin merged 3 commits into
mainfrom
fix/mobile-host-kind-copy

Conversation

@AmoabaKelvin

@AmoabaKelvin AmoabaKelvin commented Nov 17, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

The phone can pair straight to an Orca server, not just to a desktop. When that server was too old, or still connecting, the phone told the user to "Update Orca on your computer" or showed "Waiting for desktop...". There is no desktop in that setup. The phone now says "this host" instead, which is true for both a desktop and a server.

Separately, two Codex logins that share one email used to look identical on the phone. Desktop tells them apart by workspace or by the start of the account id. The phone now does the same.

Files Added Deleted Net
Test 0 0 0 0
Prod 52 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​485 $\color{#cf222e}{\Huge{\mathbf{−}}}$​683 $\color{#cf222e}{\Huge{\mathbf{−}}}$​198

What Changed

  • Host copy: the phone used to hard-code the host as "desktop" or "your computer". Now it says "host":

    • the protocol block screen: title, too-old body, the mobile-too-old bodies and the refresh-workspace body;
    • the "update required" messages for starting an agent, Source Control, review, Jira, Tasks and long structured answers;
    • the notification delivery hint;
    • the offline state title and body;
    • the workspace options save status.
  • "Waiting"/"Connecting" strings: 16 per-file "Waiting for desktop..." keys are now one common.waitingForHost key, and the two "Connecting to desktop..." keys are now common.connectingToHost. The old keys are gone from every locale.

  • Translations: every locale is updated. Each uses the word for "host" it already uses elsewhere (for example ru "сервер", tr "sunucu", ja "ホスト").

  • Codex account labels: getCodexAccountDisplayDetail and getCodexAccountDisplayLabel moved from src/renderer/src/lib/provider-accounts/ to src/shared/agent-accounts/ with no changes. The phone now uses them:

    • Accounts screen rows: subtitle and accessibility label;
    • Home usage cards: subtitle;
    • the Codex reset-credit confirm dialog.

    Unnamed accounts that share an email now show a workspace or id-prefix detail, as they do on desktop.

  • Golden: the pr-triage-update-required RPC golden is re-recorded for the new message.

Why

The copy is neutral instead of switching on host kind. The phone can't reliably know the host kind on these screens:

  • The block screen appears exactly when the versions don't match.
  • desktopWindowStatus reports openable for an Electron serve with no window, so it doesn't mean "server" either.

The screens already said "try this host again", and #43361 and the agent-history "Waiting for host…" copy made the same choice.

The Codex labels come from desktop's own helper, moved to shared code, rather than a second copy in mobile/.

Not changed:

  • The Accounts footer "Add or re-authenticate accounts from desktop Settings → Accounts". Server accounts are also managed from desktop Orca's Settings, so it is still true.
  • GITHUB_DESKTOP_UPDATE_REQUIRED. It deliberately names the paired desktop that relays to a server.

Linked Issue

None. This fixes the surface-parity audit gaps PL-G25 (the phone calls a server "desktop") and PL-G10 (Codex accounts by bare email on the phone).

Visual Proof

The protocol block screen for a host that is too old, rendered from the real ProtocolBlockScreen through the mobile web page build at 390 px wide.

Before:

before-desktop-too-old.png

After:

after-desktop-too-old.png

Testing

  • Before/after renders of the block screen through the mobile web bundle build (above).

  • verify-mobile-localization passes: every call site has an English entry, no removed key is still referenced, and placeholders are unchanged.

  • Mobile typecheck, oxlint and oxfmt pass on the changed files.

  • Focused mobile tests pass:

    • the RPC recordings, with pr-triage-update-required re-recorded;
    • the file explorer, source-control loader, git request, diff loading, diff snapshot and Jira connection tests;
    • src/tasks.
  • pnpm check:changed passes.

  • Platforms: macOS only. Copy and labels only, nothing platform-specific.

  • I manually tested these changes locally

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

  • Every added test fails without this change and avoids the test anti-patterns

No new tests: the change is copy plus wiring to an existing shared helper, and tests that pin copy are on the anti-pattern list.

Risk

Low. The change is mostly copy.

  • Nothing on the wire changes, so older hosts and phones are unaffected. An older host serving its own page bundle keeps its own copy.
  • Riskiest part: the translations. A poor translation would show odd wording, not a broken flow.
  • The Codex label change only adds a detail line when accounts share an email or have a workspace.
  • To back it out, revert the PR.

Level: Low

AI Disclosure

Review

Two review rounds, each with Codex and a Claude subagent.

  • Round 1 found three issues, all fixed:
    • With no paired hosts, the notification hint would have told the user to update hosts that don't exist. It is now "Pair an updated host…".
    • The "Connecting to desktop..." strings next to the changed "Waiting" strings still said desktop.
    • The "Update Orca desktop" sibling strings still said desktop.
  • Round 2 had nothing above P3. Fixed: the reset-credit dialog now uses the shared Codex label. Left: two remaining "your computer" fallbacks, worktree.hostWorkspaceListStates.checkHost and session.useCloseActions.closeFailedDesktopNotReady.

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

  • Mobile: copy only, plus a shared label helper. No new RPCs, and no change for older hosts.
  • Folder workspaces, SSH and platforms: 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)
  • 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)

@coderabbitai

coderabbitai Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Mobile update and compatibility messages now refer to the host across supported locales. Disconnected file, source-control, and diff-review states use shared host-waiting translations. Mobile account rows, usage cards, and reset-credit descriptions use Codex-specific display helpers. Renderer account modules import those helpers from the shared agent-accounts module. The PR triage recording updates its launch ID and update-required message.

Merge Risk: Minimal · up to 00dbe

This PR changes mobile wording from desktop to host and adds Codex account detail labels so same-email accounts can be told apart. No behavioral or performance risk was identified in the supplied changes, so it looks ready to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title names the two main changes: mobile copy now says "host" instead of "desktop", and same-email Codex logins are distinguished. Both are central to the diff, and the title's conventional-commit…
Description check Passed The description follows the template closely. It covers ELI5, What Changed, Why, Linked Issue, Visual Proof (before/after images), Testing, Risk with level, Review, Agent skill boundary, Notes, and Ch…
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.
Full details: Title check

Explanation

The title names the two main changes: mobile copy now says "host" instead of "desktop", and same-email Codex logins are distinguished. Both are central to the diff, and the title's conventional-commit format is clear.

Full details: Description check

Explanation

The description follows the template closely. It covers ELI5, What Changed, Why, Linked Issue, Visual Proof (before/after images), Testing, Risk with level, Review, Agent skill boundary, Notes, and Checklist. The AI Disclosure section is empty, which the template allows for stablyai team members, but the author's status is not stated. The Linked Issue section says 'None' and refers to audit gaps rather than an issue, which conflicts with the template's requirement that outside contributors link a real issue.

Resolution

Confirm whether the author is a stablyai team member. If the author is an outside contributor, link a real issue in the Linked Issue section, since 'None' does not meet the template requirement. Fill in AI Disclosure if AI tools were used, or confirm it is not needed.

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

Share

Recent 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: 27de1ac3-ee48-432c-a3ac-af254b8cfeb6
Commits

Reviewing files that changed from the base of the PR and between 6c68dc6 and 00dbef7.

Files selected for processing: 52

  • mobile/rpc-foundation/goldens/pr-triage-update-required.json
  • mobile/src/accounts/MobileAccountsScreen.tsx
  • mobile/src/accounts/usage/use-codex-reset-credit-action.ts
  • mobile/src/agents/presentation/AgentLaunchNotice.tsx
  • mobile/src/components/feedback/MobileStateView.tsx
  • mobile/src/components/host-connection/ProtocolBlockScreen.tsx
  • mobile/src/files/MobileFilePreviewScreen.tsx
  • mobile/src/files/explorer/MobileFileExplorerPanel.tsx
  • mobile/src/files/markdown/mobile-markdown-image-source.ts
  • mobile/src/files/media/MobileFileMediaPreview.tsx
  • mobile/src/home/tabs/home-usage-cards.ts
  • mobile/src/host-screen/workspace-options/workspace-options-sheet.tsx
  • mobile/src/i18n/locales/de.json
  • mobile/src/i18n/locales/en.json
  • mobile/src/i18n/locales/es.json
  • mobile/src/i18n/locales/fr.json
  • mobile/src/i18n/locales/ja.json
  • mobile/src/i18n/locales/ko.json
  • mobile/src/i18n/locales/pt.json
  • mobile/src/i18n/locales/ru.json
  • mobile/src/i18n/locales/tr.json
  • mobile/src/i18n/locales/zh-Hant.json
  • mobile/src/i18n/locales/zh.json
  • mobile/src/session/agent-launch/mobile-existing-agent-launch.ts
  • mobile/src/session/native-chat/input/prompts/use-mobile-structured-prompt-responses.ts
  • mobile/src/settings/native-notification-delivery-settings.tsx
  • mobile/src/source-control/changes/use-mobile-source-control-loaders.ts
  • mobile/src/source-control/commits/use-mobile-commit-failure-recovery.ts
  • mobile/src/source-control/git/use-mobile-git-requests.ts
  • mobile/src/source-control/history/MobileCommitDetailPage.tsx
  • mobile/src/source-control/review/agent-launch/pr-ai-triage-launch.ts
  • mobile/src/source-control/review/agent-launch/use-mobile-pr-ai-triage.ts
  • mobile/src/source-control/review/diff-actions/use-mobile-diff-review-git-actions.ts
  • mobile/src/source-control/review/diff-actions/use-mobile-diff-review-github.ts
  • mobile/src/source-control/review/diff-actions/use-mobile-diff-review-send-actions.ts
  • mobile/src/source-control/review/diff-loading/mobile-diff-review-snapshot-loader.ts
  • mobile/src/source-control/review/diff-loading/use-mobile-diff-review-diff-loading.ts
  • mobile/src/source-control/review/diff-loading/use-mobile-diff-review-snapshot.ts
  • mobile/src/source-control/review/diff-screen/MobileDiffReviewDrawers.tsx
  • mobile/src/source-control/review/review-notes/use-mobile-diff-review-comment-actions.ts
  • mobile/src/source-control/review/review-notes/use-mobile-session-diff-comments.ts
  • mobile/src/source-control/workflows/use-mobile-source-control-action-sheet-runners.ts
  • mobile/src/tasks/providers/JiraConnectPrompt.tsx
  • mobile/src/tasks/providers/jira/jira-mobile-connection.ts
  • mobile/src/tasks/task-list/mobile-tasks-list-state.tsx
  • src/renderer/src/components/right-sidebar/ai-vault/accounts/ai-vault-account-display.ts
  • src/renderer/src/components/right-sidebar/ai-vault/accounts/ai-vault-account-work-test-fixture.ts
  • src/renderer/src/components/right-sidebar/ai-vault/accounts/ai-vault-saved-account-index.ts
  • src/renderer/src/components/settings/accounts/codex/accounts-pane-codex-account-row.tsx
  • src/renderer/src/components/status-bar/accounts/status-bar-codex-accounts.ts
  • src/renderer/src/lib/agent-session/accounts/codex/codex-session-restart.ts
  • src/shared/agent-accounts/codex-account-display-label.ts
Files with no reviewable changes: 1

  • src/shared/agent-accounts/codex-account-display-label.ts
Files skipped from review as they are similar to previous changes: 41

  • mobile/src/agents/presentation/AgentLaunchNotice.tsx
  • mobile/src/components/feedback/MobileStateView.tsx
  • mobile/src/components/host-connection/ProtocolBlockScreen.tsx
  • mobile/src/files/MobileFilePreviewScreen.tsx
  • mobile/src/files/explorer/MobileFileExplorerPanel.tsx
  • mobile/src/files/markdown/mobile-markdown-image-source.ts
  • mobile/src/files/media/MobileFileMediaPreview.tsx
  • mobile/src/host-screen/workspace-options/workspace-options-sheet.tsx
  • mobile/src/i18n/locales/de.json
  • mobile/src/i18n/locales/en.json
  • mobile/src/i18n/locales/es.json
  • mobile/src/i18n/locales/fr.json
  • mobile/src/i18n/locales/ja.json
  • mobile/src/i18n/locales/ko.json
  • mobile/src/i18n/locales/pt.json
  • mobile/src/i18n/locales/ru.json
  • mobile/src/i18n/locales/tr.json
  • mobile/src/i18n/locales/zh-Hant.json
  • mobile/src/i18n/locales/zh.json
  • mobile/src/session/agent-launch/mobile-existing-agent-launch.ts
  • mobile/src/session/native-chat/input/prompts/use-mobile-structured-prompt-responses.ts
  • mobile/src/settings/native-notification-delivery-settings.tsx
  • mobile/src/source-control/changes/use-mobile-source-control-loaders.ts
  • mobile/src/source-control/commits/use-mobile-commit-failure-recovery.ts
  • mobile/src/source-control/git/use-mobile-git-requests.ts
  • mobile/src/source-control/history/MobileCommitDetailPage.tsx
  • mobile/src/source-control/review/agent-launch/pr-ai-triage-launch.ts
  • mobile/src/source-control/review/agent-launch/use-mobile-pr-ai-triage.ts
  • mobile/src/source-control/review/diff-actions/use-mobile-diff-review-git-actions.ts
  • mobile/src/source-control/review/diff-actions/use-mobile-diff-review-github.ts
  • mobile/src/source-control/review/diff-actions/use-mobile-diff-review-send-actions.ts
  • mobile/src/source-control/review/diff-loading/mobile-diff-review-snapshot-loader.ts
  • mobile/src/source-control/review/diff-loading/use-mobile-diff-review-diff-loading.ts
  • mobile/src/source-control/review/diff-loading/use-mobile-diff-review-snapshot.ts
  • mobile/src/source-control/review/diff-screen/MobileDiffReviewDrawers.tsx
  • mobile/src/source-control/review/review-notes/use-mobile-diff-review-comment-actions.ts
  • mobile/src/source-control/review/review-notes/use-mobile-session-diff-comments.ts
  • mobile/src/source-control/workflows/use-mobile-source-control-action-sheet-runners.ts
  • mobile/src/tasks/providers/JiraConnectPrompt.tsx
  • mobile/src/tasks/providers/jira/jira-mobile-connection.ts
  • mobile/src/tasks/task-list/mobile-tasks-list-state.tsx

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

@AmoabaKelvin
AmoabaKelvin force-pushed the fix/mobile-host-kind-copy branch from 6c68dc6 to 00dbef7 Compare November 18, 2026 00:06
@AmoabaKelvin
AmoabaKelvin merged commit 62100b8 into main Nov 18, 2026
54 of 55 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