mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
* Disable recording webview click events Introduces a temporary measure to disable the recording of webview click events in PostHog. This is achieved by adding a `temporaryDisabled` flag that, when true, prevents the initialization of PostHog and stops the identification of users. This change is intended to be temporary and should be reverted in a future commit by removing the `temporaryDisabled` flag. * Use separate PostHog config for development environment This commit introduces a separate PostHog project for the development environment. This allows us to track events in the development environment without polluting the production data. The `posthogConfig` now uses `posthogDevEnvConfig` when `process.env.isDev` is true, and `posthogProdConfig` otherwise. * process.env.IS_DEV * Update src/shared/services/config/posthog-config.ts Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com> * fix format --------- Co-authored-by: Beatrix Woo <beatrix@cline.bot> Co-authored-by: ellipsis-dev[bot] <65095814+ellipsis-dev[bot]@users.noreply.github.com>