v2.2.16: Astra Office UI Overhaul & Operations Floor

This commit is contained in:
g1nation
2026-05-16 22:21:09 +09:00
parent 9ca95ab997
commit 961e2cb4ea
20 changed files with 2632 additions and 212 deletions
+17 -1
View File
@@ -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 },
);