From 508c9fe3199f84209f9b2d83a799d03a40533d0c Mon Sep 17 00:00:00 2001 From: Taylor Bombay Date: Sat, 12 Sep 2026 06:53:24 +0000 Subject: [PATCH] feat(action-bar): highlight push when work is available - Use default styling for publishable or pushable branches - Use outline styling when no push action is needed --- src/renderer/App.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index 2add99a..67ac481 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -10233,6 +10233,11 @@ function ActionBar({ : undefined; const publishInsteadOfPush = shouldPublishInsteadOfPush(summary); const pushableCommitCount = getPushableCommitCount(summary); + const pushVariant = runningAction === "push" + ? "secondary" + : publishInsteadOfPush || pushableCommitCount > 0 + ? "default" + : "outline"; const pushAriaLabel = publishInsteadOfPush ? "Publish branch" : pushableCommitCount > 0 @@ -10378,7 +10383,7 @@ function ActionBar({