commit 5243f66caff6e6ec4eee8cec98a4859be87199bc
parent 69eeaaae9396ca9a11b85aad0d572b93b330af9c
Author: Brian Graham <brian@buildingbetterteams.de>
Date: Fri, 3 Apr 2026 20:15:21 +0200
Add standalone link for artifact previews
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/dashboard/src/components/RunDetail.tsx b/dashboard/src/components/RunDetail.tsx
@@ -214,8 +214,11 @@ export default function RunDetail({ run, transcriptLines, axisValues }: RunDetai
{artifactUrl && (
<div className="card" style={{ padding: "0", overflow: "hidden", position: "sticky", top: "16px" }}>
- <div style={{ padding: "12px 16px", borderBottom: "1px solid var(--border)", fontSize: "0.8rem", fontWeight: 600 }}>
- Result Preview
+ <div style={{ padding: "12px 16px", borderBottom: "1px solid var(--border)", fontSize: "0.8rem", fontWeight: 600, display: "flex", justifyContent: "space-between", alignItems: "center" }}>
+ <span>Result Preview</span>
+ <a href={artifactUrl} target="_blank" rel="noopener noreferrer" style={{ fontSize: "0.7rem", color: "var(--accent)" }}>
+ Open standalone
+ </a>
</div>
<iframe
srcDoc={`<!DOCTYPE html><html><head><meta charset="UTF-8"></head><body style="margin:0;overflow:hidden"><iframe src="${artifactUrl}" style="width:100%;height:100%;border:none" sandbox="allow-scripts"></iframe></body></html>`}