:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(tasks): fill the whole window in artifact full page view (#110485)
Shy Alter02f05dfd0921
diff --git a/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskRunArtifacts.tsx b/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskRunArtifacts.tsxindex 7fc97e246346..e1519fa6aa08 100644--- a/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskRunArtifacts.tsx+++ b/products/posthog_ai/frontend/scenes/TaskTracker/components/TaskRunArtifacts.tsx@@ -913,7 +913,11 @@ function ArtifactsWorkspace({ taskId }: { taskId: string }): JSX.Element {)}</section><Dialog open={expanded} onOpenChange={setExpanded}>- <DialogContent size="full" showCloseButton={false} className="flex h-full flex-col gap-0 p-0">+ {/* Full page covers the whole window, so the dialog drops its inset, corners and shadow. */}+ <DialogContent+ showCloseButton={false}+ className="inset-0 flex h-dvh max-h-none w-screen max-w-none translate-none flex-col gap-0 rounded-none p-0 shadow-none"+ ><DialogTitle className="sr-only">{selectedArtifact.name}</DialogTitle>{/* The toolbar hides parts by container width, so the dialog gets its own container. */}<div className="@container/main-content flex min-h-0 flex-1 flex-col">