Repository navigation
Clarify Cloud VM setup in settings - #11527
Conversation
Greptile SummaryThis PR renames the "Per-Workspace Environments" experimental feature to "Cloud VM" throughout the settings UI, and adds a new
Confidence Score: 5/5Safe 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.
|
| 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
Reviews (2): Last reviewed commit: "fix(settings): localize Cloud VM termina..." | Re-trigger Greptile
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (6)
🚧 Files skipped from review as they are similar to previous changes (6)
📝 WalkthroughWalkthroughAdds 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)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
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. Comment |
There was a problem hiding this comment.
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
📒 Files selected for processing (17)
src/renderer/src/components/settings/CloudVmSetupGuide.test.tsxsrc/renderer/src/components/settings/CloudVmSetupGuide.tsxsrc/renderer/src/components/settings/EphemeralVmRuntimesSection.test.tsxsrc/renderer/src/components/settings/EphemeralVmRuntimesSection.tsxsrc/renderer/src/components/settings/EphemeralVmsExperimentalSetting.tsxsrc/renderer/src/components/settings/EphemeralVmsPane.test.tsxsrc/renderer/src/components/settings/EphemeralVmsPane.tsxsrc/renderer/src/components/settings/ExperimentalPane.test.tsxsrc/renderer/src/components/settings/RuntimeEnvironmentsPane.tsxsrc/renderer/src/components/settings/ephemeral-vms-search.tssrc/renderer/src/components/settings/experimental-search.tssrc/renderer/src/hooks/useSettingsNavigationMetadata.test.tssrc/renderer/src/i18n/locales/en.jsonsrc/renderer/src/i18n/locales/es.jsonsrc/renderer/src/i18n/locales/ja.jsonsrc/renderer/src/i18n/locales/ko.jsonsrc/renderer/src/i18n/locales/zh.json
Summary
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 lintpnpm typecheckpnpm test— 41,411 passed; one unrelated GitHub Project test timed out under full-suite load and passed 2/2 immediately in isolationpnpm build:electron-vitepnpm build:webAI 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.