PostHog / posthog

đŸĻ” PostHog provides open-source product analytics, session recording, feature flagging and A/B testing that you can self-host.
https://posthog.com
Other
21.24k stars 1.26k forks source link

fix(replay): reload recordings when orderBy changes #25203

Closed richard-better closed 1 week ago

richard-better commented 1 week ago

Problem

When testing #25102, noticed that while the recordings are shown in the correct order, the initial network call made still uses start_time, regardless of the orderBy value.

Changes

Listening on when orderBy changes should solve this, by always loading recordings when that value changes.

https://github.com/user-attachments/assets/a68b8338-d550-4cf9-82d3-54bfa106433c

👉 Stay up-to-date with PostHog coding conventions for a smoother review.

Does this work well for both Cloud and self-hosted?

How did you test this code?

github-actions[bot] commented 1 week ago

Size Change: 0 B

Total Size: 2.06 MB

ℹī¸ View Unchanged | Filename | Size | | :--- | :---: | | `frontend/dist/toolbar.js` | 2.06 MB |

compressed-size-action