File tree Expand file tree Collapse file tree 2 files changed +13
-1
lines changed
src/vs/workbench/contrib/chat/browser Expand file tree Collapse file tree 2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 33 * Licensed under the MIT License. See License.txt in the project root for license information.
44 *--------------------------------------------------------------------------------------------*/
55
6+ import './media/chatSessions.css' ;
67import * as nls from '../../../../nls.js' ;
78import { IConfigurationService } from '../../../../platform/configuration/common/configuration.js' ;
89import { IContextMenuService } from '../../../../platform/contextview/browser/contextView.js' ;
@@ -514,10 +515,13 @@ class SessionsViewPane extends ViewPane {
514515 accessibilityProvider : {
515516 getAriaLabel : ( element : IChatSessionItem ) => element . label ,
516517 getWidgetAriaLabel : ( ) => nls . localize ( 'chatSessions.treeAriaLabel' , "Chat Sessions" )
517- }
518+ } ,
519+ hideTwistiesOfChildlessElements : true ,
520+ allowNonCollapsibleParents : true // Allow nodes to be non-collapsible even if they have children
518521 }
519522 ) as WorkbenchAsyncDataTree < IChatSessionItemProvider , IChatSessionItem , FuzzyScore > ;
520523
524+ console . log ( 'Tree created with hideTwistiesOfChildlessElements: true' ) ;
521525 this . _register ( this . tree ) ;
522526
523527 // Handle double-click and keyboard selection to open editors
Original file line number Diff line number Diff line change 1+ /*---------------------------------------------------------------------------------------------
2+ * Copyright (c) Microsoft Corporation. All rights reserved.
3+ * Licensed under the MIT License. See License.txt in the project root for license information.
4+ *--------------------------------------------------------------------------------------------*/
5+
6+ .chat-sessions-tree .monaco-tl-twistie {
7+ display : none !important ;
8+ }
You can’t perform that action at this time.
0 commit comments