mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 17:19:48 +01:00
Enable sessions view for the team
This commit is contained in:
Vendored
+1
@@ -216,6 +216,7 @@
|
||||
|
||||
"editor.aiStats.enabled": true, // Team selfhosting on ai stats
|
||||
"chat.emptyState.history.enabled": true,
|
||||
"chat.agentSessionsViewLocation": "view",
|
||||
"github.copilot.chat.advanced.taskTools.enabled": true,
|
||||
"chat.promptFilesRecommendations": {
|
||||
"plan-fast": true,
|
||||
|
||||
@@ -93,10 +93,10 @@ export class ChatSessionsView extends Disposable implements IWorkbenchContributi
|
||||
this.viewContainer = Registry.as<IViewContainersRegistry>(Extensions.ViewContainersRegistry).registerViewContainer(
|
||||
{
|
||||
id: VIEWLET_ID,
|
||||
title: nls.localize2('chat.sessions', "Chat Sessions"),
|
||||
title: nls.localize2('chat.agent.sessions', "Agent Sessions"),
|
||||
ctorDescriptor: new SyncDescriptor(ChatSessionsViewPaneContainer, [this.sessionTracker]),
|
||||
hideIfEmpty: false,
|
||||
icon: registerIcon('chat-sessions-icon', Codicon.commentDiscussionSparkle, 'Icon for Chat Sessions View'),
|
||||
icon: registerIcon('chat-sessions-icon', Codicon.commentDiscussionSparkle, 'Icon for Agent Sessions View'),
|
||||
order: 6
|
||||
}, ViewContainerLocation.Sidebar);
|
||||
this.isViewContainerRegistered = true;
|
||||
@@ -173,7 +173,7 @@ class ChatSessionsViewPaneContainer extends ViewPaneContainer {
|
||||
}
|
||||
|
||||
override getTitle(): string {
|
||||
const title = nls.localize('chat.sessions.title', "Chat Sessions");
|
||||
const title = nls.localize('chat.agent.sessions.title', "Agent Sessions");
|
||||
return title;
|
||||
}
|
||||
|
||||
|
||||
@@ -441,10 +441,10 @@ class ChatStatusDashboard extends Disposable {
|
||||
const inProgress = this.chatSessionsService.getInProgress();
|
||||
if (inProgress.some(item => item.count > 0)) {
|
||||
|
||||
addSeparator(localize('chatSessionsTitle', "Chat Sessions"), toAction({
|
||||
addSeparator(localize('chatAgentSessionsTitle', "Agent Sessions"), toAction({
|
||||
id: 'workbench.view.chat.status.sessions',
|
||||
label: localize('viewChatSessionsLabel', "View Chat Sessions"),
|
||||
tooltip: localize('viewChatSessionsTooltip', "View Chat Sessions"),
|
||||
label: localize('viewChatSessionsLabel', "View Agent Sessions"),
|
||||
tooltip: localize('viewChatSessionsTooltip', "View Agent Sessions"),
|
||||
class: ThemeIcon.asClassName(Codicon.eye),
|
||||
run: () => this.runCommandAndClose('workbench.view.chat.sessions'),
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user