Chat sidebar: one pane scroll + collapsable session groups - #229
Open
arsenmuk wants to merge 1 commit into
Open
Conversation
The flex-1 list container lacked min-h-0, so it never shrank below its content and overflow-y-auto never engaged — the list was clipped at screen height by the parent overflow-hidden, with no scrollbar. Add min-h-0 so the whole pane scrolls in one scrollbar and every session in every group is reachable. Also make the Running / Starred / date groups collapsable via a chevron header (mirrors the existing System group); collapse state persists in localStorage and the active session's group auto-expands so it is never hidden on load. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
Chat sidebar: one pane scroll + collapsable session groups
With many sessions the list was clipped at screen height with no scrollbar, and groups couldn't be collapsed.
flex-1 overflow-y-autolist container lackedmin-h-0, so it never shrank andoverflow-y-autonever engaged (content clipped by the parentoverflow-hidden). Addmin-h-0→ one working scrollbar for the whole pane; all sessions reachable.Frontend-only (
SessionSidebar.tsx);npm run buildgreen.🤖 Generated with Claude Code