Skip to content

fix(web): show longer branch names in chat header - #958

Merged
wbxl2000 merged 1 commit into
mainfrom
feat/web-chat-header-display-complete-long-branch-name-with-hover-tooltip-for-visual-review
Jun 22, 2026
Merged

fix(web): show longer branch names in chat header#958
wbxl2000 merged 1 commit into
mainfrom
feat/web-chat-header-display-complete-long-branch-name-with-hover-tooltip-for-visual-review

Conversation

@wbxl2000

Copy link
Copy Markdown
Collaborator

Related Issue

No linked issue. This PR addresses a web UI limitation found during review.

Problem

Long branch names in the web chat header were truncated by a fixed 180px limit, and there was no hover text to reveal the full branch name.

What changed

  • Let the chat header branch area use the available right-side space instead of a fixed 180px cap.
  • Keep ellipsis as a fallback when the branch name is still longer than the available space.
  • Add a title tooltip on the branch name so the full name remains readable on hover.
  • Add tests for long branch rendering and the detached label.
  • Add a changeset for the bundled web UI change.

Checklist

  • I have read the CONTRIBUTING document.
  • I have linked a related issue, or explained the problem above.
  • I have added tests that prove my feature works.
  • Ran gen-changesets skill, or this PR needs no changeset.
  • Ran gen-docs skill, or this PR needs no doc update.

@changeset-bot

changeset-bot Bot commented Jun 22, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 778d8ef

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@moonshot-ai/kimi-code Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@pkg-pr-new

pkg-pr-new Bot commented Jun 22, 2026

Copy link
Copy Markdown
pnpm dlx https://pkg.pr.new/@moonshot-ai/kimi-code@778d8ef
npx https://pkg.pr.new/@moonshot-ai/kimi-code@778d8ef

commit: 778d8ef

@wbxl2000
wbxl2000 merged commit 98905eb into main Jun 22, 2026
9 checks passed
@wbxl2000
wbxl2000 deleted the feat/web-chat-header-display-complete-long-branch-name-with-hover-tooltip-for-visual-review branch June 22, 2026 06:28
@github-actions github-actions Bot mentioned this pull request Jun 22, 2026
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