refactor(ui): unify branch pickers into searchable BranchCombobox

Rename BaseBranchSelect to BranchCombobox and rebuild it on the shared
Combobox with an include filter, configurable remote prefixing, and
clearing. Add a useRepoBranches hook and migrate the worktree, integrate,
multi-run, and schedule dialogs onto it. Expose id and ARIA listbox/option
roles from Combobox, and add bg-background to the form prompt panels.
This commit is contained in:
Chris Scott committed 2026-10-04 16:34:22 -04:00
1 parent 092add1eb1
commit 27860224dc
12 files changed
+157 -167

No files matched your search

@@ -10,7 +10,7 @@ interface MinimizedFormIndicatorProps {
export function MinimizedFormIndicator({ form, onRestore, onDismiss }: MinimizedFormIndicatorProps) {
return (
<div className="w-full bg-gradient-to-br from-highlight/10 to-highlight/20 border-2 border-highlight/40 rounded-lg shadow-lg mb-2 overflow-hidden">
<div className="w-full bg-background bg-gradient-to-br from-highlight/10 to-highlight/20 border-2 border-highlight/40 rounded-lg shadow-lg mb-2 overflow-hidden">
<div className="flex items-center px-3 py-2 sm:px-4 sm:py-2.5 border-b border-highlight/20 bg-highlight/5">
<button
onClick={onRestore}