Skip to content

Commit 83c4a82

Browse files
authored
Diable auto track (RooCodeInc#3364)
* disable autocatpure * changeset
1 parent 6ad11ba commit 83c4a82

File tree

3 files changed

+6
-9
lines changed

3 files changed

+6
-9
lines changed

.changeset/chilly-oranges-play.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"claude-dev": patch
3+
---
4+
5+
disable autocapture

webview-ui/src/App.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,6 @@ const AppContent = () => {
7474

7575
useEvent("message", handleMessage)
7676

77-
// useEffect(() => {
78-
// if (telemetrySetting === "enabled") {
79-
// posthog.identify(vscMachineId)
80-
// posthog.opt_in_capturing()
81-
// } else {
82-
// posthog.opt_out_capturing()
83-
// }
84-
// }, [telemetrySetting, vscMachineId])
85-
8677
useEffect(() => {
8778
if (shouldShowAnnouncement) {
8879
setShowAnnouncement(true)

webview-ui/src/Providers.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import posthog from "posthog-js"
99

1010
posthog.init(posthogConfig.apiKey, {
1111
api_host: posthogConfig.host,
12+
autocapture: false,
1213
})
1314

1415
export function Providers({ children }: { children: ReactNode }) {

0 commit comments

Comments
 (0)