The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(desktop): one git glyph on the composer's coding row, with the PR number leading
Brooklyn Nicholson985594aaa340
diff --git a/apps/desktop/src/app/chat/composer/status-stack/coding-row.tsx b/apps/desktop/src/app/chat/composer/status-stack/coding-row.tsxindex 51325e3e8ab..5b69b293811 100644--- a/apps/desktop/src/app/chat/composer/status-stack/coding-row.tsx+++ b/apps/desktop/src/app/chat/composer/status-stack/coding-row.tsx@@ -220,6 +220,11 @@ export const CodingStatusRow = memo(function CodingStatusRow({}><div className="flex min-w-0 flex-1 items-center gap-1">+ {/* PR number first, right against the leading git glyph — the chip+ borrows that icon instead of carrying a second one of its own+ (`showIcon={false}`), so the row reads glyph → #number → branch. */}+ {pr && <PrTag pr={pr} showIcon={false} />}+{/* Branch name — the other half of the review-pane target. `contents`so the button lays out nothing of its own: the label stays thesame flex child it always was, and the hit area is the text. */}@@ -229,8 +234,6 @@ export const CodingStatusRow = memo(function CodingStatusRow({</span></button>- {pr && <PrTag pr={pr} />}-{/* Worktree path + copy — plain muted text, not a chip. Always in theflex so hover doesn't reflow the row; opacity alone reveals thepair. The path sizes to its content (the `flex-1` lives on thediff --git a/apps/desktop/src/app/chat/pr-tag.tsx b/apps/desktop/src/app/chat/pr-tag.tsxindex 723be858829..bf0a5c1c94b 100644--- a/apps/desktop/src/app/chat/pr-tag.tsx+++ b/apps/desktop/src/app/chat/pr-tag.tsx@@ -22,8 +22,18 @@ export function openPullRequest(pr: HermesBranchPullRequest): void {/** The branch's PR as a row chip: state glyph plus number, tooltipped with the* title, and a link to the PR on click. Identity like {@link ProfileTag} —- * never a status dot. */-export function PrTag({ className, pr }: { className?: string; pr: HermesBranchPullRequest }) {+ * never a status dot. `showIcon={false}` drops the glyph for rows that already+ * lead with a git icon the number can sit against (the composer's coding row),+ * so the chip doesn't stack a second one beside it. */+export function PrTag({+ className,+ pr,+ showIcon = true+}: {+ className?: string+ pr: HermesBranchPullRequest+ showIcon?: boolean+}) {const style = PR_STYLE[pullRequestBucket(pr)] ?? PR_STYLE.openreturn (@@ -51,8 +61,9 @@ export function PrTag({ className, pr }: { className?: string; pr: HermesBranchPonPointerDown={event => event.stopPropagation()}type="button">- <Codicon name={style.icon} size="0.75rem" />- <span className="underline-offset-1 group-hover/pr:underline">{pr.number}</span>+ {showIcon && <Codicon name={style.icon} size="0.75rem" />}+ {/* Without the glyph the number needs the `#` to still read as a PR. */}+ <span className="underline-offset-1 group-hover/pr:underline">{showIcon ? pr.number : `#${pr.number}`}</span></button></Tip>)