Orkas is an open-source (MIT), local-first AI team for your desktop: a Commander turns your goal into to-dos and coordinates 16 built-in specialist agents plus Claude Code, Codex, OpenCode, OpenClaw and Hermes, with projects, scheduled automations and connectors. Free app for macOS & Windows; built-in models or your own keys.
JavaScript agent-collaborationagent-harnessagent-orchestrationagent-teamagent-workflowai-assistantai-automationai-employeeai-productivityai-teamai-workflowautonomous-agentsclaude-code-guiclaude-coworkdesktop-agentlocal-firstmulti-agentmulti-agent-systemself-evolving-agentstask-automation
fix: restore sidebar section toggles
wyt9bb098d17520
diff --git a/src/renderer/index.html b/src/renderer/index.htmlindex 360e4e3f..c349c151 100644--- a/src/renderer/index.html+++ b/src/renderer/index.html@@ -1691,6 +1691,7 @@};</script><script src="./modules/math.js"></script>+ <script src="./modules/sidebar-sections.js"></script><script src="./modules/sidebar-resize.js"></script></body></html>diff --git a/test/e2e/sidebar_e2e_sections.spec.ts b/test/e2e/sidebar_e2e_sections.spec.tsnew file mode 100644index 00000000..329e9ed0--- /dev/null+++ b/test/e2e/sidebar_e2e_sections.spec.ts@@ -0,0 +1,26 @@+import { expect, test } from './fixtures/orkas';++test.describe('sidebar sections', () => {+ test('collapses and expands Projects and Tasks from their title controls', async ({ orkas }) => {+ if (!orkas.page) throw new Error('Orkas renderer is unavailable');+ const page = orkas.page;+ const projectsToggle = page.locator('#projects-section-toggle');+ const tasksToggle = page.locator('#tasks-section-toggle');++ await expect(projectsToggle).toHaveAttribute('aria-expanded', 'true');+ await expect(tasksToggle).toHaveAttribute('aria-expanded', 'true');++ await projectsToggle.locator('.sidebar-section-title').click();+ await expect(projectsToggle).toHaveAttribute('aria-expanded', 'false');+ await expect(page.locator('#projects-list')).toBeHidden();++ await tasksToggle.locator('.sidebar-section-title').click();+ await expect(tasksToggle).toHaveAttribute('aria-expanded', 'false');+ await expect(page.locator('#conversation-list')).toBeHidden();++ await projectsToggle.locator('.sidebar-section-title').click();+ await tasksToggle.locator('.sidebar-section-title').click();+ await expect(projectsToggle).toHaveAttribute('aria-expanded', 'true');+ await expect(tasksToggle).toHaveAttribute('aria-expanded', 'true');+ });+});