Skip to content

Agents: Update session list styles and behavior#318987

Merged
hawkticehurst merged 4 commits into
mainfrom
agents/update-sessions-sidebar-ui
May 29, 2026
Merged

Agents: Update session list styles and behavior#318987
hawkticehurst merged 4 commits into
mainfrom
agents/update-sessions-sidebar-ui

Conversation

@hawkticehurst
Copy link
Copy Markdown
Member

@hawkticehurst hawkticehurst commented May 29, 2026

Fixes #317698
Fixes #317694

Update several parts of session list styling and behavior:

  1. Stop using all caps for workspace title
  2. Remove the 'selected' state from workspace titles
  3. Instead of showing a background fill color when hovering over workspace title, the title text color is set to be the intense foreground variant
  4. Show a chevron icon on hover to reinforce expanded/collapsed states of a workspace in the session list
  5. Update "+N WORKSPACES" / "SHOW FEWER WORKSPACES" button/toggle so the text is left aligned, the text now says "+N more workspaces", and the text is no longer uppercase

Copilot AI review requested due to automatic review settings May 29, 2026 15:11
@hawkticehurst hawkticehurst marked this pull request as draft May 29, 2026 15:16
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR enhances the Agents window Sessions list section headers by adding a dedicated chevron element that reflects a section’s collapsed/expanded state, and wires collapse-state updates so the chevron stays in sync as users toggle sections.

Changes:

  • Add a session-section-chevron element to section header templates and update its icon based on collapsed state.
  • Forward tree collapse-state changes to the section renderer to keep the chevron updated without requiring a full renderElement pass.
  • Update Sessions list CSS to style and show the chevron (and adjust hover/focus visuals for section rows).

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts Adds chevron element + renderer logic to keep the chevron state in sync with section collapse/expand.
src/vs/sessions/contrib/sessions/browser/media/sessionsList.css Styles the new chevron and adjusts section-row hover/focus presentation.

Comment thread src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts Outdated
Comment thread src/vs/sessions/contrib/sessions/browser/views/sessionsList.ts
Comment thread src/vs/sessions/contrib/sessions/browser/media/sessionsList.css
@hawkticehurst hawkticehurst changed the title Enhance session section with collapsible chevron Agents: Update session list styles and behavior May 29, 2026
@hawkticehurst hawkticehurst requested a review from Copilot May 29, 2026 15:48
@hawkticehurst hawkticehurst marked this pull request as ready for review May 29, 2026 15:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

Comment thread src/vs/sessions/contrib/sessions/browser/media/sessionsList.css Outdated
@hawkticehurst hawkticehurst marked this pull request as draft May 29, 2026 15:57
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@hawkticehurst hawkticehurst marked this pull request as ready for review May 29, 2026 16:35
@hawkticehurst hawkticehurst merged commit 5d74efe into main May 29, 2026
25 checks passed
@hawkticehurst hawkticehurst deleted the agents/update-sessions-sidebar-ui branch May 29, 2026 17:44
@vs-code-engineering vs-code-engineering Bot added this to the 1.123.0 milestone May 29, 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.

Session List: Update hover state and remove selected state for workspace titles Session List: Styling for more sessions and more workspaces

3 participants