This commit is contained in:
2026-01-01 18:33:05 +00:00
parent a218b6a0a1
commit bbb57f1b9f
12 changed files with 78 additions and 17 deletions

View File

@@ -957,6 +957,7 @@ testSmartPromise();
></dees-workspace-monaco>
`}
</div>
<dees-actionbar></dees-actionbar>
</div>
<!-- Horizontal resize handle for terminal -->
@@ -1021,9 +1022,6 @@ testSmartPromise();
.executionEnvironment=${this.executionEnvironment}
@run-process=${this.handleRunProcess}
></dees-workspace-bottombar>
<!-- Action Bar for notifications -->
<dees-actionbar></dees-actionbar>
</div>
`;
}
@@ -1056,9 +1054,6 @@ testSmartPromise();
this.currentFileTreeWidth = this.fileTreeWidth;
this.currentTerminalHeight = this.terminalHeight;
// Get actionbar reference for file change notifications
this.actionbarElement = this.shadowRoot?.querySelector('dees-actionbar') as DeesActionbar;
if (this.executionEnvironment) {
await this.initializeWorkspace();
}
@@ -1068,6 +1063,11 @@ testSmartPromise();
if (changedProperties.has('executionEnvironment') && this.executionEnvironment) {
await this.initializeWorkspace();
}
// Capture actionbar reference when it becomes available (after initialization completes)
if (!this.actionbarElement) {
this.actionbarElement = this.shadowRoot?.querySelector('.editor-panel dees-actionbar') as DeesActionbar;
}
}
private async initializeWorkspace() {