Skip to content

fix(app): Work Column maximize does not fill the full window width (#1434) #1609

Open

Description

@jacktrnr

Important

Problem — When the Chat is collapsed via the maximize toggle or Cmd+Shift+M, the Work Column does not expand to fill the entire available width. It stops short, leaving dead space.

Approach — Debug and fix: trace from workColumnWidth memo through the flex layout to identify where the cap, padding, or flex constraint prevents full expansion. The memo sets sessionPanelAvailable() as the width when collapsed, but the container may have gap, padding, or a minimum flex-basis on the Chat div that reserves space even when hidden.

Scope — In: the Work Column fills 100% of the available row when Chat is collapsed. Out: animation, button placement, drag feel.

Acceptance Criteria

  • When Chat is collapsed (via button, Cmd+Shift+M, or drag), the Work Column fills the entire flex row with no dead space on the left
  • The gap-1.5 on the flex row does not reserve space for the hidden Chat panel
  • Works at any window width

Prior Art

  • session.tsx:2780 — the flex row with gap-1.5
  • session.tsx:2800-2807 — the Chat div with !hidden class when collapsed (does gap still apply?)
  • session-panel-width.ts — workColumnWidthMax returns full available width

Source

Sub-issue of #1434. Part of #1430.

Activity

  1. self-assigned this
    on Sep 28, 2026
  2. aarontrowbridge commented on Oct 29, 2026

    @aarontrowbridge
    Contributor

    Blocked on PR #1548 (Chat collapse and flexible split), which is deferred until after 0.4.0. This builds on it, so it's marked hitl to keep the night runner off it until #1548 lands. (0.4.0 cleanup)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

afk-readytriaged clearable by notturnobugSomething isn't workinghitlNeeds human review before merge

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions