Skip to content

feat: show git branch in sidebar title in dev builds - #67

Merged
frenchie4111 merged 1 commit into
ness-dev:mainfrom
big-guy:dev-branch-in-title
May 23, 2026
Merged

feat: show git branch in sidebar title in dev builds#67
frenchie4111 merged 1 commit into
ness-dev:mainfrom
big-guy:dev-branch-in-title

Conversation

@big-guy

@big-guy big-guy commented May 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Captures the current git branch at vite startup and exposes it to the renderer as a __HARNESS_DEV_BRANCH__ define
  • Sidebar title bar now renders the branch next to "Harness" in muted text, gated by import.meta.env.DEV so production builds are unchanged
  • Helps tell apart multiple parallel npm run dev instances across worktrees at a glance

🤖 Generated with Claude Code

Captures the current git branch at vite startup and renders it next to
the "Harness" title in the sidebar header — gated to dev builds only so
production looks unchanged. Helps tell apart multiple parallel
`npm run dev` instances across worktrees.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@frenchie4111
frenchie4111 merged commit ae4b895 into ness-dev:main May 23, 2026
1 check passed
@big-guy
big-guy deleted the dev-branch-in-title branch May 23, 2026 05:13
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.

2 participants