From 39bde165b889630cfd60fc82ee3e366a380c8ddd Mon Sep 17 00:00:00 2001 From: Matt Vollmer Date: Tue, 3 Mar 2026 17:10:11 -0500 Subject: [PATCH] fix(site): open View Workspace link in new window on agents page (#22578) On the `/agents` page, the "View Workspace" link in the header dropdown menu was navigating in the same tab via `navigate()`. This changes it to `window.open(workspaceRoute, "_blank")` so it opens in a new browser window/tab instead. It's frustrating when I want to view my workspace and then I have to go back and find my chat. --- site/src/pages/AgentsPage/AgentDetail.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/pages/AgentsPage/AgentDetail.tsx b/site/src/pages/AgentsPage/AgentDetail.tsx index c05f73ab1f..20417b2ada 100644 --- a/site/src/pages/AgentsPage/AgentDetail.tsx +++ b/site/src/pages/AgentsPage/AgentDetail.tsx @@ -871,7 +871,7 @@ const AgentDetail: FC = () => { if (!workspaceRoute) { return; } - navigate(workspaceRoute); + window.open(workspaceRoute, "_blank"); }; const handleOpenTerminal = () => {