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.
This commit is contained in:
Matt Vollmer
2026-03-03 17:10:11 -05:00
committed by GitHub
parent f758443f44
commit 39bde165b8
+1 -1
View File
@@ -871,7 +871,7 @@ const AgentDetail: FC = () => {
if (!workspaceRoute) {
return;
}
navigate(workspaceRoute);
window.open(workspaceRoute, "_blank");
};
const handleOpenTerminal = () => {