Skip to content

chore(insights): convert mocks from filters to query #30758

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 14 commits into from
Apr 9, 2025

Conversation

thmsobrmlr
Copy link
Contributor

Problem

Insights now user queries exclusively, but the mocks are still using legacy filters.

Changes

Updates them

How did you test this code?

Visual regression tests

@thmsobrmlr thmsobrmlr force-pushed the convert-insight-mocks branch from 7d57364 to ed3d096 Compare April 4, 2025 07:29
@thmsobrmlr thmsobrmlr force-pushed the convert-insight-mocks branch from b2391f8 to fe76618 Compare April 4, 2025 08:24
@PostHog PostHog deleted a comment from posthog-bot Apr 4, 2025
@PostHog PostHog deleted a comment from posthog-bot Apr 4, 2025
@@ -15,7 +13,9 @@ import {
PersonsNode,
QueryStatus,
RefreshType,
} from './schema'
} from '~/queries/schema/schema-general'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is unrelated to the actual changes here and just gets rid of an error message related to the import.

Copy link
Contributor

github-actions bot commented Apr 4, 2025

Size Change: -192 B (0%)

Total Size: 13.1 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 13.1 MB -192 B (0%)

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

  • chromium: 0 added, 14 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 Author

Choose a reason for hiding this comment

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

I removed a card that display an error state, that isn't possible any more.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The insight table stories were broken before.

Copy link
Contributor

@anirudhpillai anirudhpillai left a comment

Choose a reason for hiding this comment

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

⚰️

@thmsobrmlr thmsobrmlr merged commit 14221c2 into master Apr 9, 2025
110 checks passed
@thmsobrmlr thmsobrmlr deleted the convert-insight-mocks branch April 9, 2025 16:28
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