@@ -201,10 +202,17 @@ type LandingRow = {
function LandingRowButton({ row }: { row: LandingRow }): React.JSX.Element {
const Icon = row.icon
return (
-
)
}
diff --git a/src/renderer/src/components/tab-group/SplitPaneLandingAgentRow.tsx b/src/renderer/src/components/tab-group/SplitPaneLandingAgentRow.tsx
index 5f3be9f4759..5e6a95c40ed 100644
--- a/src/renderer/src/components/tab-group/SplitPaneLandingAgentRow.tsx
+++ b/src/renderer/src/components/tab-group/SplitPaneLandingAgentRow.tsx
@@ -2,7 +2,8 @@ import { Bot, ChevronDown } from 'lucide-react'
import { useAppStore } from '../../store'
import { useShortcutKeyDetails } from '@/hooks/useShortcutLabel'
import { useTranslate } from '@/i18n/use-translate'
-import { cn } from '@/lib/utils'
+import { Button } from '@/components/ui/button'
+import { ButtonGroup } from '@/components/ui/button-group'
import { getAgentCatalog } from '@/lib/agent-catalog/agent-catalog'
import { AgentIcon } from '@/components/agent/icons/AgentIcon'
import { focusTerminalTabSurface } from '@/lib/focus-terminal-tab-surface'
@@ -18,9 +19,9 @@ import {
resolveTerminalAgentTabShortcut
} from '../terminal-agent-tab-shortcut'
import { launchAgentTabShortcut } from '../agent-tab-shortcut-launch'
-import { LANDING_ROW_CLASS, LandingRowShortcut } from './split-pane-landing-row'
+import { LandingRowLabel, LandingRowShortcut } from './split-pane-landing-row'
-/** The default agent as one row; the chevron opens the + menu's agent list for any other. */
+/** The default agent as a split button; the chevron opens the + menu's agent list for any other. */
export function SplitPaneLandingAgentRow({
worktreeId,
groupId,
@@ -59,36 +60,32 @@ export function SplitPaneLandingAgentRow({
}
return (
- // Why: a stretched button keeps the row one click target while the chevron stays its own button.
-