PromucFlow_constructor/app/client/src/ce/configs
Hetu Nandu de7f73d508
fix: Bad mixpanel config arising from env (#40262)
## Description

Earlier we were only checking for segment enabled to turn on mixpanel.
But an error happened when segment was enabled on a deployment but
mixpanel key was not present. This cause mixpanel config to be true but
without a key

To avoid this, we will also confirm mixpanel key exists and not just
segment

/ok-to-test tags="@tag.Sanity"

<!-- This is an auto-generated comment: Cypress test results  -->
> [!TIP]
> 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉
> Workflow run:
<https://github.com/appsmithorg/appsmith/actions/runs/14474665480>
> Commit: 2edc7ceece29ea7136d0a14f5f756f8a778b8bd0
> <a
href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=14474665480&attempt=1"
target="_blank">Cypress dashboard</a>.
> Tags: `@tag.Sanity`
> Spec:
> <hr>Tue, 15 Apr 2025 17:18:28 UTC
<!-- end of auto-generated comment: Cypress test results  -->


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

- **Bug Fixes**
- Improved accuracy of Mixpanel tracking settings, ensuring Mixpanel is
only enabled when both Segment and Mixpanel tracking are enabled.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2025-04-16 09:07:09 +05:30
..
index.ts fix: Bad mixpanel config arising from env (#40262) 2025-04-16 09:07:09 +05:30
types.ts chore: add grafana faro sdk (CE) (#38301) 2024-12-26 10:37:41 +05:30