Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(session): open user id link in new tab (#11793)

marliessophiea499cd60bd5d
diff --git a/web/src/components/session/index.tsx b/web/src/components/session/index.tsx
index 04212b25dd..1ee443e11b 100644
--- a/web/src/components/session/index.tsx
+++ b/web/src/components/session/index.tsx
@@ -63,6 +63,8 @@ export function SessionUsers({
<Link
key={userId}
href={`/project/${projectId}/users/${encodeURIComponent(userId ?? "")}`}
+ target="_blank"
+ rel="noopener noreferrer"
>
<Badge className="max-w-[300px]">
<span className="truncate">User ID: {userId}</span>
@@ -92,6 +94,8 @@ export function SessionUsers({
key={userId}
href={`/project/${projectId}/users/${encodeURIComponent(userId ?? "")}`}
className="block hover:bg-accent"
+ target="_blank"
+ rel="noopener noreferrer"
>
<Badge className="max-w-[260px]">
<span className="truncate">User ID: {userId}</span>