Skip to content

refactor(projects): group project surfaces by feature owner - #42339

Merged
nwparker merged 1 commit into
mainfrom
module-layout-v2/project-surface-owners-6dfb813
Nov 14, 2026
Merged

nwparker merged 1 commit into
mainfrom
module-layout-v2/project-surface-owners-6dfb813

Conversation

@nwparker

@nwparker nwparker commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Group project files by the feature they implement, so developers can find the picker, cells, table, board, roadmap, and row actions without searching one crowded folder. Users should see the same project views as before.

What Changed

Move 47 whole modules into concrete feature folders, keeping the substantive ProjectViewWrapper composition and cross-layout ProjectGroupHeader at the root. Put the group-sort test beside its shared implementation owner. Update all concrete imports and fixture/mock requests directly.

Remove three duplicate forwarded exports from ProjectPicker while preserving its existing direct eager imports. Two borrowed dialog-origin types now import from their defining owner. No barrels, compatibility wrappers, production-body changes, or persisted-data/protocol changes. Active compiler path baselines move with their owners; historical CI timings remain unchanged.

Touched test cleanup follows repository policy: retire a provider-render/normalization pipeline matrix and work-count/capability-only cases, remove mocked-query assertions and dead sole support, and retain real awaited pagination delivery plus all pure owning cases. No new assertions or waits. The touched test scope goes from 26 to 15 runner cases and 43 to 21 direct assertions; all retained producer/readiness behavior remains intact.

Why

The project root mixed unrelated display, selection, cache, mutation, and error concerns. Concrete domain folders make ownership clear while preserving module initialization and component/hook ownership.

Linked Issue

Maintainer-directed cleanup; no existing linked issue applies. The full tracker and detailed evidence remain local as requested.

Visual Proof

N/A — no visual or interaction change. Local hidden Electron rendered validation is recorded below; no planning or image files are committed.

Testing

  • Manual desktop interaction: not performed; rendered validation uses hidden Electron to avoid taking focus.
  • Automated tests updated under repository policy; no tests added.
  • No added tests; retained owning behavior assertions and synchronization remain unchanged.

Local macOS: 15 owning unit cases across six files, full typechecks, desktop production and E2E builds, and web build verification passed. A hidden Electron board test passed: card drops settle optimistically, failed clears roll back, and overflow cards/columns remain scrollable. Current-run rendered screenshots were inspected in dark mode and after rollback. Commit hooks passed without changing the reviewed tree. All 39 pnpm check:changed checks passed, including the broad related-unit selection. CI passed all 12 unit shards, static/type checks, Linux/Windows packaging, and the required aggregate gate. The general changed-E2E job remains advisory and running; full workflow completion is not claimed.

Live GitHub account interactions, SSH-host project loading, mobile interactions, and native-focus flows were not exercised locally. Production bodies and host-qualified runtime/cache ownership are preserved.

Risk

Level: Low. Incorrect import transport could prevent a project view from loading or alter cache/initialization ownership. Two independent source audits and a separate test audit verified whole production bodies, bindings, original eager requests, module initializers, host keys, cache lifetime, and nested slug-dialog owners against the exact candidate. A plain revert restores the old layout; no persisted-data migration needs undoing.

AI Disclosure

N/A — internal maintainer-directed work.

Review

Two independent native Codex source audits and a separate test audit passed. No human approval is claimed. Hosted CodeRabbit review passed with no actionable comments; it noted owner awareness of the deliberate test-policy reductions described above.

Agent skill upstream boundary

  • Not applicable: no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation copied or translated.

Checklist

  • Focused project ownership batch; intentionally larger at the maintainer's request.
  • Change and purpose explained above.
  • Risk and plain-revert recovery stated.
  • Visual proof marked N/A with reason.
  • Self-reviewed correctness, security, and performance; independent source audits passed.
  • Cross-platform, remote-host, mobile, folder-workspace, path, and shortcut impact considered; existing behavior preserved.
  • Final local changed lint/type/test gates and desktop/web builds passed; required hosted CI will be verified before merge.

@coderabbitai

coderabbitai Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Import paths across the GitHub project components are updated for nested picker, view, table, board, roadmap, and related component locations. The compiler-bailout baseline reflects the nested paths. ProjectPicker no longer re-exports three symbols. The provider-columns test fixture and suite are reduced, including removal of several test cases and assertions.

Merge Risk: Minimal · up to c3dbe

This refactor reorganizes the GitHub project components into feature folders without changing behavior. No concrete merge-blocking risk was found. The reduced provider-columns test coverage is worth owner awareness.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title uses a conventional commit format and names the main change: reorganizing project surfaces into feature-owned folders. The raw summary confirms the bulk of the changeset is moving github-pro…
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.
Description check Passed The description follows the repository template and covers most required sections. It has an ELI5, a What Changed section that lists the 47-module move, the removed ProjectPicker re-exports, and the t…
Full details: Title check

Explanation

The title uses a conventional commit format and names the main change: reorganizing project surfaces into feature-owned folders. The raw summary confirms the bulk of the changeset is moving github-project modules into feature subdirectories (picker, cells, table, board, roadmap, row-actions, view, auth-errors, slug-dialog), with import path updates and a removed set of re-exports. The title is concise, specific, and does not include file lists or vague terms.

Full details: Description check

Explanation

