Skip to content

Comments

feat: show git branch in expanded chat header#183

Open
jfversluis wants to merge 1 commit intomainfrom
fix/show-git-branch-in-chat-header
Open

feat: show git branch in expanded chat header#183
jfversluis wants to merge 1 commit intomainfrom
fix/show-git-branch-in-chat-header

Conversation

@jfversluis
Copy link
Collaborator

Problem

The git branch is already tracked per session (AgentSessionInfo.GitBranch) but only visible in the info popover (ℹ️) and session cards — not in the expanded chat view where you spend most of your time.

Fix

Added the branch name inline in the chat header, between the session title and the badges:

Session Name    feature/my-branch    [processing dot] [ℹ️] [⊟]
  • Muted text at 0.7rem, ellipsis overflow at 200px max
  • Only shown when GitBranch is non-empty
  • Title attribute shows full branch name on hover/long-press

2 files, 6 lines added.

Display the current git branch inline in the chat header bar, right
after the session name. Uses muted text at 0.7rem, with ellipsis
overflow for long branch names. Only shown when GitBranch is set.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant