Skip to content

: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.

fix(vision): redirect to scanner page upon edit save (#62766)

Kim Svatos Duganb26b7cdc70f4
diff --git a/products/replay_vision/frontend/replay_scanners/replayScannerLogic.ts b/products/replay_vision/frontend/replay_scanners/replayScannerLogic.ts
index 5c6c52f1b1b8..8eac2f9edba9 100644
--- a/products/replay_vision/frontend/replay_scanners/replayScannerLogic.ts
+++ b/products/replay_vision/frontend/replay_scanners/replayScannerLogic.ts
@@ -290,6 +290,7 @@ export const replayScannerLogic = kea<replayScannerLogicType>([
} else {
await visionScannersPartialUpdate(String(teamId), props.id, scannerToPatchedApiBody(body))
lemonToast.success('Scanner saved')
+ router.actions.push(urls.replayVision(props.id))
}
} catch (error: any) {
lemonToast.error(`Failed to save scanner${error.detail ? `: ${error.detail}` : ''}`)