orca icon indicating copy to clipboard operation
orca copied to clipboard

Add Windows terminal onboarding step

Open OrcaWin opened this issue 5 months ago â€ĸ 4 comments

īģŋ## Summary

  • add a Windows-only onboarding step for default shell and terminal right-click behavior
  • render shell-specific icons, including a Git Bash mark, and use a segmented control for right-click behavior
  • keep Windows terminal setup in the canonical fourth progress slot while skipping it on non-Windows hosts

Tests

  • pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/onboarding/use-onboarding-flow.test.ts src/renderer/src/components/onboarding/use-onboarding-flow-persistence.test.ts src/renderer/src/components/onboarding/OnboardingFlow.test.tsx src/renderer/src/components/onboarding/WindowsTerminalStep.test.tsx src/main/persistence.test.ts src/main/telemetry/validator.test.ts
  • pnpm run typecheck
  • pnpm run verify:localization-catalog
  • pnpm run verify:localization-coverage
  • screenshot captured with a temporary local Playwright spec and posted in the PR conversation

Open in Stage

OrcaWin avatar Jun 16 '26 09:06 OrcaWin

Ready to review this PR? Stage has broken it down into 8 individual chapters for you:

Title
1 Update onboarding constants and telemetry schemas
2 Implement onboarding step migration and persistence
3 Update shell icons and localization strings
4 Create Windows terminal preference step component
5 Integrate Windows terminal step into onboarding flow
6 Update telemetry documentation and validation
7 Update end-to-end tests for new flow
8 Other changes
Open in Stage

Chapters generated by Stage for commit 329c8f84198619a284d57bd207582c93ae2833ee on Jun 16, 2026 9:57am UTC.

ghost avatar Jun 16 '26 09:06 ghost

Screenshot of the Windows-only step 4 with Git Bash selected and the right-click behavior segmented control:

Windows terminal onboarding screenshot

OrcaWin avatar Jun 16 '26 09:06 OrcaWin

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

Run ID: 985bd7c6-6c0c-4340-b545-4f4cbee27884

đŸ“Ĩ Commits

Reviewing files that changed from the base of the PR and between 481aae88a1647b0ccfa5aba3b1076e0ea3f5efa8 and 329c8f84198619a284d57bd207582c93ae2833ee.

⛔ Files ignored due to path filters (1)
  • resources/gwindows_logo.svg is excluded by !**/*.svg
📒 Files selected for processing (2)
  • src/renderer/src/components/onboarding/WindowsTerminalStep.test.tsx
  • src/renderer/src/components/tab-bar/shell-icons.tsx
🚧 Files skipped from review as they are similar to previous changes (2)
  • src/renderer/src/components/tab-bar/shell-icons.tsx
  • src/renderer/src/components/onboarding/WindowsTerminalStep.test.tsx

📝 Walkthrough

Walkthrough

A new Windows Terminal preferences step is added to the onboarding flow at step number 4, shifting the existing notifications step to step 5. ONBOARDING_FINAL_STEP increases from 4 to 5 and ONBOARDING_FLOW_VERSION advances from 3 to 4. The new WindowsTerminalStep component lets Windows users select a default shell and right-click behavior; non-Windows clients skip the step transparently. The flow hook gains generalized skip/progress logic distinguishing visibleSteps from progressSteps (with isSkipped tracking), and legacy onboarding progress is migrated with a dedicated flowVersion === 3 clamp. The GitBashIcon SVG is redrawn as an image asset, all locale files are updated with terminal configuration strings, and unit/E2E tests are extended across persistence, rendering, and flow logic checkpoints.

đŸšĨ Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (2 warnings)

Check name Status Explanation Resolution
Description check âš ī¸ Warning The description covers the main features (Windows-only step for shell selection and terminal behavior, shell-specific icons, segmented control for right-click behavior, fourth progress slot positioning) but lacks some required template sections. Screenshots section is missing, and AI Review Report and Security Audit sections are absent. Add Screenshots section showing the new Windows terminal onboarding step, AI Review Report summarizing cross-platform compatibility checks (especially macOS/Linux exclusion), and Security Audit section documenting any input handling or command execution risks reviewed.
Docstring Coverage âš ī¸ Warning Docstring coverage is 4.55% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The PR title clearly and concisely summarizes the main change: adding a Windows terminal onboarding step to the application.
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.

âœī¸ Tip: You can configure your own custom pre-merge checks in the settings.


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 and usage tips.

coderabbitai[bot] avatar Jun 16 '26 09:06 coderabbitai[bot]

Updated screenshot with the official Git for Windows logo:

Windows terminal onboarding screenshot

OrcaWin avatar Jun 16 '26 09:06 OrcaWin