From 08417c143209a80b4824b5ff7b43f1ac56a8c811 Mon Sep 17 00:00:00 2001 From: venus Date: Mon, 20 Jul 2026 21:40:38 +0200 Subject: [PATCH] feat(web): add tooltip for branch selector --- .../BranchToolbarBranchSelector.tsx | 29 ++++++++++++------- 1 file changed, 19 insertions(+), 10 deletions(-) diff --git a/apps/web/src/components/BranchToolbarBranchSelector.tsx b/apps/web/src/components/BranchToolbarBranchSelector.tsx index e2ee24c3608..63b016538a1 100644 --- a/apps/web/src/components/BranchToolbarBranchSelector.tsx +++ b/apps/web/src/components/BranchToolbarBranchSelector.tsx @@ -611,7 +611,9 @@ export function BranchToolbarBranchSelector({ onClick={() => selectBranch(refName)} >
- {itemValue} + + {itemValue} + {badge && {badge}}
@@ -659,15 +661,22 @@ export function BranchToolbarBranchSelector({ {branchPrTooltip} ) : null} - } - className="min-w-0 text-muted-foreground/70 hover:text-foreground/80" - disabled={isInitialBranchesLoadPending || isBranchActionPending} - > - - {triggerLabel} - - + + } + className="min-w-0 text-muted-foreground/70 hover:text-foreground/80" + disabled={isInitialBranchesLoadPending || isBranchActionPending} + /> + } + > + + {triggerLabel} + + + {triggerLabel} +