From dc4156fec54a8efdab84834fe2f5bc90120e32c1 Mon Sep 17 00:00:00 2001
From: bndw <ben@bdw.to>
Date: Sat, 28 Feb 2026 20:22:12 -0800
Subject: feat: Complete 7 tasks
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

- ✅ Add `.branch-badge` CSS block to `globals.css` after `.phase-step.complete` rule
- ✅ Extend `HeaderProps` interface with `gitBranch: string | null`
- ✅ Add `gitBranch` to `Header` function destructure
- ✅ Add `copied` state and `handleCopyBranch` function inside `Header`
- ✅ Update session `<option>` text to append branch name / "git unavailable"
- ✅ Add branch badge button to `header-right` between phase indicator and theme toggle
- ✅ Pass `gitBranch={selectedSession?.git_branch ?? null}` to `<Header>` in `App.tsx`
---
 renderer/src/App.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'renderer/src/App.tsx')

diff --git a/renderer/src/App.tsx b/renderer/src/App.tsx
index 19f6284..ecbb5b2 100644
--- a/renderer/src/App.tsx
+++ b/renderer/src/App.tsx
@@ -360,6 +360,7 @@ export function App() {
         onRenameSession={handleRenameSession}
         theme={theme}
         onToggleTheme={handleToggleTheme}
+        gitBranch={selectedSession?.git_branch ?? null}
       />
 
       <div className="main-content">
-- 
cgit v1.2.3

