Compare commits

...

1 Commits

Author SHA1 Message Date
Trevor Hudson e3a0d19e44 change posthog apikey 2025-02-28 17:59:12 -08:00
4 changed files with 3 additions and 22 deletions
-20
View File
@@ -286,16 +286,6 @@ export class ClineProvider implements vscode.WebviewViewProvider {
task,
images,
)
// New task started
if (telemetryService.isTelemetryEnabled()) {
telemetryService.capture({
event: "New task started",
properties: {
apiProvider: apiConfiguration.apiProvider,
},
})
}
}
async initClineWithHistoryItem(historyItem: HistoryItem) {
@@ -313,16 +303,6 @@ export class ClineProvider implements vscode.WebviewViewProvider {
undefined,
historyItem,
)
// Open task from history
if (telemetryService.isTelemetryEnabled()) {
telemetryService.capture({
event: "Open task from history",
properties: {
apiProvider: apiConfiguration.apiProvider,
},
})
}
}
// Send any JSON serializable data to the react app
+1 -1
View File
@@ -8,7 +8,7 @@ class PostHogClient {
private telemetryEnabled: boolean = false
private constructor() {
this.client = new PostHog("phc_qfOAGxZw2TL5O8p9KYd9ak3bPBFzfjC8fy5L6jNWY7K", {
this.client = new PostHog("phc_uY24EJXNBcc9kwO1K8TJUl5hPQntGM6LL1Mtrz0CBD4", {
host: "https://us.i.posthog.com",
enableExceptionAutocapture: false,
})
@@ -92,6 +92,7 @@ const HistoryPreview = ({ showHistoryView }: HistoryPreviewProps) => {
</span>
</div>
<div
className="ph-no-capture"
style={{
fontSize: "var(--vscode-font-size)",
color: "var(--vscode-descriptionForeground)",
+1 -1
View File
@@ -5,7 +5,7 @@ import "./index.css"
import App from "./App.tsx"
import "../../node_modules/@vscode/codicons/dist/codicon.css"
const apiKey = "phc_5WnLHpYyC30Bsb7VSJ6DzcPXZ34JSF08DJLyM7svZ15"
const apiKey = "phc_uY24EJXNBcc9kwO1K8TJUl5hPQntGM6LL1Mtrz0CBD4"
const apiHost = "https://us.i.posthog.com"
createRoot(document.getElementById("root")!).render(