Repository navigation
Show repo icons on compact worktree cards - #5673
Conversation
Co-authored-by: Orca <[email protected]>
|
Ready to review this PR? Stage has broken it down into 3 individual chapters for you:
Chapters generated by Stage for commit e519883 on Jun 18, 2026 4:48am UTC. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✅ Files skipped from review due to trivial changes (1)
📝 WalkthroughWalkthroughIn 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
Co-authored-by: Orca <[email protected]>
Co-authored-by: Orca <[email protected]>
There was a problem hiding this comment.
Actionable comments posted: 1
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID: 0546f653-e8a1-4ffb-8c4f-f9b3fcc32d3a
📒 Files selected for processing (4)
src/renderer/src/components/status-bar/ResourceUsageStatusSegment.tsxsrc/renderer/src/components/status-bar/mergeSnapshotAndSessions.test.tssrc/renderer/src/components/status-bar/mergeSnapshotAndSessions.tssrc/renderer/src/components/status-bar/resource-usage-merge-types.ts
Co-authored-by: Orca <[email protected]>
Co-authored-by: Orca <[email protected]>
Summary
RepoIdentityChip+RepoIconGlyphin the compact title row.hideRepoBadge, and detailed metadata row repo badges.Design Review
design-docs/unify-compact-repo-icon-chip.md(ignored, not included in the PR diff).auto-design-review-fixcompleted 3 iterations and returned clean.hideRepoBadgebehavior, and image-backed icon behavior.Implementation
src/renderer/src/components/sidebar/WorktreeCard.tsx.RepoBadgeMarkrender branch with the sameRepoIconGlyphprops used by pinned cards.Completeness Verification
RepoBadgeMark, SSH indicator remains separate,hideRepoBadgeand pinned de-dupe are preserved, and empty icons still fall back throughRepoIconGlyph.Code Review
review-codereviewers in parallel.Brennan Test Changes
Verdict:
land.brennanb2025/fix-square-badgewith dev root/Users/thebr/orca/workspaces/orca/tang.demo-project; added and removed a temporary disposable repo only to exercise mixed-repo status grouping.Project ...chips with theRepoIdentityChipshell and repo icon glyphs.demo-projectrow and confirmed normal selection behavior..playwright-cli/worktree-card-inline-repo-chip.pngand not committed.brennan-test-sshwas not required because this is renderer-only UI and does not touch SSH, runtime RPC, remote PTY, relay, provider/auth, or git transport behavior.Checks
pnpm exec oxlint src/renderer/src/components/sidebar/WorktreeCard.tsxpassed.pnpm run typecheck:webpassed.git diff --check -- src/renderer/src/components/sidebar/WorktreeCard.tsxpassed.pnpm run typecheckpassed.pnpm run lintpassed, with one unrelated existing warning insrc/renderer/src/components/right-sidebar/SourceControl.tsx:1345.git diff --checkpassed.WorktreeCard.pinned-repo-icon.test.tsxandWorktreeCard.compact-hover.test.tsx, 16 tests total.Assumptions / Risks
Made with Orca 🐋