Skip to content

: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.

fix(desktop): archive tasks from focused editors (#79643)

Matt Pua8df24a2827b2
diff --git a/products/desktop/packages/ui/src/features/task-detail/components/TaskDetail.tsx b/products/desktop/packages/ui/src/features/task-detail/components/TaskDetail.tsx
index da33c1e15962..e0bd2cf4c43e 100644
--- a/products/desktop/packages/ui/src/features/task-detail/components/TaskDetail.tsx
+++ b/products/desktop/packages/ui/src/features/task-detail/components/TaskDetail.tsx
@@ -117,7 +117,11 @@ export function TaskDetail({
}
void runArchive().catch(() => undefined);
},
- { scopes: ["taskDetail"] },
+ {
+ scopes: ["taskDetail"],
+ enableOnContentEditable: true,
+ enableOnFormTags: true,
+ },
[task, taskId, taskSession, runtime, isPiGenerating, runArchive],
);