Skip to content

Clarify Cloud VM setup in settings - #11527

Merged
AmethystLiang merged 3 commits into
mainfrom
cloud-vm-settings-guidance
Jul 30, 2026
Merged

AmethystLiang merged 3 commits into
mainfrom
cloud-vm-settings-guidance

Conversation

@AmethystLiang

Copy link
Copy Markdown
Contributor

Summary

  • rename the experimental per-workspace environment surfaces to Cloud VM
  • add an actionable Cloud VM setup guide and clearer empty runtime state
  • localize the new guidance consistently across English, Spanish, Japanese, Korean, and Chinese

Screenshots

Live Electron review completed for Remote Orca Servers → Cloud VM and the setup navigation flow in dark mode with the Chinese locale. No screenshot attached from the CLI.

Testing

  • pnpm lint
  • pnpm typecheck
  • pnpm test — 41,411 passed; one unrelated GitHub Project test timed out under full-suite load and passed 2/2 immediately in isolation
  • pnpm build:electron-vite
  • pnpm build:web
  • Added or updated focused tests for setup navigation, empty-state copy, search metadata, and the experimental setting

AI Review Report

Ran two review/fix rounds plus a post-rebase review. The review checked functionality, performance, empty-state acquisition, action hierarchy, settings navigation, copy clarity, localization coverage, SSH and folder-workspace behavior, and macOS/Linux/Windows compatibility. It flagged mixed Chinese terminology and missing Spanish/Japanese/Korean strings; both were fixed. Live Electron QA verified the Cloud VM workflow, off-by-default toggle, setup navigation, empty state, and localized labels. No hot-path work, additional IPC, platform-specific shortcut, path, shell, or Electron behavior was introduced.

Security Audit

The change adds static settings copy and uses the existing typed settings navigation action. It introduces no new user input, command execution, filesystem/path handling, IPC surface, authentication, secrets, dependencies, or external requests.

Notes

The branch is rebased onto current main. Cloud VM setup continues to use the existing host-aware skill runtime, so native, WSL, SSH, and folder-workspace behavior remains unchanged.

Comment thread src/renderer/src/i18n/locales/en.json Resolved
@greptile-apps

greptile-apps Bot commented Jul 30, 2026 •

Copy link
Copy Markdown

Greptile Summary

This PR renames the "Per-Workspace Environments" experimental feature to "Cloud VM" throughout the settings UI, and adds a new CloudVmSetupGuide component that gives users a two-step onboarding path with a direct navigation button to the environment recipe setup pane. All user-facing strings — including the previously hardcoded terminalTitle and terminalAriaLabel — are now wrapped in translate() and localized across English, Spanish, Japanese, Korean, and Chinese.

  • New CloudVmSetupGuide component added to the cloud-vm workflow panel in RuntimeEnvironmentsPane, with an accompanying test that guards the button presence and verifies the navigation target.
  • Copy updates across EphemeralVmRuntimesSection, EphemeralVmsExperimentalSetting, EphemeralVmsPane, and both search catalogs, replacing all "Per-Workspace Environments" / "Ephemeral VMs" labels with "Cloud VM" equivalents.
  • Locale files updated consistently: old pre-rename keys removed and new cloudVm-prefixed keys added in all five languages, including the full CloudVmSetupGuide translation block.

Confidence Score: 5/5

Safe to merge — all changes are static UI copy, localization, and a new read-only instructional component with no new IPC, auth, or data paths.

The change is a copy rename plus a new two-step guide component. The new component uses the existing openSettingsTarget action with a hardcoded, test-verified target. All locale files are updated in lockstep, previously orphaned keys were cleaned up in the preceding commit, and the button null-check regression in the test was addressed. No hot paths, no new dependencies, no filesystem or network access introduced.

Files Needing Attention: No files require special attention.

Important Files Changed

Filename Overview
src/renderer/src/components/settings/CloudVmSetupGuide.tsx New component: two-step instructional guide with a button that navigates to the Experimental → Cloud VM section; all strings are localized and the navigation target is verified by the accompanying test.
src/renderer/src/components/settings/CloudVmSetupGuide.test.tsx New test: checks rendered copy, guards against a missing button with an explicit throw, and verifies the store navigation target after click.
src/renderer/src/components/settings/RuntimeEnvironmentsPane.tsx Adds CloudVmSetupGuide above EphemeralVmRuntimesSection inside the cloud-vm workflow panel; visibility logic unchanged, spacing classes added via cn().
src/renderer/src/components/settings/EphemeralVmsPane.tsx Renames skill title to 'Cloud VM setup skill' and wraps previously-hardcoded terminalTitle/terminalAriaLabel strings in translate() for full i18n coverage.
src/renderer/src/components/settings/EphemeralVmRuntimesSection.tsx Updates empty-state key from cloudVmEmpty to cloudVmEmptyWithSetup with a more actionable message; no logic changes.
src/renderer/src/components/settings/EphemeralVmsExperimentalSetting.tsx Renames label from 'Per-Workspace Environments' to 'Cloud VM' and aria-label toggle key accordingly; straightforward copy change.
src/renderer/src/components/settings/ephemeral-vms-search.ts Updates search entry title key from title to cloudVmTitle; description key and content unchanged.
src/renderer/src/components/settings/experimental-search.ts Updates the findEntry lookup string from 'Per-Workspace Environments' to 'Cloud VM' to match the renamed key.
src/renderer/src/i18n/locales/en.json Old keys removed, new cloudVm-prefixed keys added consistently; CloudVmSetupGuide block appended in the correct namespace.
src/renderer/src/i18n/locales/es.json All new cloudVm keys added in Spanish; old keys removed; CloudVmSetupGuide block translated and inserted.
src/renderer/src/i18n/locales/ja.json All new cloudVm keys added in Japanese; old keys removed; CloudVmSetupGuide block translated and inserted.
src/renderer/src/i18n/locales/ko.json All new cloudVm keys added in Korean; old keys removed; CloudVmSetupGuide block translated and inserted.
src/renderer/src/i18n/locales/zh.json All new cloudVm keys added in Chinese (Simplified); old keys removed; CloudVmSetupGuide block translated and inserted.

