mirror of
https://github.com/BloopAI/vibe-kanban.git
synced 2026-11-27 23:50:38 +00:00
* Make it explicit that release builds collect no usage analytics or crash reports - Read POSTHOG_API_KEY / POSTHOG_API_ENDPOINT / SENTRY_DSN from the runtime environment only in debug builds; release builds use compiled-in values only, and empty values count as unset. - Settings > Privacy: builds without a PostHog key show a plain line instead of the "Enable Telemetry" checkbox (all 7 locales). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Show the telemetry toggle whenever the backend can send data Settings → Privacy decided whether anything is collected from the frontend's VITE_POSTHOG_API_KEY alone. That missed backend keys (the Docker image compiles POSTHOG_API_KEY into the backend but never sets the Vite name), Sentry DSNs, and debug backends that read the runtime env. In those cases the UI hid the opt-out and said nothing is collected while events were being sent. /api/info now reports `telemetry: { analytics, crash_reports }` from the server itself (PostHog configured, Sentry initialized). The UI shows the "doesn't collect" notice only when the backend reports neither and this frontend build has no PostHog key+endpoint or Sentry DSN. A server too old to report its status keeps the toggle. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Turn off usage analytics and crash reports Replace the compiled-key / backend-status approach with a plain switch-off: - AnalyticsConfig::new() returns None, so the server, MCP and desktop app never send PostHog events. - SentrySource::dsn() returns None, so Sentry is never initialized. - local-web no longer initializes Sentry or PostHog; remote-web no longer initializes PostHog. - Settings -> Privacy shows a fixed notice instead of the telemetry toggle. Drops the telemetry_env helper, the /api/info telemetry field and the frontend collectsTelemetry helper. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>