Skip to content

Revert child workspace status summary toggle - #32842

Merged
AmethystLiang merged 2 commits into
mainfrom
revert-32224-child-worktree-display
Oct 23, 2026
Merged

AmethystLiang merged 2 commits into
mainfrom
revert-32224-child-worktree-display

Conversation

@AmethystLiang

@AmethystLiang AmethystLiang commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor
Files Added Deleted Net
Test 1 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​1 $\color{#cf222e}{\Huge{\mathbf{−}}}$​6 $\color{#cf222e}{\Huge{\mathbf{−}}}$​5
Prod 15 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​51 $\color{#cf222e}{\Huge{\mathbf{−}}}$​183 $\color{#cf222e}{\Huge{\mathbf{−}}}$​132

Summary

Reverts #32224, which added child-worktree status counts to the children toggle. This restores the prior compact child-workspace control shown before that change.

Verification

  • pnpm exec vitest run --config config/vitest.config.ts src/renderer/src/components/sidebar/worktree-list-groups-lineage-nesting.test.ts
  • pnpm tc:web

Requested to revert the recently merged child-worktree display styling change.

@coderabbitai

coderabbitai Bot commented Oct 23, 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: 3a3e5da1-ed68-4923-87ba-accd10d58a88
📥 Commits

Reviewing files that changed from the base of the PR and between 89e93cf and bf01669.

📒 Files selected for processing: 10
  • src/renderer/src/components/sidebar/WorktreeCard.tsx
  • src/renderer/src/components/sidebar/WorktreeLineageToggle.tsx
  • src/renderer/src/components/sidebar/worktree-card-model.ts
  • src/renderer/src/components/sidebar/worktree-card-secondary-rows.tsx
  • src/renderer/src/components/sidebar/worktree-list-groups-lineage-nesting.test.ts
  • src/renderer/src/components/sidebar/worktree-list/rows/item-row.tsx
  • src/renderer/src/i18n/en-runtime-required.json
  • src/renderer/src/i18n/locales/en.json
  • src/shared/sidebar-list/row-builders.ts
  • src/shared/sidebar-list/row-types.ts
💤 Files with no reviewable changes: 6
  • src/renderer/src/components/sidebar/WorktreeLineageToggle.tsx
  • src/renderer/src/components/sidebar/worktree-list/rows/item-row.tsx
  • src/renderer/src/components/sidebar/worktree-card-model.ts
  • src/renderer/src/components/sidebar/WorktreeCard.tsx
  • src/shared/sidebar-list/row-types.ts
  • src/renderer/src/i18n/en-runtime-required.json

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

📝 Walkthrough

The change removes lineageChildWorktreeIds from sidebar row data, card props, and the controller call. The secondary rows now render the lineage toggle as an inline button, using the existing collapsed state, accessible label, and toggle callback. The old toggle component and its translation entries are removed. Tests retain checks for child count and collapsed state without checking child ID lists.

Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to bf016

The compact child-workspace control appears ready to merge after normal checks.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Description check Warning The description explains the main change and lists verification commands, but it does not follow the required template. It omits the required linked issue, visual proof or an N/A explanation, testing … Update the description to use the repository template. Add an actual linked issue under “Linked Issue,” provide before-and-after visual proof or explain why it is N/A, complete the Testing and Checklist sections, and address the remaining r…
Docstring Coverage Warning 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 3 files. (1 skipped: 1 … Write docstrings for the functions missing them to satisfy the coverage threshold.
Passed Passed checks: 3 passed
Check name Status Explanation
Title check Passed The title accurately identifies the main change: reverting the child workspace status summary toggle. It is concise and specific.
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: Description check

Explanation

The description explains the main change and lists verification commands, but it does not follow the required template. It omits the required linked issue, visual proof or an N/A explanation, testing checklist, notes, and other required sections.

Resolution

Update the description to use the repository template. Add an actual linked issue under “Linked Issue,” provide before-and-after visual proof or explain why it is N/A, complete the Testing and Checklist sections, and address the remaining required sections.

Full details: Docstring Coverage

Explanation

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 3 files. (1 skipped: 1 unsupported.)

Resolution

Write docstrings for the functions missing them to satisfy the coverage threshold.

✨ Finishing Touches: 💡 1
📝 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.

@AmethystLiang
AmethystLiang merged commit 965d6d1 into main Oct 23, 2026
31 of 32 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