Skip to content

feat: Quick link to matching events from unidentified person #30886

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

Merged
merged 11 commits into from
Apr 9, 2025

Conversation

danielbachhuber
Copy link
Contributor

Changes

Adds "View events" buttons to "Person not found" contexts.

CleanShot 2025-04-07 at 08 14 34@2x

CleanShot 2025-04-07 at 08 14 18@2x

How did you test this code?

I clicked on the links and verified they went to the expected filtered views.

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This PR introduces quick access to matching events from unidentified person contexts by adding "View events" buttons across key components.

  • In /frontend/src/scenes/persons/PersonScene.tsx, the NotFound component is now passed a meta prop with urlId for filtered event access.
  • In /frontend/src/scenes/persons/PersonPreview.tsx, a new "View events" button is added for scenarios when the person is not found.
  • In /frontend/src/lib/components/NotFound/index.tsx, the component renders a "View events" button using meta?.urlId to create a filtered events query.

3 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings | Greptile

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@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 5)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

Copy link
Contributor

github-actions bot commented Apr 7, 2025

Size Change: +737 B (+0.01%)

Total Size: 13.2 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 13.2 MB +737 B (+0.01%)

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@danielbachhuber danielbachhuber requested a review from timgl April 9, 2025 11:05
@danielbachhuber danielbachhuber merged commit 22f5ca6 into master Apr 9, 2025
110 checks passed
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