Skip to content

feat(web): add tooltip for branch selector#4202

Open
ivenuss wants to merge 1 commit into
pingdotgg:mainfrom
ivenuss:feat/branch-selector-tooltips
Open

feat(web): add tooltip for branch selector#4202
ivenuss wants to merge 1 commit into
pingdotgg:mainfrom
ivenuss:feat/branch-selector-tooltips

Conversation

@ivenuss

@ivenuss ivenuss commented Jul 20, 2026

Copy link
Copy Markdown

What Changed

Added tooltip to the branch selector and title attribute for combobox items.

Why

Longer branch names are truncated, and it's hard to tell which branch is which when they have the same prefix.

UI Changes

featunify-deploy-server-native-runtime-config Q Search refs

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes

Note

Low Risk
Presentation-only UX in the branch toolbar; no behavior, API, or data-path changes.

Overview
Truncated branch names in the toolbar and ref picker are now easier to read at a glance.

The branch selector trigger is wrapped in a tooltip that shows the full triggerLabel on hover, matching the pattern already used for the adjacent PR pill. Each ref row in the combobox list gets a native title attribute with the full ref name so truncated entries in the dropdown expose the complete string without opening anything else.

Reviewed by Cursor Bugbot for commit 08417c1. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Add tooltip to branch selector trigger in toolbar

Wraps the branch selector trigger in BranchToolbarBranchSelector.tsx with a Tooltip that displays the full current branch name on hover. Also adds a native title attribute to each combobox item label so truncated branch names are readable without opening the dropdown.

Macroscope summarized 08417c1.

@coderabbitai

coderabbitai Bot commented Jul 20, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 53220e79-0c34-43b7-9eae-ea101d3ac00a

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions github-actions Bot added vouch:unvouched PR author is not yet trusted in the VOUCHED list. size:S 10-29 changed lines (additions + deletions). labels Jul 20, 2026
@macroscopeapp

macroscopeapp Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved

This PR adds tooltips to the branch selector so users can see full branch names when truncated. It's a simple UI enhancement using existing Tooltip components already present in the file, with no runtime behavior changes.

You can customize Macroscope's approvability policy. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S 10-29 changed lines (additions + deletions). vouch:unvouched PR author is not yet trusted in the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant