Repository navigation
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (1)
Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughSparse preset validation messages now use i18n translations in the settings and checkout components. English and Korean locale entries cover required names, names longer than 80 characters, and duplicate names. Tests verify rendered load errors and validation messages in both interfaces, including Korean interpolation behavior. Priority: ⬇️ Low Merge Risk: ⚪ Minimal · up to Localized sparse-preset validation messages are covered across both interfaces, with no actionable current-head risk identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 4 files. (2 skipped: 2 unsupported.)
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.
✅ No new issues found.
Reviewed changes
- Localized name validation in
SparsePresetSettingsSection— the three hardcoded validation strings are nowtranslate()calls with semanticcomponents.sparse.preset.validation.*keys. - Localized name validation in
SparseCheckoutPresetSelect— the same three strings, sharing thenameAlreadyExistskey with a consistent{{name}}placeholder. - Added
en.jsonandko.jsonentries — semantic keys under thecomponentsnamespace; the KoreannameAlreadyExistsreorders to"{{name}}" 이름의 사전 설정이 이미 있습니다.so no particle attaches to the interpolated name. - Tests —
SparsePresetSettingsSectionmoved fromrenderToStaticMarkupto@testing-library/react+ happy-dom to drive the form, and a newSparseCheckoutPresetSelecttest covers the checkout-picker path in both languages.
Verified the key paths resolve under the top-level components namespace, the {{name}} placeholder is consistent across both call sites and both catalogs (so the interpolation-parity checks hold), and the English values match their inline fallbacks (so en-runtime-required.json needs no regeneration). The fr/es/ja/zh catalogs are intentionally left untouched and fall back to English, per the translation-source architecture.
DeepSeek Pro (free via Pullfrog for OSS) | 𝕏
|
Note GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer. |

ELI5
Sparse preset form validation was still displayed in English even when Orca was using Korean. The validation messages now use Orca's localization system.
What Changed
Why
Issue #17913 tracks user-facing strings that bypass Orca's localization system. This PR addresses only the desktop Sparse preset validation portion.
Linked Issue
Part of #17913
Visual Proof
The affected desktop validation surfaces were manually verified in Korean.
Sparse preset settings
New workspace sparse preset
Testing
ORCA_BACKGROUND_LAUNCH=1 npx --yes [email protected] test src/renderer/src/components/settings/SparsePresetSettingsSection.test.tsx src/renderer/src/components/sparse/SparseCheckoutPresetSelect.test.tsx— 2 files, 4 tests passedpnpm run verify:localization-catalogpnpm run verify:localization-extractionpnpm run verify:localization-coveragepnpm run check:code-quality:changedProject Settings → Sparse Checkout Presets → New Presetin Korean.New Workspace → Advanced → Sparse checkout → New presetin Korean.이름을 입력해 주세요.on both desktop surfaces.Full repository checks on the current head:
pnpm lint— passed vianpx --yes [email protected] lint; existing non-blocking collator-performance warnings remain.pnpm typecheck— passed vianpx --yes [email protected] typecheck.pnpm test— 8131 passed, 62 skipped, 12 failed suites / 21 failed tests, and 1 unhandled error. Failures were in unrelated cross-version, shell, relay/PTY, Electron CLI, i18n import-time, and performance tests.pnpm build— passed vianpx --yes [email protected] build; non-blocking native deprecation and local CLI symlink permission warnings were reported.AI Disclosure
Codex was used for implementation, testing, and code review assistance. Korean localization wording was manually reviewed in context.
Review
Agent skill upstream boundary
docs/reference/agent-skill-sharing-upstream-boundary.mdand copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.Localization Notes
{{name}}placeholder.사전 설정for the preset in this Sparse UI.Notes
Checklist
pnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass, or any current-head failures are documented above.Author
X: @mors119