Add Windows terminal onboarding step
īģŋ## 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
Ready to review this PR? Stage has broken it down into 8 individual chapters for you:
Chapters generated by Stage for commit 329c8f84198619a284d57bd207582c93ae2833ee on Jun 16, 2026 9:57am UTC.
Screenshot of the Windows-only step 4 with Git Bash selected and the right-click behavior segmented control:

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.svgis excluded by!**/*.svg
đ Files selected for processing (2)
src/renderer/src/components/onboarding/WindowsTerminalStep.test.tsxsrc/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.
Comment @coderabbitai help to get the list of available commands and usage tips.
Updated screenshot with the official Git for Windows logo:
