You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Optimize worktree list layout to maximize available space #925
The current worktree list layout in packages/vscode-webui/src/components/worktree-list.tsx reserves space for action buttons (New Task, Diff, Terminal, Delete) even when they are hidden. This consumes approximately 70-80px of horizontal space, which could be better used to display the worktree name or PR status, especially in narrow views.
Proposed Solution:
Change the action buttons container to use absolute positioning so it overlays the content on the right side when hovered, rather than reserving layout space.
Add relative to the parent container (WorktreeSection row).
Change the buttons container to absolute right-1 (and remove ml-auto).
Add bg-background to the buttons container to ensure it properly overlays text when visible.
This will allow the worktree name and PR status to utilize the full width of the container.
Activity
wsxiaoys commentedon Dec 29, 2025
Maybe something like explore's subpanel