@@ -255,27 +255,26 @@ export class WorkspaceProvider implements vscode.TreeDataProvider<vscode.TreeIte
255
255
256
256
// Add app status section with collapsible header
257
257
if ( element . agent . apps && element . agent . apps . length > 0 ) {
258
- const needsAttention = [ ]
258
+ const appStatuses = [ ]
259
259
for ( const app of element . agent . apps ) {
260
260
if ( app . statuses && app . statuses . length > 0 ) {
261
261
for ( const status of app . statuses ) {
262
- if ( status . needs_user_attention ) {
263
- needsAttention . push (
264
- new AppStatusTreeItem ( {
265
- name :status . message ,
266
- command :app . command ,
267
- status :status . state ,
268
- workspace_name :element . workspaceName ,
269
- } ) ,
270
- )
271
- }
262
+ // Show all statuses, not just ones needing attention
263
+ appStatuses . push (
264
+ new AppStatusTreeItem ( {
265
+ name :status . message ,
266
+ command :app . command ,
267
+ status :status . state ,
268
+ workspace_name :element . workspaceName ,
269
+ } ) ,
270
+ )
272
271
}
273
272
}
274
273
}
275
274
276
- //Only show the section if it hasitems that need attention
277
- if ( needsAttention . length > 0 ) {
278
- const appStatusSection = new SectionTreeItem ( "Applications in need of attention " , needsAttention )
275
+ //Show the section if it hasany items
276
+ if ( appStatuses . length > 0 ) {
277
+ const appStatusSection = new SectionTreeItem ( "Application Statuses " , appStatuses )
279
278
items . push ( appStatusSection )
280
279
}
281
280
}
@@ -353,7 +352,7 @@ class SectionTreeItem extends vscode.TreeItem {
353
352
label :string ,
354
353
public readonly children :vscode . TreeItem [ ] ,
355
354
) {
356
- super ( label , vscode . TreeItemCollapsibleState . Expanded )
355
+ super ( label , vscode . TreeItemCollapsibleState . Collapsed )
357
356
this . contextValue = "coderSectionHeader"
358
357
}
359
358
}