Skip to content

fix(web): long titles no longer overflow the pull request list tooltip - #28077

Merged
t3dotgg merged 1 commit into
mainfrom
t3/fix-tooltip-overflow
Oct 31, 2026
Merged

t3dotgg merged 1 commit into
mainfrom
t3/fix-tooltip-overflow

Conversation

@t3dotgg

@t3dotgg t3dotgg commented Oct 31, 2026

Copy link
Copy Markdown
Member

Hovering a thread's linked pull requests in the sidebar showed titles running far past the tooltip edge.

#25199 replaced the tooltip viewport with a plain div. That div is a flex item in the popup, so it kept the default min-width: auto and grew to the full width of the unwrapped titles. Adding min-w-0 lets it shrink to the popup width, so the existing truncate on each title works again. The same fix applies to every tooltip with single-line content, such as the PR status tooltip.

Before After
Before: titles overflow the tooltip After: titles truncate inside the tooltip

Captured from the real ThreadPullRequestBadgeControl in a Chromium browser test, with the app stylesheet in dark mode.

Made by Claude Opus 5.5 in Claude Code (T3 Code).

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XS 0-9 changed lines (additions + deletions). labels Oct 31, 2026
@macroscopeapp

macroscopeapp Bot commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

Approvability

Verdict: Approved at 084b454

Macroscope's review found this PR approvable — The change lets tooltip content shrink within existing width limits so long pull-request titles can truncate properly. Its effects are confined to presentation, with no changes to product settings or data handling.

You can add or adjust custom eligibility rules. Learn more.

@t3dotgg
t3dotgg merged commit 793bbf4 into main Oct 31, 2026
28 of 29 checks passed
@t3dotgg
t3dotgg deleted the t3/fix-tooltip-overflow branch October 31, 2026 10:00
github-actions Bot added a commit to omarcresp/t3code-flake that referenced this pull request Oct 31, 2026
**v0.1.6-nightly.20261031.3977** · 4 changes from 1 contributor

## Highlights
Pin favorite projects and archive projects you no longer need.

## Fixes
- Model picker stays open until dismissed (#28076)

<details>
<summary>Full changelog</summary>

## What's Changed
* feat: pin favorite projects and archive old ones by @t3dotgg in pingdotgg/t3code#26154
* fix(web): machine label no longer shifts between one and many machines by @t3dotgg in pingdotgg/t3code#28070
* fix(web): long titles no longer overflow the pull request list tooltip by @t3dotgg in pingdotgg/t3code#28077
* fix(web): model picker stays open until dismissed, with a Show more row by @t3dotgg in pingdotgg/t3code#28076


**Full Changelog**: pingdotgg/t3code@v0.1.6-nightly.20261031.3973...v0.1.6-nightly.20261031.3977

</details>


Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.1.6-nightly.20261031.3977
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS 0-9 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant