Skip to content

improve(control-ui): move dev branch badge to its own footer strip#104300

Merged
steipete merged 1 commit into
mainfrom
claude/branch-name-display-9d39dc
Jul 11, 2026
Merged

improve(control-ui): move dev branch badge to its own footer strip#104300
steipete merged 1 commit into
mainfrom
claude/branch-name-display-9d39dc

Conversation

@steipete

Copy link
Copy Markdown
Contributor

Related: #104262

What Problem This Solves

The dev-branch badge added in #104262 rendered inline in the sidebar footer icon row, which made the row crowded: connection dot, truncated red branch name, and four icon buttons all competed for one 34px strip, and long claude/… branch names truncated to noise.

Why This Change Was Made

The branch indicator moves to its own slim tinted strip directly above the footer icon row, with a git-branch icon and the full branch name (ellipsis only when the sidebar is very narrow, full name in the tooltip). The icon row returns to exactly its pre-#104262 layout. Rendering is still gated on devGitBranch from the bootstrap config, so release installs and mainline checkouts get no extra row.

User Impact

On dev gateways the full branch name is now readable at a glance instead of truncated, and the footer controls are uncluttered. Release installs are unchanged.

Evidence

Footer with the new strip (from the e2e screenshot artifact):

sidebar footer with dev branch strip above the icon row

  • ui/src/e2e/sidebar-dev-branch.e2e.test.ts updated for the new structure (name span, strip container title/color): 2 tests green on Testbox with Playwright chromium.
  • oxfmt --check green on the changed files (Testbox).
  • Autoreview (codex, gpt-5.5): clean, no actionable findings.

The sidebar footer icon row got crowded with the inline branch label.
The dev-checkout branch now renders on a slim tinted strip above the
icon bar with a git-branch icon, keeping the full name readable and
the footer controls uncluttered.
@openclaw-barnacle openclaw-barnacle Bot added app: web-ui App: web-ui size: S maintainer Maintainer-authored PR labels Jul 11, 2026
@steipete
steipete merged commit 81ce206 into main Jul 11, 2026
93 of 96 checks passed
@steipete
steipete deleted the claude/branch-name-display-9d39dc branch July 11, 2026 08:05
chenyangjun-xy pushed a commit to chenyangjun-xy/openclaw that referenced this pull request Jul 11, 2026
…penclaw#104300)

The sidebar footer icon row got crowded with the inline branch label.
The dev-checkout branch now renders on a slim tinted strip above the
icon bar with a git-branch icon, keeping the full name readable and
the footer controls uncluttered.
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Jul 12, 2026
…penclaw#104300)

The sidebar footer icon row got crowded with the inline branch label.
The dev-checkout branch now renders on a slim tinted strip above the
icon bar with a git-branch icon, keeping the full name readable and
the footer controls uncluttered.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant