Skip to content

History rail: a truncated title shows its full prompt in a tooltip (fix #1494) - #1531

Merged
suleimansh merged 1 commit into
mainfrom
the-framework/history-title-tooltip
Aug 10, 2026
Merged

History rail: a truncated title shows its full prompt in a tooltip (fix #1494)#1531
suleimansh merged 1 commit into
mainfrom
the-framework/history-title-tooltip

Conversation

@suleimansh

Copy link
Copy Markdown
Member

What

Hovering a history-rail row whose title overflows now shows the full prompt in a tooltip (to the right of the rail), instead of marqueeing the title (#1494). The marquee forced reading at the animation's pace and moved the text under the cursor; the tooltip shows everything at once.

  • The end-fade stays as the truncation cue.
  • A title that fits gets no tooltip at all — no noise on short rows.
  • The overflow measure (scrollWidth > clientWidth) already existed for the marquee; it now gates the tooltip instead.
  • All the marquee CSS goes: keyframes, hover edge-masks, the rail-title-inner transform span, and the reduced-motion override it needed.

Tests

Two new RunHistory tests: an overflowing title (widths stubbed — jsdom measures everything as zero) opens a tooltip carrying the full prompt; a fitting title is a plain span with no tooltip wiring. Full dashboard suite: 82 files / 803 tests, typecheck clean.

🤖 Generated with Claude Code

#1494)

Replaces the hover marquee, which forced reading at the animation's
pace and moved the text under the cursor. The end-fade stays as the
truncation cue; a title that fits gets no tooltip at all. The marquee
CSS (keyframes, hover masks, inner span) goes with it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@suleimansh
suleimansh merged commit 692b5a9 into main Aug 10, 2026
1 check passed
@suleimansh
suleimansh deleted the the-framework/history-title-tooltip branch August 10, 2026 23:16
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