Replace office sidebar with full-page canvas-rendered office

The virtual office is now a dedicated page (nav: Office) with an HTML5
Canvas rendering animated pixel-art characters. Each agent is drawn as
a pixel person with deterministic skin/shirt colors, walking legs, and
a bobbing head when active. Idle agents wander randomly near their desk.
Active agents show a green dot, thinking agents show a question mark.
Departments are labeled zones with desks and monitors. Removed the old
sidebar component entirely.
This commit is contained in:
ZacharyZhang-NY committed 2026-06-30 22:30:00 -04:00
1 parent 7a85f73dbb
commit f60ef60da1
6 files changed
+259 -227

No files matched your search

+3 -5
View File
@@ -164,11 +164,9 @@ test("onboards, hires, and creates work in the Electron shell", async () => {
await page.getByRole("button", { name: "Set", exact: true }).click();
await expect(page.getByRole("button", { name: "active", exact: true })).toBeDisabled();
// Virtual office sidebar toggle
// Virtual office page
await page.getByRole("button", { name: "Office" }).click();
await expect(page.locator(".office-sidebar")).toBeVisible();
await page.locator(".office-sidebar").getByRole("button", { name: "Close office" }).click();
await expect(page.locator(".office-sidebar")).not.toBeVisible();
await expect(page.locator("canvas")).toBeVisible();
// Composio settings panel
await page.getByRole("button", { name: "Settings" }).click();
@@ -220,7 +218,7 @@ function createSkillDirectory(): string {
async function verifyPagesDoNotOverflow(page: Page): Promise<void> {
for (const size of [{ width: 1280, height: 860 }, { width: 980, height: 700 }]) {
await page.setViewportSize(size);
for (const nav of ["Home", "Team", "Work", "Messages", "Files", "Approvals", "Social", "Settings"]) {
for (const nav of ["Home", "Team", "Work", "Messages", "Files", "Approvals", "Social", "Office", "Settings"]) {
await page.getByRole("button", { name: nav, exact: true }).click();
await expectPageToFit(page);
}