+ ${workspace.label}
+ ${workspace.path}
+ Changed files: ${gitStatus?.files.length ?? 0}
+
+ `,
+ },
+]
+```
+
+Panel type:
+
+```ts
+interface WorkspacePanelContribution {
+ id: string;
+ title: string;
+ order?: number;
+ visible?: (workspace: Workspace) => boolean;
+ badge?: (context: WorkspacePanelContext) => string | number | TemplateResult | undefined;
+ render: (context: WorkspacePanelContext) => TemplateResult;
+}
+```
+
+Panel context:
+
+```ts
+interface WorkspacePanelContext {
+ workspace: Workspace;
+ fileTree: FileTreeEntry[];
+ expandedDirs: Record