Skip to content

Commit b8acb41

Browse files
authored
revised chat control, new workspace phrasing and icon (microsoft#256784)
* revised chat control, new workspace phrasing * workspace chat sparkle icon * updated inline chat placeholder text
1 parent 7a6fa3a commit b8acb41

File tree

6 files changed

+14
-14
lines changed

6 files changed

+14
-14
lines changed

src/vs/workbench/contrib/chat/browser/actions/chatActions.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ export function registerChatActions() {
10691069
constructor() {
10701070
super({
10711071
id: 'workbench.action.chat.manageSettings',
1072-
title: localize2('manageCopilot', "Manage Copilot"),
1072+
title: localize2('manageCopilot', "Manage Chat"),
10731073
category: CHAT_CATEGORY,
10741074
f1: true,
10751075
precondition: ContextKeyExpr.and(
@@ -1286,7 +1286,7 @@ export function stringifyItem(item: IChatRequestViewModel | IChatResponseViewMod
12861286
}
12871287

12881288

1289-
// --- Title Bar Copilot Controls
1289+
// --- Title Bar Chat Controls
12901290

12911291
const defaultChat = {
12921292
documentationUrl: product.defaultChatAgent?.documentationUrl ?? '',
@@ -1335,8 +1335,8 @@ registerAction2(class ToggleCopilotControl extends ToggleTitleBarConfigAction {
13351335
constructor() {
13361336
super(
13371337
'chat.commandCenter.enabled',
1338-
localize('toggle.chatControl', 'Copilot Controls'),
1339-
localize('toggle.chatControlsDescription', "Toggle visibility of the Copilot Controls in title bar"), 5,
1338+
localize('toggle.chatControl', 'Chat Controls'),
1339+
localize('toggle.chatControlsDescription', "Toggle visibility of the Chat Controls in title bar"), 5,
13401340
ContextKeyExpr.and(
13411341
ContextKeyExpr.and(
13421342
ChatContextKeys.Setup.hidden.negate(),

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ export class ChatSetupContribution extends Disposable implements IWorkbenchContr
994994
class ChatSetupHideAction extends Action2 {
995995

996996
static readonly ID = 'workbench.action.chat.hideSetup';
997-
static readonly TITLE = localize2('hideChatSetup', "Hide Copilot");
997+
static readonly TITLE = localize2('hideChatSetup', "Hide Chat");
998998

999999
constructor() {
10001000
super({
@@ -1018,9 +1018,9 @@ export class ChatSetupContribution extends Disposable implements IWorkbenchContr
10181018
const dialogService = accessor.get(IDialogService);
10191019

10201020
const { confirmed } = await dialogService.confirm({
1021-
message: localize('hideChatSetupConfirm', "Are you sure you want to hide Copilot?"),
1022-
detail: localize('hideChatSetupDetail', "You can restore Copilot by running the '{0}' command.", CHAT_SETUP_ACTION_LABEL.value),
1023-
primaryButton: localize('hideChatSetupButton', "Hide Copilot")
1021+
message: localize('hideChatSetupConfirm', "Are you sure you want to hide Chat?"),
1022+
detail: localize('hideChatSetupDetail', "You can restore Chat by running the '{0}' command.", CHAT_SETUP_ACTION_LABEL.value),
1023+
primaryButton: localize('hideChatSetupButton', "Hide Chat")
10241024
});
10251025

10261026
if (!confirmed) {

src/vs/workbench/contrib/inlineChat/browser/inlineChatController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ export class InlineChatController1 implements IEditorContribution {
10431043
}
10441044

10451045
private _updatePlaceholder(): void {
1046-
this._ui.value.widget.placeholder = this._session?.agent.description ?? '';
1046+
this._ui.value.widget.placeholder = this._session?.agent.description ?? localize('askOrEditInContext', 'Ask or edit in context');
10471047
}
10481048

10491049
private _updateInput(text: string, selectAll = true): void {

src/vs/workbench/contrib/notebook/browser/controller/chat/notebookChatController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ export class NotebookChatController extends Disposable implements INotebookEdito
438438
}
439439
}
440440
));
441-
inlineChatWidget.placeholder = localize('default.placeholder', "Ask a question");
441+
inlineChatWidget.placeholder = localize('default.placeholder', "Ask or edit in context");
442442
inlineChatWidget.updateInfo(localize('welcome.1', "AI-generated code may be incorrect"));
443443
widgetContainer.appendChild(inlineChatWidget.domNode);
444444

src/vs/workbench/contrib/terminalContrib/chat/browser/terminalChatWidget.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ export class TerminalChatWidget extends Disposable {
228228

229229
private _resetPlaceholder() {
230230
const defaultAgent = this._chatAgentService.getDefaultAgent(ChatAgentLocation.Terminal);
231-
this.inlineChatWidget.placeholder = defaultAgent?.description ?? localize('askAI', 'Ask AI');
231+
this.inlineChatWidget.placeholder = defaultAgent?.description ?? localize('askAboutCommands', 'Ask about commands');
232232
}
233233

234234
async reveal(viewState?: IChatViewState): Promise<void> {

src/vs/workbench/contrib/welcomeGettingStarted/common/gettingStartedContent.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,9 @@ export const startEntries: GettingStartedStartEntryContent = [
210210
},
211211
{
212212
id: 'topLevelNewWorkspaceChat',
213-
title: localize('gettingStarted.newWorkspaceChat.title', "New Workspace with Copilot..."),
214-
description: localize('gettingStarted.newWorkspaceChat.description', "Create a new workspace with Copilot"),
215-
icon: Codicon.copilot,
213+
title: localize('gettingStarted.newWorkspaceChat.title', "Generate New Workspace..."),
214+
description: localize('gettingStarted.newWorkspaceChat.description', "Chat to create a new workspace"),
215+
icon: Codicon.chatSparkle,
216216
when: '!isWeb && !chatSetupHidden',
217217
content: {
218218
type: 'startEntry',

0 commit comments

Comments
 (0)