mirror of
https://github.com/makeplane/plane.git
synced 2026-08-29 10:08:51 +02:00
* chore: remove posthog integration and analytics scaffold
Removes the PostHog integration end to end, plus the inert autocapture
scaffold left behind by an earlier partial removal (d61b157929,
"chore: remove posthog events (#8465)").
Backend:
- delete bgtasks/event_tracking_task.py and utils/analytics_events.py
- drop all 6 track_event.delay call sites
- drop POSTHOG_API_KEY / POSTHOG_HOST settings
- stop returning posthog_api_key / posthog_host from GET /api/instances/
- drop the posthog==3.5.0 dependency
Frontend:
- delete packages/constants/src/event-tracker (all 40 exports were unused)
- remove 42 data-ph-element attributes across 36 files
- remove the dead shouldTrackEvents and trackerElements prop chains
- remove the Microsoft Clarity session-recording tag
Note: GET /api/instances/ no longer returns posthog_api_key/posthog_host.
Nothing in this repo read them and neither do plane-ee or plane-commercial,
but the endpoint is AllowAny and cached for 2h.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HD7dTidmtWWRRiFv3nmW3s
* chore: apply oxfmt formatting
Collapse JSX elements and import statements that were left multi-line
after the tracker props and specifiers were removed. Whitespace only.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HD7dTidmtWWRRiFv3nmW3s
---------
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
92 lines
2.1 KiB
JSON
92 lines
2.1 KiB
JSON
{
|
|
"$schema": "https://v2-8-12.turborepo.dev/schema.json",
|
|
"globalDependencies": [".npmrc", ".oxfmtrc.json", ".oxlintrc.json"],
|
|
"globalEnv": [
|
|
"APP_VERSION",
|
|
"DEV",
|
|
"LOG_LEVEL",
|
|
"NODE_ENV",
|
|
"SENTRY_DSN",
|
|
"SENTRY_ENVIRONMENT",
|
|
"SENTRY_TRACES_SAMPLE_RATE",
|
|
"VITE_ADMIN_BASE_PATH",
|
|
"VITE_ADMIN_BASE_URL",
|
|
"VITE_API_BASE_PATH",
|
|
"VITE_API_BASE_URL",
|
|
"VITE_APP_VERSION",
|
|
"VITE_LIVE_BASE_PATH",
|
|
"VITE_LIVE_BASE_URL",
|
|
"VITE_SENTRY_DSN",
|
|
"VITE_SENTRY_ENVIRONMENT",
|
|
"VITE_SENTRY_PROFILES_SAMPLE_RATE",
|
|
"VITE_SENTRY_REPLAYS_ON_ERROR_SAMPLE_RATE",
|
|
"VITE_SENTRY_REPLAYS_SESSION_SAMPLE_RATE",
|
|
"VITE_SENTRY_SEND_DEFAULT_PII",
|
|
"VITE_SENTRY_TRACES_SAMPLE_RATE",
|
|
"VITE_SPACE_BASE_PATH",
|
|
"VITE_SPACE_BASE_URL",
|
|
"VITE_SUPPORT_EMAIL",
|
|
"VITE_WEB_BASE_PATH",
|
|
"VITE_WEB_BASE_URL",
|
|
"VITE_WEBSITE_URL"
|
|
],
|
|
"remoteCache": {
|
|
"enabled": false
|
|
},
|
|
"tasks": {
|
|
"build": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["$TURBO_DEFAULT$", ".env*"],
|
|
"outputs": ["dist/**", "build/**", ".react-router/**"]
|
|
},
|
|
"build-storybook": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": ["storybook-static/**"]
|
|
},
|
|
"check": {
|
|
"dependsOn": ["check:format", "check:lint", "check:types"]
|
|
},
|
|
"check:format": {
|
|
"inputs": ["$TURBO_DEFAULT$"],
|
|
"outputs": []
|
|
},
|
|
"check:lint": {
|
|
"inputs": ["$TURBO_DEFAULT$", "!**/*.md"],
|
|
"outputs": []
|
|
},
|
|
"check:types": {
|
|
"dependsOn": ["^build"],
|
|
"inputs": ["$TURBO_DEFAULT$", "!**/*.md"],
|
|
"outputs": []
|
|
},
|
|
"clean": {
|
|
"cache": false
|
|
},
|
|
"dev": {
|
|
"cache": false,
|
|
"dependsOn": ["^build"],
|
|
"persistent": true
|
|
},
|
|
"fix": {
|
|
"cache": false,
|
|
"dependsOn": ["fix:format", "fix:lint"]
|
|
},
|
|
"fix:format": {
|
|
"inputs": ["$TURBO_DEFAULT$"],
|
|
"outputs": []
|
|
},
|
|
"fix:lint": {
|
|
"inputs": ["$TURBO_DEFAULT$", "!**/*.md"],
|
|
"outputs": []
|
|
},
|
|
"start": {
|
|
"cache": false,
|
|
"persistent": true
|
|
},
|
|
"test": {
|
|
"dependsOn": ["^build"],
|
|
"outputs": []
|
|
}
|
|
}
|
|
}
|