fix(webui): sidebar selection styling, kanban active state, pointer cursors, and owner dashboard (#344)

* fix(webui): update sidebar selection styling, kanban active state, and pointer cursors

* feat(webui): move dashboard to left sidebar and prevent mount animation

* fix(e2e): update create-project test to click Home button in sidebar
This commit is contained in:
Yiling-J
2026-08-23 16:39:56 +08:00
committed by GitHub
parent d21f8ca8de
commit 37e086d822
15 changed files with 120 additions and 53 deletions
@@ -252,20 +252,14 @@ describe('LocalExecutor Integration Tests', () => {
)
// Wait briefly for Prisma Client Extension's async submits to trigger
await new Promise((resolve) => setTimeout(resolve, 100))
// Exactly 5 tasks should be running concurrently
expect(mocks.agentChat).toHaveBeenCalledTimes(5)
await vi.waitFor(() => expect(mocks.agentChat).toHaveBeenCalledTimes(5))
// Resolve 2 tasks to let the remaining 2 start
activeResolvers[0](undefined)
activeResolvers[1](undefined)
// Wait briefly for the pool to dequeue
await new Promise((resolve) => setTimeout(resolve, 50))
// Now all 7 tasks should have started
expect(mocks.agentChat).toHaveBeenCalledTimes(7)
await vi.waitFor(() => expect(mocks.agentChat).toHaveBeenCalledTimes(7))
// Clean up remaining tasks
activeResolvers.slice(2).forEach((resolve) => resolve(undefined))
+1 -1
View File
@@ -161,7 +161,7 @@ describe('WorkflowService', () => {
},
})
const submitSpy = vi.spyOn(workflowService, 'submit')
const submitSpy = vi.spyOn(workflowService, 'submit').mockImplementation(async () => 'mock-id')
const task = await prisma.workflowTask.create({
data: {