mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 15:24:40 +01:00
sessions: adjust workspace picker empty state text segmentation (#305750)
This commit is contained in:
@@ -443,7 +443,7 @@ class NewChatWidget extends Disposable implements IHistoryNavigationWidget {
|
||||
const pickersLabel = dom.append(pickersRow, dom.$('.chat-full-welcome-pickers-label'));
|
||||
pickersLabel.textContent = this._workspacePicker.selectedProject
|
||||
? localize('newSessionIn', "New session in")
|
||||
: localize('newSessionChooseWorkspace', "Start by picking");
|
||||
: localize('newSessionChooseWorkspace', "Start by picking a");
|
||||
|
||||
// Project picker (unified folder + repo picker)
|
||||
this._workspacePicker.render(pickersRow);
|
||||
|
||||
@@ -381,7 +381,7 @@ export class WorkspacePicker extends Disposable {
|
||||
|
||||
dom.clearNode(this._triggerElement);
|
||||
const workspace = this._selectedWorkspace?.workspace;
|
||||
const label = workspace ? workspace.label : localize('pickWorkspace', "a workspace");
|
||||
const label = workspace ? workspace.label : localize('pickWorkspace', "workspace");
|
||||
const icon = workspace ? workspace.icon : Codicon.project;
|
||||
|
||||
dom.append(this._triggerElement, renderIcon(icon));
|
||||
|
||||
Reference in New Issue
Block a user