v2.2.16: Astra Office UI Overhaul & Operations Floor
This commit is contained in:
+17
-1
@@ -669,6 +669,22 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
|
||||
})();
|
||||
this._view?.webview.postMessage(payload);
|
||||
this._pixelOfficePanel?.webview.postMessage(payload);
|
||||
if (cfg.companyPixelOfficeEnabled) {
|
||||
try {
|
||||
const state = payload.value.state ?? undefined;
|
||||
const snapshot = presentOfficeSnapshot({
|
||||
activeState: state ?? undefined,
|
||||
recentBubbles: [],
|
||||
recentActivity: this._pixelOfficeActivity,
|
||||
roster: this._buildOfficeRoster(),
|
||||
});
|
||||
const snapMsg = { type: 'officeSnapshot' as const, value: snapshot };
|
||||
this._view?.webview.postMessage(snapMsg);
|
||||
this._pixelOfficePanel?.webview.postMessage(snapMsg);
|
||||
} catch {
|
||||
// Snapshot 재전송 실패가 기존 fallback 경로를 깨면 안 됨.
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -683,7 +699,7 @@ export class SidebarChatProvider implements vscode.WebviewViewProvider, BridgeIn
|
||||
}
|
||||
const panel = vscode.window.createWebviewPanel(
|
||||
'astra.pixelOffice',
|
||||
'Pixel Office',
|
||||
'Astra Office',
|
||||
column,
|
||||
{ enableScripts: true, localResourceRoots: [this._extensionUri], retainContextWhenHidden: true },
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user