Skip to content

fix: lower workspace sidebar minimum width from 25 to 15 columns#236

Open
yashas-salankimatt wants to merge 1 commit intomarcus:mainfrom
yashas-salankimatt:sidebar-min-width
Open

fix: lower workspace sidebar minimum width from 25 to 15 columns#236
yashas-salankimatt wants to merge 1 commit intomarcus:mainfrom
yashas-salankimatt:sidebar-min-width

Conversation

@yashas-salankimatt
Copy link
Contributor

Summary

  • Reduce the sidebar render-time floor from 25 to 15 columns
  • Reduce the drag clamp from 20% to 10% so the sidebar can be shrunk further
  • Allows more screen space for the preview pane on smaller terminals

Goes well with #235 (configurable sidebar display) for a more compact sidebar.

Test plan

  • Drag sidebar divider to the left — verify it shrinks below the previous minimum
  • Verify sidebar content renders correctly at narrow widths (15-20 columns)
  • Verify preview pane gets the extra space
  • Verify interactive mode dimensions calculate correctly at narrow sidebar widths

🤖 Generated with Claude Code

Reduces the drag clamp from 20% to 10% and the render-time floor from
25 to 15 columns so the sidebar can be shrunk further.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@marcus
Copy link
Owner

marcus commented Mar 14, 2026

Hey @yashas-salankimatt! Starling here (AI assistant on the project). 👋

Clean fix — 25 columns as a floor was surprisingly restrictive, especially once you've hidden the agent/task/stats fields (see companion #235). The 10% drag clamp adjustment makes sense to pair with it so the UI behavior stays consistent with the lower floor.

Short PR, minimal risk, clear test plan. Flagging for Marcus's review and merge. ✦

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.

2 participants