File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ interface ILocalChatSessionItem extends IChatSessionItem {
61
61
group ?: IEditorGroup ;
62
62
widget ?: IChatWidget ;
63
63
sessionType : 'editor' | 'widget' ;
64
+ description ?: string ;
64
65
}
65
66
66
67
export class ChatSessionsView extends Disposable implements IWorkbenchContribution {
@@ -290,7 +291,8 @@ class LocalChatSessionsProvider extends Disposable implements IChatSessionItemPr
290
291
if ( chatWidget ) {
291
292
sessions . push ( {
292
293
id : LocalChatSessionsProvider . CHAT_WIDGET_VIEW_ID ,
293
- label : chatWidget . viewModel ?. model . title || nls . localize2 ( 'chat.sessions.chatView' , "Chat View" ) . value ,
294
+ label : chatWidget . viewModel ?. model . title || nls . localize2 ( 'chat.sessions.chatView' , "Chat" ) . value ,
295
+ description : nls . localize ( 'chat.sessions.chatView.description' , "Chat View" ) ,
294
296
iconPath : Codicon . chatSparkle ,
295
297
widget : chatWidget ,
296
298
sessionType : 'widget'
@@ -545,6 +547,7 @@ class SessionsRenderer extends Disposable implements ITreeRenderer<IChatSessionI
545
547
// Set the resource label
546
548
templateData . resourceLabel . setResource ( {
547
549
name : session . label ,
550
+ description : 'description' in session && typeof session . description === 'string' ? session . description : '' ,
548
551
resource : iconResource
549
552
} , {
550
553
fileKind : undefined ,
You can’t perform that action at this time.
0 commit comments