Sequence Diagram

sequenceDiagram
    participant User
    participant RuntimeEnvironmentsPane
    participant CloudVmSetupGuide
    participant AppStore
    participant ExperimentalPane
    participant EphemeralVmsPane

    User->>RuntimeEnvironmentsPane: selects Cloud VM workflow tab
    RuntimeEnvironmentsPane->>CloudVmSetupGuide: renders setup guide
    CloudVmSetupGuide-->>User: shows 2-step instructions + button
    User->>CloudVmSetupGuide: clicks "Set up environment recipes"
    CloudVmSetupGuide->>AppStore: "openSettingsTarget({pane:'experimental', sectionId:'ephemeral-vms'})"
    AppStore->>ExperimentalPane: navigates to Experimental pane
    ExperimentalPane->>EphemeralVmsPane: scrolls to ephemeral-vms section
    EphemeralVmsPane-->>User: shows Cloud VM skill install controls
Loading

Reviews (2): Last reviewed commit: "fix(settings): localize Cloud VM termina..." | Re-trigger Greptile

@coderabbitai

coderabbitai Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: bedce8e2-ebf0-47d9-8b7d-0e0cb56a6002

📥 Commits

Reviewing files that changed from the base of the PR and between 658dcd9 and faccd92.

📒 Files selected for processing (6)
  • src/renderer/src/components/settings/EphemeralVmsPane.tsx
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json
🚧 Files skipped from review as they are similar to previous changes (6)
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/components/settings/EphemeralVmsPane.tsx

📝 Walkthrough

Walkthrough

Adds a localized Cloud VM setup guide with navigation to the experimental Cloud VM settings section. Updates runtime empty-state guidance, experimental setting labels, search metadata, recipe-panel accessibility text, and refresh labels to use Cloud VM terminology. Extends English, Spanish, Japanese, Korean, and Chinese locale files with Cloud VM setup, recipe, toggle, search, and empty-state strings, and updates related component tests.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. 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 is concise and accurately reflects the main change: clarifying Cloud VM setup in settings.
Description check ✅ Passed The description covers all required template sections with summary, screenshots, testing, AI review, security audit, and notes.
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.
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Create stacked PR
  • Commit on current branch

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.

@coderabbitai coderabbitai 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.

Actionable comments posted: 1


ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 609fa37b-27eb-4b80-8541-e92ab638fe84

📥 Commits

Reviewing files that changed from the base of the PR and between ab2b517 and 020581b.

📒 Files selected for processing (17)
  • src/renderer/src/components/settings/CloudVmSetupGuide.test.tsx
  • src/renderer/src/components/settings/CloudVmSetupGuide.tsx
  • src/renderer/src/components/settings/EphemeralVmRuntimesSection.test.tsx
  • src/renderer/src/components/settings/EphemeralVmRuntimesSection.tsx
  • src/renderer/src/components/settings/EphemeralVmsExperimentalSetting.tsx
  • src/renderer/src/components/settings/EphemeralVmsPane.test.tsx
  • src/renderer/src/components/settings/EphemeralVmsPane.tsx
  • src/renderer/src/components/settings/ExperimentalPane.test.tsx
  • src/renderer/src/components/settings/RuntimeEnvironmentsPane.tsx
  • src/renderer/src/components/settings/ephemeral-vms-search.ts
  • src/renderer/src/components/settings/experimental-search.ts
  • src/renderer/src/hooks/useSettingsNavigationMetadata.test.ts
  • src/renderer/src/i18n/locales/en.json
  • src/renderer/src/i18n/locales/es.json
  • src/renderer/src/i18n/locales/ja.json
  • src/renderer/src/i18n/locales/ko.json
  • src/renderer/src/i18n/locales/zh.json

@AmethystLiang
AmethystLiang merged commit d0d8695 into main Jul 30, 2026
41 checks passed
enrick-dev pushed a commit to enrick-dev/orca that referenced this pull request Oct 15, 2026
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