diff --git a/frontend/__snapshots__/scenes-app-recordings--recordings-play-list-no-pinned-recordings.png b/frontend/__snapshots__/scenes-app-recordings--recordings-play-list-no-pinned-recordings.png index 2f1c8b9db903b..8e3052db551e1 100644 Binary files a/frontend/__snapshots__/scenes-app-recordings--recordings-play-list-no-pinned-recordings.png and b/frontend/__snapshots__/scenes-app-recordings--recordings-play-list-no-pinned-recordings.png differ diff --git a/frontend/src/scenes/session-recordings/player/sessionRecordingDataLogic.ts b/frontend/src/scenes/session-recordings/player/sessionRecordingDataLogic.ts index ad26673034ca5..fe609a6f64f79 100644 --- a/frontend/src/scenes/session-recordings/player/sessionRecordingDataLogic.ts +++ b/frontend/src/scenes/session-recordings/player/sessionRecordingDataLogic.ts @@ -239,8 +239,6 @@ export const sessionRecordingDataLogic = kea([ if (nextSourceToLoad) { actions.loadRecordingSnapshotsV2(nextSourceToLoad) - } else { - actions.reportUsageIfFullyLoaded() } }, loadRecordingSnapshotsV1Success: ({ sessionPlayerSnapshotData }) => { @@ -254,8 +252,6 @@ export const sessionRecordingDataLogic = kea([ if (values.sessionPlayerSnapshotData?.next) { actions.loadRecordingSnapshotsV1(values.sessionPlayerSnapshotData?.next) - } else { - actions.reportUsageIfFullyLoaded() } if (values.chunkPaginationIndex === 1 || values.loadedFromBlobStorage) { // Not always accurate that recording is playable after first chunk is loaded, but good guesstimate for now @@ -265,10 +261,12 @@ export const sessionRecordingDataLogic = kea([ size: (values.sessionPlayerSnapshotData?.snapshots ?? []).length, duration: Math.round(performance.now() - cache.snapshotsStartTime), } - - actions.reportViewed() } }, + loadRecordingSnapshotsSuccess: () => { + actions.reportViewed() + actions.reportUsageIfFullyLoaded() + }, loadRecordingSnapshotsV1Failure: () => { actions.loadRecordingSnapshotsFailure() },