History rail: a truncated title shows its full prompt in a tooltip (fix #1494) - #1531
Merged
Merged
Conversation
#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>
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.
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.
scrollWidth > clientWidth) already existed for the marquee; it now gates the tooltip instead.rail-title-innertransform 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