Repository navigation
Move language setting to primary interface section - #10594
Conversation
Language is a first-class presentation preference alongside Theme and Zoom, so it shouldn't be buried in the Advanced disclosure. Advanced now contains only platform-chrome controls.
|
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 (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe Appearance settings now treat Language as a primary setting rather than an advanced platform-chrome setting. Advanced filtering is limited to titlebar, system tray, and menu bar icon controls. The Language selector is rendered in the main section when enabled, uses the derived title and entry metadata, updates 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 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.
🧹 Nitpick comments (1)
src/renderer/src/components/settings/AppearancePane.test.tsx (1)
206-207: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueRemove redundant test comments.
The test name already states this behavior. As per coding guidelines, comments must be concise, limited to non-obvious information, and preferably one line.
Source: Coding guidelines
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro Plus
Run ID: 829416d6-3c1f-44dc-ad9f-fbc2d46e95ca
📒 Files selected for processing (2)
src/renderer/src/components/settings/AppearanceInterfaceSection.tsxsrc/renderer/src/components/settings/AppearancePane.test.tsx
Extracts the interface summary logic into a dedicated module that includes theme, language, and font selections. This makes the chosen language visible in the collapsed Interface section summary, addressing the discoverability issue where language was hidden until Advanced was expanded.
…age-is-buried-inside-a-collapsed-advance
* Move language setting to primary interface section Language is a first-class presentation preference alongside Theme and Zoom, so it shouldn't be buried in the Advanced disclosure. Advanced now contains only platform-chrome controls. * Show selected language in Interface section summary Extracts the interface summary logic into a dedicated module that includes theme, language, and font selections. This makes the chosen language visible in the collapsed Interface section summary, addressing the discoverability issue where language was hidden until Advanced was expanded.
Fixes #10591
Summary
Moves the UI language setting from the collapsed Advanced disclosure to the primary Interface section, alongside Theme, Zoom, and Font preferences. This improves discoverability of a first-class presentation setting. The collapsed Interface summary now includes the selected language when the setting is enabled.
Screenshots
Visible layout change (no assets attached):
Testing
pnpm lintpnpm typecheckpnpm test(AppearancePane unit tests)pnpm buildAI Review Report
Review findings addressed:
Security Audit
No security implications.
Notes
Language is now a primary interface setting with Theme, Zoom, and Typography. Advanced section contains only platform chrome controls (Titlebar, System Tray, Menu Bar Icon).