Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(retention): fix crash in the retention modal for anonymous users #27063

Merged
merged 4 commits into from
Dec 20, 2024

Conversation

thmsobrmlr
Copy link
Contributor

Problem

The retention modal crashes when it encounters anonymous users i.e. no distinct_ids. See e.g. https://posthoghelp.zendesk.com/agent/tickets/21939.

Changes

Gracefully handle these.

How did you test this code?

Screenshot 2024-12-19 at 15 50 09

@thmsobrmlr thmsobrmlr requested a review from a team December 19, 2024 14:50
Copy link
Contributor

github-actions bot commented Dec 19, 2024

Size Change: 0 B

Total Size: 1.11 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.11 MB

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@aspicer aspicer enabled auto-merge (squash) December 19, 2024 17:39
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

1 snapshot changes in total. 0 added, 1 modified, 0 deleted:

  • chromium: 0 added, 1 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@aspicer aspicer merged commit d3ca1e2 into master Dec 20, 2024
99 checks passed
@aspicer aspicer deleted the retention-modal-for-personless branch December 20, 2024 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants