diff options
| author | bndw <ben@bdw.to> | 2026-02-28 20:22:12 -0800 |
|---|---|---|
| committer | bndw <ben@bdw.to> | 2026-02-28 20:22:12 -0800 |
| commit | dc4156fec54a8efdab84834fe2f5bc90120e32c1 (patch) | |
| tree | 8eb3b979fcce0d0e6ddec1ab66232fb1229c3688 /renderer/src/App.tsx | |
| parent | 9d192d16b7a4026b35ad2bcaff9edb9f2670de2b (diff) | |
feat: Complete 7 tasks
- ✅ 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`
Diffstat (limited to 'renderer/src/App.tsx')
| -rw-r--r-- | renderer/src/App.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
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() { | |||
| 360 | onRenameSession={handleRenameSession} | 360 | onRenameSession={handleRenameSession} |
| 361 | theme={theme} | 361 | theme={theme} |
| 362 | onToggleTheme={handleToggleTheme} | 362 | onToggleTheme={handleToggleTheme} |
| 363 | gitBranch={selectedSession?.git_branch ?? null} | ||
| 363 | /> | 364 | /> |
| 364 | 365 | ||
| 365 | <div className="main-content"> | 366 | <div className="main-content"> |
