Repository navigation
feat: add hover tooltips to composer controls - #1006
Merged
AnthonyRonning merged 3 commits intoSep 24, 2026
Merged
Conversation
Contributor
|
Thanks! We checked this on touch devices (iOS Safari and Android Chrome), and taps don't open the tooltips, which is what we want. Two things before we can merge:
Please test and validate the result yourself: desktop (new chat and inside a conversation), a narrow window, dark mode, and a touch device. Then add before/after screenshots to this PR. |
doowta
force-pushed
the
feat/composer-hover-tooltips
branch
from
September 23, 2026 20:50
72a6e6c to
4624de1
Compare
Contributor
Author
AnthonyRonning
approved these changes
Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.





Summary
Add hover labels to the composer’s icon buttons so their purpose and web-search state are easier to discover.
Tooltips appear below the control after 500 ms of mouse hover, using the existing Radix tooltip components and neutral palette with white text. They stay visible during hover and dismiss on leaving, pressing, focus loss, or Radix dismissal. Focus restoration and touchscreen taps do not open them, and unavailable controls do not show them.
A composer-scoped helper owns one hover timer to keep the delay consistent and avoid Radix’s hover-delay skipping. Tests cover timing, cancellation, focus/touch behavior, disabled states, and compatibility with dropdown triggers and button handlers.
This PR contains only the composer tooltips and their tests. It adds no dependencies and does not modify the shared tooltip, button, or dropdown components. Press animations, dropdown positioning, web-search placeholder feedback, and sidebar changes are outside this PR.
Validation
bun run buildpassed during review.