The new branch will be created from this branch.
@@ -233,36 +227,16 @@ export function CreateWorktreeDialog({
) : (
-
+ placeholder="Select a branch to check out"
+ include={isCheckoutCandidate}
+ remotes="bare"
+ ariaLabel="Branch to check out"
+ />
The worktree will check out the selected branch. Remote branches are limited to origin.
diff --git a/frontend/src/components/repo/MultiRunDialog.tsx b/frontend/src/components/repo/MultiRunDialog.tsx
index 4814b797..8c70a8ed 100644
--- a/frontend/src/components/repo/MultiRunDialog.tsx
+++ b/frontend/src/components/repo/MultiRunDialog.tsx
@@ -12,7 +12,7 @@ import { Badge } from '@/components/ui/badge'
import { Label } from '@/components/ui/label'
import { ConfirmDestructiveDialog } from '@/components/ui/confirm-destructive-dialog'
import { SessionStatusIndicator } from '@/components/ui/session-status-indicator'
-import { BaseBranchSelect } from '@/components/repo/BaseBranchSelect'
+import { BranchCombobox } from '@/components/repo/BranchCombobox'
import { useProvidersWithModels } from '@/hooks/useProvidersWithModels'
import { useOpenCodeModelState } from '@/hooks/useModelSelection'
import { useDiscardMultiRunEntry, useLaunchMultiRun, useMultiRuns } from '@/hooks/useMultiRuns'
@@ -279,12 +279,13 @@ export function MultiRunDialog({
{isolate && (
-
Each isolated workspace starts from this branch.
diff --git a/frontend/src/components/schedules/GeneralTab.tsx b/frontend/src/components/schedules/GeneralTab.tsx
index ab545906..2767d68c 100644
--- a/frontend/src/components/schedules/GeneralTab.tsx
+++ b/frontend/src/components/schedules/GeneralTab.tsx
@@ -1,4 +1,5 @@
import { Combobox, type ComboboxOption } from '@/components/ui/combobox'
+import { BranchCombobox } from '@/components/repo/BranchCombobox'
import { Input } from '@/components/ui/input'
import { Label } from '@/components/ui/label'
import { Switch } from '@/components/ui/switch'
@@ -21,8 +22,7 @@ type GeneralTabProps = {
onEnabledChange: (value: boolean) => void
branch: string
onBranchChange: (value: string) => void
- branchOptions: ComboboxOption[]
- branchesLoading: boolean
+ branchRepoId: number | undefined
showRepoSelector?: boolean
isEditing: boolean
repoId?: number
@@ -63,8 +63,7 @@ export function GeneralTab({
onEnabledChange,
branch,
onBranchChange,
- branchOptions,
- branchesLoading,
+ branchRepoId,
showRepoSelector,
isEditing,
repoId,
@@ -159,14 +158,14 @@ export function GeneralTab({