Skip to content

refactor: group repository settings composition - #34347

Merged
nwparker merged 1 commit into
mainfrom
nwparker/refactor-repository-settings-pr07
Oct 27, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/refactor-repository-settings-pr07

Conversation

@nwparker

@nwparker nwparker commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Repository settings composition and its search/navigation owners still lived beside unrelated settings modules. Move the six production modules and three existing suites into settings/repository/, update all ten callers and their concrete imports, and remove RepositoryPane’s search-entry forwarding export.

The existing component bodies, state ownership, host routing, mock targets and translation keys are preserved. Three test timing keys move with their existing values.

Validation: 75 tests across seven suites, renderer typecheck, changed-code quality, formatting and removed-owner scan passed. Both independent native source audits and required hosted CI passed.

@coderabbitai

coderabbitai Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review.

Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: ac8c4663-1239-406c-902d-43da57ae0591
Commits

Reviewing files that changed from the base of the PR and between becf899 and f57cc7f.

Files selected for processing: 20
  • config/scripts/ci-shard-timings.json
  • src/renderer/src/components/feature-wall/FeatureWallSetupWorkflowActions.tsx
  • src/renderer/src/components/right-sidebar/source-control-ai-settings-navigation.ts
  • src/renderer/src/components/settings/SourceControlAiActionRecipeDefaults.tsx
  • src/renderer/src/components/settings/repository/RepositoryGitHubAccountSection.inventory-lifetime.test.tsx
  • src/renderer/src/components/settings/repository/RepositoryGitHubAccountSection.test.tsx
  • src/renderer/src/components/settings/repository/RepositoryGitHubAccountSection.tsx
  • src/renderer/src/components/settings/repository/RepositoryPane.test.ts
  • src/renderer/src/components/settings/repository/RepositoryPane.tsx
  • src/renderer/src/components/settings/repository/RepositoryRemoveProjectButton.tsx
  • src/renderer/src/components/settings/repository/execution/RepositoryHooksSection.tsx
  • src/renderer/src/components/settings/repository/repository-git-author-search-entries.ts
  • src/renderer/src/components/settings/repository/repository-search.ts
  • src/renderer/src/components/settings/repository/repository-settings-targets.ts
  • src/renderer/src/components/settings/repository/source-control/RepositorySourceControlAiActionRows.tsx
  • src/renderer/src/components/settings/repository/source-control/RepositorySourceControlAiSection.tsx
  • src/renderer/src/components/settings/settings-project-section-renderer.tsx
  • src/renderer/src/components/sidebar/open-setup-script-settings.ts
  • src/renderer/src/components/sidebar/worktree-list/rows/repo-header-project-actions.tsx
  • src/renderer/src/hooks/settings-navigation-remote-sections.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 2 remain after this review.

Walkthrough

Repository settings components, their callers, tests, and mocks now use import paths that match the repository directory structure. RepositoryPane no longer re-exports getRepositoryPaneSearchEntries. Three CI timing keys include the repository/ directory, and their timing values are unchanged.

Priority: Low

Merge Risk: Minimal · up to f57cc

The repository-settings relocation preserves working imports, exports, and test timing configuration.

Pre-merge checks: Passed 4 · Failed 1

Failed Failed checks: 1 warning

Check name Status Explanation Resolution
Description check Warning The description gives a concise account of the repository-settings move: six production modules and three test suites moved into settings/repository/, ten callers updated, and RepositoryPane's search-… Add the required template sections: an ELI5 summary in plain language; a What Changed section that covers the user-visible before/after; a Why section that explains the problem and why this approach beats the alternatives; a Linked Issue wi…
Passed Passed checks: 4 passed
Check name Status Explanation
Title check Passed The title "refactor: group repository settings composition" matches the main change. The PR moves six production modules and three test suites into settings/repository/, updates callers and imports,…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within survi…
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.
Full details: Title check

Explanation

The title "refactor: group repository settings composition" matches the main change. The PR moves six production modules and three test suites into settings/repository/, updates callers and imports, and removes a re-export. The title names the grouping of repository settings, which is the primary intent. It does not mention the removed re-export, but that is a secondary detail.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 19 files. (1 skipped: 1 unsupported.)

Full details: Description check

Explanation

The description gives a concise account of the repository-settings move: six production modules and three test suites moved into settings/repository/, ten callers updated, and RepositoryPane's search-entry forwarding export removed. It also reports validation (75 tests across seven suites, typecheck, lint/format, scan) and says the native audits and hosted CI passed. It is still missing the template's ELI5, What Changed (user-facing before/after), Why, Linked Issue, Visual Proof, Testing checkboxes, AI Disclosure, Review, and Checklist sections. Because the template is largely unfilled, the description is incomplete.

Resolution

Add the required template sections: an ELI5 summary in plain language; a What Changed section that covers the user-visible before/after; a Why section that explains the problem and why this approach beats the alternatives; a Linked Issue with an actual issue reference ("Fixes #..."); a Visual Proof section stating N/A with a reason, since the change is a refactor with no visual change, or attaching before/after evidence; the Testing checkboxes, with the manual test platforms named; the AI Disclosure section, or a note that it does not apply; the Review and Agent skill upstream boundary checkboxes; Notes on security, cross-platform, SSH, mobile, backward compatibility, and performance; and the Checklist items marked.

Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@nwparker
nwparker merged commit 3b7ee71 into main Oct 27, 2026
33 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant