:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
fix(desktop): enable quick ask in production (#85355)
Shy Alterbbb22c661bf1
diff --git a/products/desktop/apps/code/README.md b/products/desktop/apps/code/README.mdindex e82f533735cc..ca2e4b934d5e 100644--- a/products/desktop/apps/code/README.md+++ b/products/desktop/apps/code/README.md@@ -41,6 +41,7 @@ pnpm run check:write # Linting & typecheck- `⌘R` - Refresh task list- `⌘⇧[/]` - Switch between tabs- `⌘W` - Close current tab+- `⌘⌥P` / `Ctrl+Alt+P` - Open Quick ask### Screen recording permission in developmentdiff --git a/products/desktop/apps/code/src/main/quick-ask.ts b/products/desktop/apps/code/src/main/quick-ask.tsindex a254d28b6e7d..d6071a59f8b5 100644--- a/products/desktop/apps/code/src/main/quick-ask.ts+++ b/products/desktop/apps/code/src/main/quick-ask.ts@@ -48,7 +48,6 @@ import {setupQuickAskCapture,teardownQuickAskCapture,} from "./quick-ask-capture";-import { isDevBuild } from "./utils/env";import { logger } from "./utils/logger";import { quickAskStore } from "./utils/store";import { attachWindowToTrpc, focusMainWindow } from "./window";@@ -507,10 +506,6 @@ function fromPanel(event: Electron.IpcMainEvent): boolean {}export function setupQuickAsk(): void {- // Prototype: dev builds only, or explicit opt-in.- if (!isDevBuild() && process.env.POSTHOG_QUICK_ASK !== "1") {- return;- }quickAskEnabled = true;ipcMain.on(QUICK_ASK_HIDE_CHANNEL, (event) => {