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): mount the player comment bus while commenting (#80744)

Tue Haulund53d1e917da6a
diff --git a/frontend/src/scenes/session-recordings/player/commenting/playerFrameCommentOverlayLogic.ts b/frontend/src/scenes/session-recordings/player/commenting/playerFrameCommentOverlayLogic.ts
index 17dea0d4bf17..79a741ae2c90 100644
--- a/frontend/src/scenes/session-recordings/player/commenting/playerFrameCommentOverlayLogic.ts
+++ b/frontend/src/scenes/session-recordings/player/commenting/playerFrameCommentOverlayLogic.ts
@@ -155,6 +155,8 @@ export const playerCommentOverlayLogic = kea<playerCommentOverlayLogicType>([
connect((props: PlayerCommentOverlayLogicProps) => ({
values: [sessionRecordingPlayerLogic(props), ['currentPlayerTime', 'currentTimestamp', 'sessionPlayerData']],
actions: [sessionRecordingPlayerLogic(props), ['setIsCommenting'], membersLogic, ['ensureAllMembersLoaded']],
+ // its subscribers listen by actionTypes, which doesn't mount it, so keep the bus alive here
+ logic: [playerCommentModel],
})),
actions({
editComment: (comment: RecordingCommentForm) => ({ comment }),