Skip to content

Fix session-row hover actions and layout in narrow panes - #333980

Merged
Benjamin Christopher Simmonds (benibenj) merged 3 commits into
mainfrom
sandy081/agents/bugfix-general-issue
Sep 2, 2026
Merged

Fix session-row hover actions and layout in narrow panes#333980
Benjamin Christopher Simmonds (benibenj) merged 3 commits into
mainfrom
sandy081/agents/bugfix-general-issue

Conversation

@sandy081

Copy link
Copy Markdown
Member

This pull request addresses a regression affecting the session-row hover actions in narrow panes. The changes made include:

  • CSS Update: Added min-width: 0 to session and nested-chat flex rows in sessionsList.css. This allows the rows to shrink properly and ensures that titles ellipsize, keeping archive and toolbar actions visible.
  • Fixture Update: Enhanced the test fixture in sessionsList.fixture.ts to reproduce the narrow-pane scenario, allowing for better validation of the fix.

Validation

  • The fix was validated against the real SessionsList component, demonstrating that the Archive action now remains visible within the row in narrow layouts.
  • Evidence of the fix includes before and after videos showcasing the improvement, along with a detailed validation report.

Results

  • All relevant tests passed, confirming the integrity of the changes.

Copilot AI balanced review requested due to automatic review settings September 2, 2026 12:36
@sandy081 Sandeep Somavarapu (sandy081) added this to the 1.137.0 milestone Sep 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟡 Changes recommended

The fixture neither activates the toolbar-visible state nor participates in screenshot CI.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Review tier: Balanced
Findings: 1 Medium severity

New issues introduced by this change (1)
Severity Finding
Medium severity src/​vs/​workbench/​test/​browser/​componentFixtures/​sessions/​sessionsList.fixture.ts — This regression fixture never enters the toolbar-visible state: dispatch-free rendering does not…
What changed in this PR

Fixes narrow-pane session rows so titles shrink while hover actions remain visible.

Changes:

  • Allows session and nested-chat flex rows to shrink.
  • Adds a narrow-layout component fixture.
File Description
sessionsList.css Adds min-width: 0 to affected flex rows.
sessionsList.fixture.ts Adds a narrow row with a long title.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Screenshot Changes

Base: 9dfde229 Current: 3c399f3b

Changed (16)

sessions/blockedSessionsList/BlockedSessionsList_SingleNeedsInput/Dark
Before After
before after
sessions/blockedSessionsList/BlockedSessionsList_SingleNeedsInput/Light
Before After
before after
sessions/blockedSessionsList/BlockedSessionsList_TwoApprovals/Dark
Before After
before after
sessions/blockedSessionsList/BlockedSessionsList_TwoApprovals/Light
Before After
before after
sessions/blockedSessionsList/BlockedSessionsList_FiveApprovals/Dark
Before After
before after
sessions/blockedSessionsList/BlockedSessionsList_FiveApprovals/Light
Before After
before after
sessions/blockedSessionsList/BlockedSessionsList_FixCIAndApproval/Dark
Before After
before after
sessions/blockedSessionsList/BlockedSessionsList_FixCIAndApproval/Light
Before After
before after
sessions/sessionsList/SessionsList_CustomGroup_LongWorkspaceNarrow/Dark
Before After
before after
sessions/sessionsList/SessionsList_CustomGroup_LongWorkspaceNarrow/Light
Before After
before after
sessions/sessionsList/SessionsList_CustomGroup_Phone/Dark
Before After
before after
sessions/sessionsList/SessionsList_CustomGroup_Phone/Light
Before After
before after
sessions/sessionsList/SessionsList_NestedChatApprovals/Dark
Before After
before after
sessions/sessionsList/SessionsList_NestedChatApprovals/Light
Before After
before after
sessions/sessionsList/SessionsList_NestedChatApprovals_Phone/Dark
Before After
before after
sessions/sessionsList/SessionsList_NestedChatApprovals_Phone/Light
Before After
before after

2 insignificant change(s) omitted (≤20 px, Δ≤2). See CI logs for details.

Added (2)

sessions/sessionsList/SessionsList_NarrowHoverToolbar/Dark

current

sessions/sessionsList/SessionsList_NarrowHoverToolbar/Light

current

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@benibenj
Benjamin Christopher Simmonds (benibenj) merged commit 967c9f0 into main Sep 2, 2026
40 checks passed
@benibenj
Benjamin Christopher Simmonds (benibenj) deleted the sandy081/agents/bugfix-general-issue branch September 2, 2026 15:00
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.

3 participants