Skip to content

Commit e5243d2

Browse files
authored
Merge pull request #271845 from microsoft/rebornix/eerie-centipede
Enable sessions view for the team
2 parents 0df032f + ef43422 commit e5243d2

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@
216216

217217
"editor.aiStats.enabled": true, // Team selfhosting on ai stats
218218
"chat.emptyState.history.enabled": true,
219+
"chat.agentSessionsViewLocation": "view",
219220
"github.copilot.chat.advanced.taskTools.enabled": true,
220221
"chat.promptFilesRecommendations": {
221222
"plan-fast": true,

src/vs/workbench/contrib/chat/browser/chatSessions/view/chatSessionsView.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@ export class ChatSessionsView extends Disposable implements IWorkbenchContributi
9393
this.viewContainer = Registry.as<IViewContainersRegistry>(Extensions.ViewContainersRegistry).registerViewContainer(
9494
{
9595
id: VIEWLET_ID,
96-
title: nls.localize2('chat.sessions', "Chat Sessions"),
96+
title: nls.localize2('chat.agent.sessions', "Agent Sessions"),
9797
ctorDescriptor: new SyncDescriptor(ChatSessionsViewPaneContainer, [this.sessionTracker]),
9898
hideIfEmpty: false,
99-
icon: registerIcon('chat-sessions-icon', Codicon.commentDiscussionSparkle, 'Icon for Chat Sessions View'),
99+
icon: registerIcon('chat-sessions-icon', Codicon.commentDiscussionSparkle, 'Icon for Agent Sessions View'),
100100
order: 6
101101
}, ViewContainerLocation.Sidebar);
102102
this.isViewContainerRegistered = true;
@@ -173,7 +173,7 @@ class ChatSessionsViewPaneContainer extends ViewPaneContainer {
173173
}
174174

175175
override getTitle(): string {
176-
const title = nls.localize('chat.sessions.title', "Chat Sessions");
176+
const title = nls.localize('chat.agent.sessions.title', "Agent Sessions");
177177
return title;
178178
}
179179

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -441,10 +441,10 @@ class ChatStatusDashboard extends Disposable {
441441
const inProgress = this.chatSessionsService.getInProgress();
442442
if (inProgress.some(item => item.count > 0)) {
443443

444-
addSeparator(localize('chatSessionsTitle', "Chat Sessions"), toAction({
444+
addSeparator(localize('chatAgentSessionsTitle', "Agent Sessions"), toAction({
445445
id: 'workbench.view.chat.status.sessions',
446-
label: localize('viewChatSessionsLabel', "View Chat Sessions"),
447-
tooltip: localize('viewChatSessionsTooltip', "View Chat Sessions"),
446+
label: localize('viewChatSessionsLabel', "View Agent Sessions"),
447+
tooltip: localize('viewChatSessionsTooltip', "View Agent Sessions"),
448448
class: ThemeIcon.asClassName(Codicon.eye),
449449
run: () => this.runCommandAndClose('workbench.view.chat.sessions'),
450450
}));

0 commit comments

Comments
 (0)