Fix chat view name (#212646)

* Fix chat view name

* Fix
This commit is contained in:
Rob Lourens 2024-05-14 09:11:17 -07:00 committed by GitHub
parent 528d13bffc
commit e1c99ae22e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -265,12 +265,13 @@ export class ChatExtensionPointHandler implements IWorkbenchContribution {
private registerDefaultParticipantView(defaultParticipantDescriptor: IRawChatParticipantContribution): IDisposable {
// Register View
const name = defaultParticipantDescriptor.fullName ?? defaultParticipantDescriptor.name;
const viewDescriptor: IViewDescriptor[] = [{
id: CHAT_VIEW_ID,
containerIcon: this._viewContainer.icon,
containerTitle: this._viewContainer.title.value,
singleViewPaneContainerTitle: this._viewContainer.title.value,
name: { value: defaultParticipantDescriptor.name, original: defaultParticipantDescriptor.name },
name: { value: name, original: name },
canToggleVisibility: false,
canMoveView: true,
ctorDescriptor: new SyncDescriptor(ChatViewPane),