| ... | ... | @@ -171,7 +171,7 @@ function T3Wordmark() { |
| 171 | 171 | return ( |
| 172 | 172 | <svg |
| 173 | 173 | aria-label="T3" |
| 174 | | className="h-3 w-auto shrink-0 text-foreground" |
| 174 | className="h-2.5 w-auto shrink-0 text-foreground" |
| 175 | 175 | viewBox="15.5309 37 94.3941 56.96" |
| 176 | 176 | xmlns="http://www.w3.org/2000/svg" |
| 177 | 177 | > |
| ... | ... | @@ -312,7 +312,7 @@ export default function Sidebar() { |
| 312 | 312 | const status = target.cwd ? statusByCwd.get(target.cwd) : undefined; |
| 313 | 313 | const branchMatches = |
| 314 | 314 | target.branch !== null && status?.branch !== null && status?.branch === target.branch; |
| 315 | | map.set(target.threadId, branchMatches ? status?.pr ?? null : null); |
| 315 | map.set(target.threadId, branchMatches ? (status?.pr ?? null) : null); |
| 316 | 316 | } |
| 317 | 317 | return map; |
| 318 | 318 | }, [threadGitStatusCwds, threadGitStatusQueries, threadGitTargets]); |
| ... | ... | @@ -689,9 +689,7 @@ export default function Sidebar() { |
| 689 | 689 | void handleNewThread(projectId, { |
| 690 | 690 | branch: activeThread?.branch ?? activeDraftThread?.branch ?? null, |
| 691 | 691 | worktreePath: activeThread?.worktreePath ?? activeDraftThread?.worktreePath ?? null, |
| 692 | | envMode: |
| 693 | | activeDraftThread?.envMode ?? |
| 694 | | (activeThread?.worktreePath ? "worktree" : "local"), |
| 692 | envMode: activeDraftThread?.envMode ?? (activeThread?.worktreePath ? "worktree" : "local"), |
| 695 | 693 | }); |
| 696 | 694 | }; |
| 697 | 695 | |
| ... | ... | @@ -711,14 +709,14 @@ export default function Sidebar() { |
| 711 | 709 | }; |
| 712 | 710 | |
| 713 | 711 | const wordmark = ( |
| 714 | | <div className={`flex items-center gap-2 ${isElectron ? "-translate-y-px" : ""}`}> |
| 712 | <div className="flex items-center gap-2"> |
| 715 | 713 | <SidebarTrigger className="shrink-0 md:hidden" /> |
| 716 | | <div className="flex min-w-0 flex-1 items-center gap-1"> |
| 714 | <div className="flex min-w-0 flex-1 items-center gap-1 mt-2 ml-1"> |
| 717 | 715 | <T3Wordmark /> |
| 718 | | <span className="truncate text-base font-medium tracking-tight text-muted-foreground"> |
| 716 | <span className="truncate text-sm font-medium tracking-tight text-muted-foreground"> |
| 719 | 717 | Code |
| 720 | 718 | </span> |
| 721 | | <span className="rounded-full bg-muted/50 px-1.5 py-0.5 text-[9px] font-medium uppercase tracking-widest text-muted-foreground/60"> |
| 719 | <span className="rounded-full bg-muted/50 px-1.5 py-0.5 text-[8px] font-medium uppercase tracking-[0.18em] text-muted-foreground/60"> |
| 722 | 720 | {APP_STAGE_LABEL} |
| 723 | 721 | </span> |
| 724 | 722 | </div> |
| ... | ... | @@ -740,10 +738,10 @@ export default function Sidebar() { |
| 740 | 738 | <> |
| 741 | 739 | {isElectron ? ( |
| 742 | 740 | <> |
| 743 | | <SidebarHeader className="drag-region h-[52px] flex-row items-center gap-2 px-4 py-0 pl-[88px]"> |
| 741 | <SidebarHeader className="drag-region h-[52px] flex-row items-center gap-2 px-4 py-0 pl-[82px]"> |
| 744 | 742 | {wordmark} |
| 745 | 743 | </SidebarHeader> |
| 746 | | <div className="px-4 pb-2">{newThreadButton}</div> |
| 744 | <div className="px-4 py-2">{newThreadButton}</div> |
| 747 | 745 | </> |
| 748 | 746 | ) : ( |
| 749 | 747 | <SidebarHeader className="gap-3 px-3 py-2 sm:gap-2.5 sm:px-4 sm:py-3"> |