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.

chore(devex): stop typegen from dirtying untouched logic files (#100420)

Jake Ruth36b49cb6ea6f
diff --git a/frontend/snapshots.yml b/frontend/snapshots.yml
index f244adaf3861..be0d04e9440d 100644
--- a/frontend/snapshots.yml
+++ b/frontend/snapshots.yml
@@ -6159,7 +6159,7 @@ snapshots:
products-workflows-editor-graph--customer-onboarding-and-retention--dark:
hash: v1.k794b7964.3191c1984e08a93b2b41186d743c5a7488306da8caac823a858b8b3009e8e249.tarfXhWwpkEO50Lg4xl-tg04f2F4DdHi_urFckZ3mLE
products-workflows-editor-graph--customer-onboarding-and-retention--light:
- hash: v1.k794b7964.314cf434a29589c34e750ddf718b290c72d20bc3286c17592aafc3f830654453.Lnspo02g4g3NLYVjNtw1Mk_FF0y8FI0er4k7ZPGVlCg
+ hash: v1.k794b7964.d1a0262e3ba550f69a2ab3d0bcda4327157eb1f947c5ad35cb2267ba70cbdec8.2bL0CCEt9WyVdRlAp8Lyr03y_DB6ERgysK-0eIDqO1E
products-workflows-editor-graph--new-workflow--dark:
hash: v1.k794b7964.7ba2d7e983927e8e8375e47d0c949b93943fd66aae376f98e125d683dd4ffd99.YZb3PzvlCIEGiDRA-lVQffhm1K7TV_CXi-VCWJpzbLc
products-workflows-editor-graph--new-workflow--light:
diff --git a/frontend/src/lib/components/ViewRecordingButton/sessionRecordingViewedLogic.ts b/frontend/src/lib/components/ViewRecordingButton/sessionRecordingViewedLogic.ts
index da60d62c60a4..ae69c45d4803 100644
--- a/frontend/src/lib/components/ViewRecordingButton/sessionRecordingViewedLogic.ts
+++ b/frontend/src/lib/components/ViewRecordingButton/sessionRecordingViewedLogic.ts
@@ -31,16 +31,10 @@ export interface sessionRecordingViewedLogicActions {
errorObject?: any
}
loadRecordingViewedSuccess: (
- recordingViewed: {
- otherViewers: number
- viewed: boolean
- },
+ recordingViewed: SessionRecordingViewedResult,
payload?: any
) => {
- recordingViewed: {
- otherViewers: number
- viewed: boolean
- }
+ recordingViewed: SessionRecordingViewedResult
payload?: any
}
userClickedThrough: () => any
@@ -87,7 +81,7 @@ export const sessionRecordingViewedLogic = kea<sessionRecordingViewedLogicType>(
})),
loaders(({ props, values }) => ({
recordingViewed: {
- loadRecordingViewed: async () => {
+ loadRecordingViewed: async (): Promise<SessionRecordingViewedResult> => {
if (!props.sessionRecordingId || !values.currentTeamId || props.sessionRecordingId === '') {
return { viewed: false, otherViewers: 0 }
}
diff --git a/frontend/src/scenes/web-analytics/pageReportsLogic.ts b/frontend/src/scenes/web-analytics/pageReportsLogic.ts
index a5ec1a9f304b..e90b645bd4ba 100644
--- a/frontend/src/scenes/web-analytics/pageReportsLogic.ts
+++ b/frontend/src/scenes/web-analytics/pageReportsLogic.ts
@@ -662,7 +662,10 @@ export const pageReportsLogic = kea<pageReportsLogicType>({
pagesUrls: [
[] as PageURLSearchResult[],
{
- loadPagesUrls: async ({ searchTerm }: { searchTerm: string }, breakpoint) => {
+ loadPagesUrls: async (
+ { searchTerm }: { searchTerm: string },
+ breakpoint
+ ): Promise<PageURLSearchResult[]> => {
await breakpoint(100) // debounce the typing
const dateRange = {
date_from: values.dateFilter.dateFrom,