Skip to content

fix(sidebar): remove Claude subagent-view eye indicator - #34558

Merged
OrcaWin merged 2 commits into
mainfrom
OrcaWin/eyeball-claude
Oct 27, 2026
Merged

OrcaWin merged 2 commits into
mainfrom
OrcaWin/eyeball-claude

Conversation

@OrcaWin

@OrcaWin OrcaWin commented Oct 27, 2026 •

Copy link
Copy Markdown
Collaborator
Files Added Deleted Net
Test 0 0 0 0
Prod 6 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​5 $\color{#cf222e}{\Huge{\mathbf{−}}}$​91 $\color{#cf222e}{\Huge{\mathbf{−}}}$​86

Summary

The Claude sub-agent switcher marked the viewed row in the worktree sidebar (and agent dashboard) with an eye icon, including on Claude rows that have no sub-agents at all. That indicator is removed entirely:

  • No sub-agents → nothing. Main-session rows get no marker.
  • Expanded: the viewed sub-agent row is marked only by the existing current-row highlight (bg-worktree-sidebar-accent, per STYLEGUIDE's "persistent current row" rule).
  • Collapsed: no indicator. It was too much noise on the parent row and the workspace summary pill.
  • Deleted ClaudeAgentViewIndicator, its i18n strings, and the now-unused fields from useClaudeAgentRowView.

Visual proof

Left = before, right = after. Rendered from the real CompactAgentRow with a stubbed agent-view snapshot.

Dark

compare dark

Light

compare light

Testing

  • pnpm check:changed --maxWorkers=2 passes

@OrcaWin
OrcaWin requested a review from brennanb2025 as a code owner October 27, 2026 21:59
@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: 9eb80978-7452-4a99-83a5-7bac62407eb8
Commits

Reviewing files that changed from the base of the PR and between c791ee2 and d33f866.

Files selected for processing: 2
  • src/renderer/src/components/ClaudeAgentViewIndicator.tsx
  • src/renderer/src/i18n/locales/en.json
Files with no reviewable changes: 1
  • src/renderer/src/i18n/locales/en.json

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

Walkthrough

ClaudeAgentViewIndicator now renders a named badge only for eligible subagent views. It no longer displays a badge for the current view or accepts the showName option. Rendered badges use the subagent label and include a return hint in the tooltip. ClaudeAgentSummaryViewIndicator passes the view-hook result directly. The English locale no longer includes the current-view label.

Priority: Low

Merge Risk: Minimal · up to d33f8

The indicator changes match the intended current-row and collapsed-subagent behavior and are ready to merge.

Pre-merge checks: Passed 3 · Failed 2

Failed Failed checks: 2 warnings

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Documentation-only edits and deletions within surv… Write docstrings for the functions missing them to satisfy the coverage threshold.
Description check Warning The description explains the user-facing change and includes visual proof and testing results, but it omits required sections such as ELI5, What Changed, Why, Linked Issue, checklist confirmations, an… Complete the required template sections. Add an ELI5 summary, detailed What Changed and Why sections, a valid Linked Issue entry, AI Disclosure if applicable, Review and Notes details, Agent skill upstream boundary status, checklist confirm…
Passed Passed checks: 3 passed
Check name Status Explanation
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.
Title check Passed The title clearly identifies the main change: removing the Claude subagent-view eye indicator from the sidebar.
Full details: Docstring Coverage

Explanation

Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. 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 2 functions across 1 files.

Resolution

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

Full details: Description check

Explanation

The description explains the user-facing change and includes visual proof and testing results, but it omits required sections such as ELI5, What Changed, Why, Linked Issue, checklist confirmations, and cross-platform considerations.

Resolution

Complete the required template sections. Add an ELI5 summary, detailed What Changed and Why sections, a valid Linked Issue entry, AI Disclosure if applicable, Review and Notes details, Agent skill upstream boundary status, checklist confirmations, and the required N/A explanation if any visual-proof requirement does not apply.

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.

@OrcaWin OrcaWin changed the title fix(sidebar): drop Claude subagent-view eye icon fix(sidebar): remove Claude subagent-view eye indicator Oct 27, 2026
@OrcaWin
OrcaWin merged commit ef21574 into main Oct 27, 2026
4 checks passed
OrcaWin added a commit that referenced this pull request Nov 8, 2026
- profile-state restart: runNow now returns the saved pending row (#38217)
- codex account switch: click the backdrop clear of the sidebar seam strip (#38288)
- claude sidebar agent view: drop the removed subagent indicator check (#34558)
- IME preedit continuity: refit after changing the font, like font zoom
- agent send picker: bind local fixture panes to a live PTY so reattach keeps them
OrcaWin added a commit that referenced this pull request Nov 8, 2026
- profile-state restart: runNow now returns the saved pending row (#38217)
- codex account switch: click the backdrop clear of the sidebar seam strip (#38288)
- claude sidebar agent view: drop the removed subagent indicator check (#34558)
- IME preedit continuity: refit after changing the font, like font zoom
- agent send picker: bind local fixture panes to a live PTY so reattach keeps them

Co-authored-by: OrcaWin <[email protected]>
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