From 4fda0e3e267c21d8da11d252290c40df4451b170 Mon Sep 17 00:00:00 2001 From: huangruiteng Date: Thu, 1 Oct 2026 18:00:05 +0800 Subject: [PATCH] fix(app): select the manager conversation view from the operations tile #5399 replaced the manager chat open/close state with the typed workspace view (`selectedGoalTab`) but left the ManagerHomeBoard's "view all operations" handler calling the removed `setManagerChatOpen`. The dashboard therefore no longer type-checks (`tsc --noEmit`, TS2552) and the button throws when clicked. Route the handler through the same typed view owner as the rest of the surface, so the operations tile opens the manager conversation instead of referencing a removed setter. No other #5399 leftover is present. Signed-off-by: huangruiteng --- .../src/features/personal-workspace/personal-workspace-page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/presentation/dashboard/src/features/personal-workspace/personal-workspace-page.tsx b/apps/presentation/dashboard/src/features/personal-workspace/personal-workspace-page.tsx index c88124c585..a9daf7b81c 100644 --- a/apps/presentation/dashboard/src/features/personal-workspace/personal-workspace-page.tsx +++ b/apps/presentation/dashboard/src/features/personal-workspace/personal-workspace-page.tsx @@ -1986,7 +1986,7 @@ export function PersonalWorkspacePage({ ) : !managerChatOpen ? ( void callbacks.onRefresh?.("missing")} onSelectGoal={selectGoal} systemHealth={model.systemHealth} operations={actionReadback.isError ? [] : homeOperations} onSelectOperation={proposal => setSelection({kind: "proposal", item: proposal})} - onViewAllOperations={() => setManagerChatOpen(true)} /> + onViewAllOperations={() => setSelectedGoalTab("chat")} /> ) : (