Repository navigation
Stop reserving hover action space in sidebar rows (851-3667) - #920
Merged
pondorasti merged 1 commit intoOct 29, 2026
Merged
Conversation
#853 kept a sidebar workspace row's trailing slot as wide as its hover actions even when the row wasn't hovered, so titles and subtitles truncated early next to empty space. The row now shows its properties at their natural width and swaps them for Pin and Archive only while hovered. Fixes 851-3667 Co-Authored-By: Claude Opus 5.5 <[email protected]>
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.
Fixes 851-3667
#853 sized a sidebar workspace row's trailing slot to its hover actions (Pin and Archive) even when the row wasn't hovered. Titles and subtitles truncated early next to empty space. That
minWidthreservation is gone. A row now shows its properties (PR badge, machine icon) at their natural width and swaps them for the hover actions only while hovered, so on hover the text gets narrower and truncates more. The rest of #853 and #865 is kept: Pin/Archive replace the properties on hover, with no cross-fade.propertiesis now a@ViewBuilder, not anHStack. A row with no properties adds no empty trailing slot or spacing.Shared row engine: the Code sidebar and nested subagent rows both render
SidebarWorkspaceRow, so they both get this fix. The Chat sidebar's bot rows (BotConversationRow) and the inspector Agents rows from #903 (which use onlySidebarWorkspaceRowLabel) never reserved this space, so they needed no change.Tophat (macOS dev app): a workspace renamed to
use-the-arrow-icons-for-the-file-tree-icons, with a machine icon.use-the-arr…le-tree-iconsbefore,use-the-arro…-file-tree-iconsafter. The title now runs up to the machine icon.The before/after screenshots are on 851-3667. Computer Use can't hold a hover, so the "before, hovered" shot came from a temporary local override (not in this diff) that makes
HoverableRowreport hovered. The "after, hovered" shot is a real pointer hover.🤖 Generated with Claude Code