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(replay): dedupe rapid refresh clicks on recordings list (#58362)

posthog[bot]696b444135bb
diff --git a/frontend/src/scenes/session-recordings/playlist/Playlist.tsx b/frontend/src/scenes/session-recordings/playlist/Playlist.tsx
index 517fb680edd9..973504955eff 100644
--- a/frontend/src/scenes/session-recordings/playlist/Playlist.tsx
+++ b/frontend/src/scenes/session-recordings/playlist/Playlist.tsx
@@ -95,7 +95,7 @@ export function Playlist({
otherRecordings,
hasNext,
} = useValues(sessionRecordingsPlaylistLogic)
- const { maybeLoadSessionRecordings, setFilters, setSelectedRecordingId, loadSessionRecordings } =
+ const { maybeLoadSessionRecordings, setFilters, setSelectedRecordingId } =
useActions(sessionRecordingsPlaylistLogic)
const { setIsFiltersExpanded } = useActions(playlistFiltersLogic)
@@ -253,7 +253,7 @@ export function Playlist({
setFilters={setFilters}
totalFiltersCount={totalFiltersCount}
currentSessionRecordingId={activeSessionRecordingId}
- onReload={() => loadSessionRecordings()}
+ onReload={() => maybeLoadSessionRecordings()}
/>
</DraggableToNotebook>
</div>