: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
feat(desktop): offer pr merged and pr closed loop notifications (#106361)
posthog[bot]16ea07611df3
diff --git a/products/desktop/packages/api-client/src/loops.ts b/products/desktop/packages/api-client/src/loops.tsindex 7bb716c363ba..0ff6f04d6481 100644--- a/products/desktop/packages/api-client/src/loops.ts+++ b/products/desktop/packages/api-client/src/loops.ts@@ -22,6 +22,8 @@ export namespace LoopSchemas {| "run_completed"| "run_failed"| "pr_created"+ | "pr_merged"+ | "pr_closed"| "needs_attention";export type LoopGithubTriggerEventEnum =| "issues"diff --git a/products/desktop/packages/ui/src/features/loops/components/LoopNotificationsFields.tsx b/products/desktop/packages/ui/src/features/loops/components/LoopNotificationsFields.tsxindex 2a3e9a75f3ae..118bfd1fdaff 100644--- a/products/desktop/packages/ui/src/features/loops/components/LoopNotificationsFields.tsx+++ b/products/desktop/packages/ui/src/features/loops/components/LoopNotificationsFields.tsx@@ -16,6 +16,8 @@ const EVENT_OPTIONS: {{ value: "run_completed", label: "Run completed" },{ value: "run_failed", label: "Run failed" },{ value: "pr_created", label: "PR created" },+ { value: "pr_merged", label: "PR merged" },+ { value: "pr_closed", label: "PR closed" },{ value: "needs_attention", label: "Needs attention" },];