refactor(app): extract settings general section owners#679
Conversation
|
Warning You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again! |
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (8)
✨ Finishing Touches🧪 Generate unit tests (beta)
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.
Suggested priority: P2 (includes user-path files (packages/app/src/components/settings-general.tsx, packages/app/src/components/settings-notifications-section.tsx, packages/app/src/components/settings-row.tsx, packages/app/src/components/settings-sounds-section.tsx, packages/app/src/components/settings-updates-section.tsx, packages/app/src/components/settings-web-search-row.tsx, packages/app/src/pages/session/settings-websearch-source.test.ts, packages/app/src/pages/update-install-flow-source.test.ts)).
P1/P0 are reserved for maintainer confirmation. Please relabel manually if this is a release blocker, security issue, data-loss risk, or updater/runtime failure.
Perf delta summaryComparator: pass
|
Summary
Extracts owner components from the oversized General settings surface:
SettingsRowshared settings row wrapperSettingsWebSearchRowfor Web Search status/manage/toggle controlsSettingsNotificationsSectionfor notification togglesSettingsSoundsSectionfor sound selects and preview playback ownershipSettingsUpdatesSectionfor update toggles/check flowsettings-general.tsxdrops from 733 LOC ondevto 367 LOC in this PR.Why
This is a #604 settings-lane frontend governance slice. The goal is to make the General settings surface agent-readable without changing behavior or mixing in unrelated settings work.
Related Issue
Part of #604.
Human Review Status
Pending. A human should make the final merge decision after reviewing the final diff and verification evidence.
Review Focus
settings-general.tsxnow delegates section ownership cleanly.Topology
devcodex/settings-websearch-row-ownerTouched Files
packages/app/src/components/settings-general.tsxpackages/app/src/components/settings-row.tsxpackages/app/src/components/settings-web-search-row.tsxpackages/app/src/components/settings-notifications-section.tsxpackages/app/src/components/settings-sounds-section.tsxpackages/app/src/components/settings-updates-section.tsxpackages/app/src/pages/session/settings-websearch-source.test.tspackages/app/src/pages/update-install-flow-source.test.tsRisk Notes
Behavior should be unchanged. Risk is import wiring or source-contract drift after moving row/section owners. No dependency, migration, data, credential, or platform behavior changes are intended.
How To Verify
Screenshots or Recordings
Not captured. This PR is a structure-only extraction with no intended visual change; the visible row/action contracts are covered by focused source tests and typecheck.
Checklist
dev, and my PR title and commit messages use Conventional Commits in English