Skip to content

revert(tab-group): restore the split pane landing list - #40580

Merged
AmoabaKelvin merged 1 commit into
mainfrom
revert-split-pane-landing-buttons
Nov 10, 2026
Merged

AmoabaKelvin merged 1 commit into
mainfrom
revert-split-pane-landing-buttons

Conversation

@AmoabaKelvin

@AmoabaKelvin AmoabaKelvin commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

ELI5

Puts the empty split pane back to the plain list it had before the outline-button change.

Files Added Deleted Net
Test 0 0 0 0
Prod 3 $\color{#1a7f37}{\Huge{\mathbf{+}}}$​45 $\color{#cf222e}{\Huge{\mathbf{−}}}$​48 $\color{#cf222e}{\Huge{\mathbf{−}}}$​3

What Changed

Reverts #40469. The rows go back to the plain list from #40113, and the agent row is again a single row with a chevron that opens the agent picker.

Why

The outline buttons didn't look right in the app, so they're coming out.

Linked Issue

N/A, revert of #40469.

Visual Proof

N/A: this restores the look from #40113 exactly; that PR has the screenshots.

Testing

pnpm check:changed and pnpm lint pass on the revert. The code is identical to what shipped in #40113, apart from main's later import moves.

  • I manually tested these changes locally
  • Automated tests added/updated, or explained why not below
  • Every added test fails without this change and avoids the test anti-patterns

No tests: this is a revert of a styling change.

Risk

Styling only. The landing goes back to the version that was on main before #40469.

Level: Low

AI Disclosure

Review

Agent skill upstream boundary

  • Not applicable, or this change copies or mechanically translates no upstream skill-installer source, tests, fixtures, registry entries, path tables, comments, or documentation.

Notes

Ensure no issues in: Security, Cross-platform support (Linux, Windows, Mac), Remote SSH, Mobile, general backwards compatibility, performance

Checklist

  • This PR is small and focused
  • I explained what changed and why (ELI5, the user-facing before/after, the mechanism, and why over the alternatives)
  • I stated the risk: what could break, for whom, and how to back it out
  • Before/after screenshots or videos attached for UI changes, or N/A with reason
  • Self-reviewed for correctness, security, and performance
  • Cross-platform, SSH/remote, and path/shortcut impact considered (or N/A)
  • pnpm lint, pnpm typecheck, pnpm test, and pnpm build pass (or CI will cover; local preferred)

Reverts c66199a (#40469). The outline buttons didn't work out; the landing goes back to the plain list from #40113.
@coderabbitai

coderabbitai Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Explain Change →

Walkthrough

The split-pane landing view now uses native buttons for its actions and a shared class for row styling. The agent row uses a full-row launch button and a separate chevron menu trigger. The changes also adjust spacing, button labels, and menu alignment.

Merge Risk: Low · up to 9d649

Keyboard users may have difficulty identifying which landing action is focused. The controls remain usable, so this is a bounded issue to fix or explicitly accept before merging.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title clearly states that this pull request reverts the split-pane landing-list change, which matches the main change.
Description check Passed The description covers the user-facing change, reason, linked change, visual proof, testing, risk, and checklist. It explains why no tests were added and provides an N/A reason for visual proof. The l…
Docstring Coverage Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
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 covers the user-facing change, reason, linked change, visual proof, testing, risk, and checklist. It explains why no tests were added and provides an N/A reason for visual proof. The linked issue is listed as N/A because this is a revert.

Full details: Docstring Coverage

Explanation

Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 2 functions across 3 files.

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

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

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: 50bb5337-f979-4a80-8ac6-0bc33666bc29
Commits

Reviewing files that changed from the base of the PR and between 7777f35 and 9d6490d.

Files selected for processing: 3

  • src/renderer/src/components/tab-group/SplitPaneLanding.tsx
  • src/renderer/src/components/tab-group/SplitPaneLandingAgentRow.tsx
  • src/renderer/src/components/tab-group/split-pane-landing-row.tsx

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

return <span className="min-w-0 flex-1 truncate text-left">{label}</span>
}
export const LANDING_ROW_CLASS =
'flex h-9 w-full items-center gap-3 rounded-md px-2.5 text-sm text-foreground transition-colors hover:bg-accent hover:text-accent-foreground focus-visible:bg-accent focus-visible:text-accent-foreground focus-visible:outline-none'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Functional Correctness · Quick win

Keep a distinct focus indicator on landing buttons.

In the default light theme, focus-visible:bg-accent changes the row from white to #f5f5f5. Line 5 also removes the native outline. Keyboard users can lose track of the focused action. Add a visible focus outline to the shared class. The theme tokens and existing guidance for stronger selected-row styling support this concern. (raw.githubusercontent.com)

Based on learnings, interactive controls need a visible keyboard focus state when their default outline is removed.

Source: Learnings

data-landing-row
className="min-w-0 flex-1 justify-start"
aria-label={label}
className="absolute inset-0 rounded-md focus-visible:outline-none"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Functional Correctness · Quick win

Show focus on the agent launch button.

When the launch button receives keyboard focus, Line 73 removes its outline. The container then changes only to the light theme’s faint accent background. Add a visible outline to the stretched button, or add a contrasting indicator to the container’s :has() focus state. The chevron’s separate focus ring does not identify focus on the launch button. (raw.githubusercontent.com)

Based on learnings, interactive controls need a visible keyboard focus state when their default outline is removed.

Source: Learnings

@AmoabaKelvin
AmoabaKelvin merged commit c856972 into main Nov 10, 2026
41 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