Skip to content

Commit 994fd12

Browse files
authored
Agent sessions: consider a better out of the box sidebar experience (fix #284045) (#284053)
1 parent e078555 commit 994fd12

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/vs/workbench/contrib/chat/browser/chat.contribution.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,9 @@ configurationRegistry.registerConfiguration({
384384
enumDescriptions: [
385385
nls.localize('chat.viewSessions.orientation.auto', "Automatically determine the orientation based on available space."),
386386
nls.localize('chat.viewSessions.orientation.stacked', "Display sessions vertically stacked unless a chat session is visible."),
387-
nls.localize('chat.viewSessions.orientation.sideBySide', "Display sessions side by side if space is sufficient.")
387+
nls.localize('chat.viewSessions.orientation.sideBySide', "Display sessions side by side if space is sufficient, otherwise stacked.")
388388
],
389-
default: 'auto',
389+
default: 'sideBySide',
390390
description: nls.localize('chat.viewSessions.orientation', "Controls the orientation of the chat agent sessions view when it is shown alongside the chat."),
391391
tags: ['preview', 'experimental'],
392392
experiment: {

src/vs/workbench/contrib/chat/browser/chatViewPane.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -676,10 +676,6 @@ export class ChatViewPane extends ViewPane implements IViewWelcomeDelegate {
676676
case 'stacked':
677677
newSessionsViewerOrientation = AgentSessionsViewerOrientation.Stacked;
678678
break;
679-
// Side by side
680-
case 'sideBySide':
681-
newSessionsViewerOrientation = AgentSessionsViewerOrientation.SideBySide;
682-
break;
683679
// Update orientation based on available width
684680
default:
685681
newSessionsViewerOrientation = width >= ChatViewPane.SESSIONS_SIDEBAR_VIEW_MIN_WIDTH ? AgentSessionsViewerOrientation.SideBySide : AgentSessionsViewerOrientation.Stacked;

0 commit comments

Comments
 (0)