diff --git a/frontend/src/components/settings/ExecutorProfileSelector.tsx b/frontend/src/components/settings/ExecutorProfileSelector.tsx index 6e309b33..b988cd99 100644 --- a/frontend/src/components/settings/ExecutorProfileSelector.tsx +++ b/frontend/src/components/settings/ExecutorProfileSelector.tsx @@ -20,7 +20,6 @@ type Props = { disabled?: boolean; showLabel?: boolean; showVariantSelector?: boolean; - className?: string; }; function ExecutorProfileSelector({ @@ -30,7 +29,6 @@ function ExecutorProfileSelector({ disabled = false, showLabel = true, showVariantSelector = true, - className = '', }: Props) { if (!profiles) { return null; @@ -58,12 +56,12 @@ function ExecutorProfileSelector({ const hasVariants = currentProfile && Object.keys(currentProfile).length > 0; return ( -
+
{/* Executor Profile Selector */} -
+
{showLabel && ( )} @@ -106,9 +104,9 @@ function ExecutorProfileSelector({ selectedProfile && hasVariants && currentProfile && ( -
+
@@ -146,9 +144,9 @@ function ExecutorProfileSelector({ selectedProfile && !hasVariants && currentProfile && ( -
+
)} diff --git a/frontend/src/components/tasks/Toolbar/CreateAttempt.tsx b/frontend/src/components/tasks/Toolbar/CreateAttempt.tsx index 099c1586..5231e191 100644 --- a/frontend/src/components/tasks/Toolbar/CreateAttempt.tsx +++ b/frontend/src/components/tasks/Toolbar/CreateAttempt.tsx @@ -12,6 +12,7 @@ import { ExecutorProfileSelector } from '@/components/settings'; import { useKeyboardShortcuts } from '@/lib/keyboard-shortcuts.ts'; import { showModal } from '@/lib/modals'; import { Card } from '@/components/ui/card'; +import { Label } from '@/components/ui/label'; type Props = { task: Task; @@ -146,13 +147,23 @@ function CreateAttempt({
- {/* Step 1: Choose Base Branch */} -
-
- + {/* Top Row: Executor Profile and Variant (spans 2 columns) */} + {availableProfiles && ( +
+
+ )} + + {/* Bottom Row: Base Branch and Start Button */} +
+
- {/* Step 2 & 3: Choose Profile and Variant */} - {availableProfiles && ( - - )} - - {/* Step 3: Start Attempt */}
+