The description follows the repository template and covers most required sections. It has an ELI5, a What Changed section that lists the 47-module move, the removed ProjectPicker re-exports, and the test cleanup. It has a Why section, a Visual Proof marked N/A with a reason, a Testing section with local macOS and CI results, a Risk section with level Low and a plain-revert recovery path, an AI Disclosure marked N/A, and a completed upstream-boundary checklist. The Linked Issue section is the main gap. The template says there should always be a linked issue for outside contributors. This author is a maintainer, so the special case applies, and the text says no existing issue applies. The Testing checklist also leaves the manual test box unchecked and explains why in prose. The Notes section of the template is not addressed directly, and the description does not state whether the Security, Cross-platform, Remote SSH, Mobile, and performance concerns were reviewed beyond a general checklist line. These gaps are non-critical, so the check passes.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Warning

Some tools did not complete. Review the errors below.

LanguageTool

config/react-compiler-bailout-baseline.txt

LanguageTool could not check every text chunk; analysis is incomplete

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

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: 314e7ae7-330f-481d-acd0-7cf9f95c8a58
Commits

Reviewing files that changed from the base of the PR and between 6dfb813 and c3dbe33.

Files selected for processing: 53

  • config/react-compiler-bailout-baseline.txt
  • src/renderer/src/components/github-project/ProjectViewWrapper.tsx
  • src/renderer/src/components/github-project/auth-errors/GhAuthErrorHelp.tsx
  • src/renderer/src/components/github-project/auth-errors/project-view-error-copy.ts
  • src/renderer/src/components/github-project/board/ProjectBoard.tsx
  • src/renderer/src/components/github-project/board/ProjectBoardCard.tsx
  • src/renderer/src/components/github-project/cells/ProjectCell.test-fixture.tsx
  • src/renderer/src/components/github-project/cells/ProjectCell.tsx
  • src/renderer/src/components/github-project/cells/ProjectCellIdentity.tsx
  • src/renderer/src/components/github-project/cells/ProjectCellIssueType.tsx
  • src/renderer/src/components/github-project/cells/ProjectCellRepositoryEditors.tsx
  • src/renderer/src/components/github-project/cells/ProjectCellSelectionEditors.tsx
  • src/renderer/src/components/github-project/cells/ProjectCellValueEditors.tsx
  • src/renderer/src/components/github-project/cells/project-cell-chip-colors.ts
  • src/renderer/src/components/github-project/picker/ProjectPicker.tsx
  • src/renderer/src/components/github-project/picker/ProjectPickerBrowse.tsx
  • src/renderer/src/components/github-project/picker/ProjectPickerPanels.tsx
  • src/renderer/src/components/github-project/picker/github-project-picker-filter.test.ts
  • src/renderer/src/components/github-project/picker/github-project-picker-filter.ts
  • src/renderer/src/components/github-project/picker/project-picker-browse-cache.ts
  • src/renderer/src/components/github-project/picker/project-picker-input.test.ts
  • src/renderer/src/components/github-project/picker/project-picker-input.ts
  • src/renderer/src/components/github-project/picker/project-picker-runtime.ts
  • src/renderer/src/components/github-project/picker/project-picker-selection.ts
  • src/renderer/src/components/github-project/picker/useProjectPickerBrowse.ts
  • src/renderer/src/components/github-project/roadmap/ProjectRoadmap.tsx
  • src/renderer/src/components/github-project/roadmap/ProjectRoadmapBar.tsx
  • src/renderer/src/components/github-project/roadmap/roadmap-tick-format.ts
  • src/renderer/src/components/github-project/roadmap/roadmap-zoom-preference.ts
  • src/renderer/src/components/github-project/row-actions/ProjectMissingRepoDialog.tsx
  • src/renderer/src/components/github-project/row-actions/project-dialog-state.test.ts
  • src/renderer/src/components/github-project/row-actions/project-dialog-state.ts
  • src/renderer/src/components/github-project/row-actions/project-view-wrapper-source-context-boundary.test.ts
  • src/renderer/src/components/github-project/row-actions/project-work-item.ts
  • src/renderer/src/components/github-project/row-actions/useProjectRowActions.ts
  • src/renderer/src/components/github-project/row-actions/useProjectRowMutations.ts
  • src/renderer/src/components/github-project/slug-dialog/Comments.tsx
  • src/renderer/src/components/github-project/slug-dialog/ProjectItemSlugDialog.tsx
  • src/renderer/src/components/github-project/slug-dialog/SlugDialogBody.tsx
  • src/renderer/src/components/github-project/table/ColumnResizeHandle.tsx
  • src/renderer/src/components/github-project/table/ProjectRow.tsx
  • src/renderer/src/components/github-project/table/ProjectViewList.fixture.tsx
  • src/renderer/src/components/github-project/table/ProjectViewList.tsx
  • src/renderer/src/components/github-project/table/column-widths.ts
  • src/renderer/src/components/github-project/table/columns.ts
  • src/renderer/src/components/github-project/view/ProjectViewStates.tsx
  • src/renderer/src/components/github-project/view/ProjectViewToolbar.tsx
  • src/renderer/src/components/github-project/view/project-row-filtering.ts
  • src/renderer/src/components/github-project/view/project-visible-table-cache.ts
  • src/renderer/src/components/github-project/view/useProjectViewTable.ts
  • src/renderer/src/store/github/task-records/task-record-cache.ts
  • src/shared/github/projects/project-group-sort.test.ts
  • tests/e2e/github-project-provider-columns.unit.test.ts

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

@nwparker
nwparker merged commit c6ee2a7 into main Nov 14, 2026
47 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