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(subscriptions): hide Slack gallery option for prompt reports (#93972)

Vasco de Krijgere60cef012cdb
diff --git a/products/subscriptions/frontend/components/Subscriptions/views/EditSubscription.tsx b/products/subscriptions/frontend/components/Subscriptions/views/EditSubscription.tsx
index 823e73278466..6fc63eab6765 100644
--- a/products/subscriptions/frontend/components/Subscriptions/views/EditSubscription.tsx
+++ b/products/subscriptions/frontend/components/Subscriptions/views/EditSubscription.tsx
@@ -572,8 +572,9 @@ function EditSubscriptionForm({
</LemonField>
)}
- {(slackGalleryEnabled ||
- subscription.delivery_config?.post_all_insights_in_main_message) &&
+ {!isAiPrompt &&
+ (slackGalleryEnabled ||
+ subscription.delivery_config?.post_all_insights_in_main_message) &&
subscription.integration_id &&
subscription.target_value &&
(() => {