: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(inbox): stop Support source toggle re-enabling itself (#71895)
Michael Matloka575066827856
diff --git a/frontend/src/scenes/inbox/signalSourcesLogic.ts b/frontend/src/scenes/inbox/signalSourcesLogic.tsindex 9a004d094e37..f554f093df1a 100644--- a/frontend/src/scenes/inbox/signalSourcesLogic.ts+++ b/frontend/src/scenes/inbox/signalSourcesLogic.ts@@ -2451,9 +2451,10 @@ export const signalSourcesLogic = kea<signalSourcesLogicType>([})},toggleConversations: () => {+ // The optimistic reducer flips the config before this listener runs,+ // so config.enabled already reflects the desired state.const config = values.conversationsConfig- // Send the flipped target state. A missing config row means "off", so first toggle enables.- const desiredEnabled = !(config?.enabled ?? false)+ const desiredEnabled = config?.enabled ?? trueactions.toggleSignalSource({sourceProduct: SignalSourceProduct.Conversations,sourceType: SignalSourceType.Ticket,