Skip to content

feat: collapsible sidebar#33

Open
mishraprafful wants to merge 5 commits intomainfrom
feat/collapsable-sidebar
Open

feat: collapsible sidebar#33
mishraprafful wants to merge 5 commits intomainfrom
feat/collapsable-sidebar

Conversation

@mishraprafful
Copy link
Copy Markdown
Collaborator

@mishraprafful mishraprafful commented Apr 2, 2026

Closes #30

Summary

  • Adds a collapse/expand toggle button to the sidebar header
  • Collapsed state shrinks the sidebar to a slim 40px strip showing only the toggle button
  • Animates with a smooth width transition (200ms ease-in-out)
  • The chevron icon rotates 180° when collapsed to indicate direction

Test plan

  • Click the collapse button — sidebar animates to slim strip
  • Click again — sidebar expands back with full content
  • Verify session list, archive accordion, and new session button are hidden when collapsed
  • Verify the main content area fills the freed space

Further Improvements

#34

🤖 Generated with Claude Code

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy link
Copy Markdown

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@mishraprafful mishraprafful marked this pull request as draft April 2, 2026 09:10
mishraprafful and others added 2 commits April 2, 2026 11:18
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mishraprafful mishraprafful marked this pull request as ready for review April 2, 2026 09:21
Copy link
Copy Markdown

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@mishraprafful mishraprafful requested a review from dakl April 2, 2026 09:21
@dakl
Copy link
Copy Markdown
Owner

dakl commented Apr 2, 2026

Is there a keyboard shortcut for collapsing and expanding? We should add one. Also, when cmd is held, we should show a tooltip somewhere to indicate that "if you press these keys, expansion will happen". Like a little speech bubble, but very small.

mishraprafful and others added 2 commits April 2, 2026 13:06
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mishraprafful
Copy link
Copy Markdown
Collaborator Author

@dakl Added the keyboard shortcut and also updated the PR description with further improvements.

@mishraprafful mishraprafful self-assigned this Apr 2, 2026
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.

feat: collapsable sidebar

2 participants