jira/apps/api/plane/app/views/workspace
sriram veeraghanta e093a22094
chore: remove posthog integration and analytics scaffold (#9634)
* 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>
2026-08-24 21:07:34 +05:30
..
base.py chore: remove posthog integration and analytics scaffold (#9634) 2026-08-24 21:07:34 +05:30
cycle.py [WEB-8068] fix: scope workspace cycles/modules listing to project membership (#9373) 2026-07-16 16:00:08 +05:30
draft.py chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
estimate.py chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
favorite.py chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
home.py chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
invite.py chore: remove posthog integration and analytics scaffold (#9634) 2026-08-24 21:07:34 +05:30
label.py chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
member.py chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
module.py feat(api): enhance workspace module query to include member IDs (#9541) 2026-08-04 19:50:08 +05:30
quick_link.py chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
recent_visit.py chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
state.py chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
sticky.py chore: add copyright (#8584) 2026-01-27 13:54:22 +05:30
user.py [WEB-7813] fix: prevent ORM order_by injection in issue and other endpoints (#9292) 2026-06-23 18:02:52 +05:30
user_preference.py fix: scope workspace user preference filter to current user (#9279) 2026-06-21 03:31:05 +05:30