fix(conversations): Improve tool badge rendering and overflow behavior#115880
Draft
obostjancic wants to merge 5 commits into
Draft
fix(conversations): Improve tool badge rendering and overflow behavior#115880obostjancic wants to merge 5 commits into
obostjancic wants to merge 5 commits into
Conversation
- Add min-width: 0 to Tag's inner Text so text-overflow: ellipsis works
when the tag is width-constrained
- Cap tool badges in ToolTags (index page) with maxWidth: 100% so long
names show '...' instead of being clipped by the container boundary
- Cap visible tool badges in ConversationAggregatesBar (detail page) at
160px with a tooltip showing the full name on overflow
- Replace the non-actionable DropdownMenu for extra tool names with a
Tooltip — clicking the dropdown previously highlighted items but did
nothing, which was confusing
Refs LINEAR-TET-2365
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Contributor
📊 Type Coverage Diff✅ No new type safety issues introduced. Coverage: 93.56% |
…ow tooltip The Tag component's inner Text was display:flex, which prevents text-overflow:ellipsis from applying to text children (that property only works on block containers). Switching Text to a plain block element lets the existing overflow/ellipsis rules actually fire when TagPill is width-constrained. Also updates the '+N more' tooltip for tool names to render actual Tag badges instead of a plain comma-separated string. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
The selection outline was only on the ClickableTag, making it look like only the badge was interactive. Moved the isSelected outline to ToolCallLine so the whole row highlights on selection. Dropped the ClickableTag wrapper since the row is the clickable unit. Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
…of them Tags now have flex-shrink:0 so they take their natural width. Only the last visible tag gets flex-shrink:1 + min-width:0 so it is the only one that yields and shows ellipsis when the row runs out of space.
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.
No description provided.