feat(sidebar): tooltip with the full title on ellipsised session rows - #176
Draft
ghackett wants to merge 1 commit into
Draft
feat(sidebar): tooltip with the full title on ellipsised session rows#176ghackett wants to merge 1 commit into
ghackett wants to merge 1 commit into
Conversation
Hovering a session row whose title is truncated now shows the complete title as a tooltip. The row answers query-tooltip only while the name label's layout is actually ellipsized, so fully visible titles stay tooltip-free; the action buttons' own tooltips still win over the row's while the pointer is on them. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_013k2cKyGZJCk3o9iWoYeou7
Member
Author
|
@claude review |
|
Claude finished @ghackett's task in 1m 16s —— View job Review complete ✅
SummarySmall, well-scoped change. Things I checked and didn't find issues with:
Minor, non-blocking observations
Nothing here blocks merging — the change is small, correct, and matches the stated intent. |
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 session row in the sidebar whose title is ellipsised now shows the complete title as a tooltip.
How
SessionRowsetshas-tooltipand answersquery-tooltipitself: the handler checks the name label's Pango layout and only supplies the tooltip while the layout is actually ellipsized, so rows whose titles fit stay tooltip-free. The tooltip lives on the row rather than the label, making the whole row width a hover target — while the per-button tooltips (archive, stop, PRs, …) still take precedence when the pointer is over a button.Screenshots
The tooltip bubble is composited into the shot (a headless in-process window render can't capture the native tooltip popup), but its content and trigger logic were verified live in the running app: the ellipsised row's query-tooltip handler returned the full title, and a short-titled row declined the tooltip.
🤖 Generated with Claude Code
https://claude.ai/code/session_013k2cKyGZJCk3o9iWoYeou7