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(insights): Fix property filter group and expression UI #15758

Merged
merged 11 commits into from
May 30, 2023

Conversation

Twixes
Copy link
Member

@Twixes Twixes commented May 26, 2023

Problem

This was a bit ugly:

Property filter groups HogQL expression
before-group before-hog

Changes

This looks better:

Property filter groups HogQL expression
after-group after-hog

How did you test this code?

Added UI snapshots for insight editors.

@Twixes Twixes requested a review from thmsobrmlr May 26, 2023 18:48
@Twixes
Copy link
Member Author

Twixes commented May 26, 2023

Ahh, Storybook only shows legacy UI, not data exploration… Do you think data exploration is in a state where all of Storybook can have that flag on, or should we still have both branches covered @thmsobrmlr?

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

1 similar comment
@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@thmsobrmlr
Copy link
Contributor

Ahh, Storybook only shows legacy UI, not data exploration… Do you think data exploration is in a state where all of Storybook can have that flag on, or should we still have both branches covered @thmsobrmlr?

Yup, it's coming here #15497. The PR should be ready to go apart from a Jest test that I need to fix and go in on Tuesday. Took a while to get this ready since "simply toggling the flag" affected a good chunk of tests and I discovered some issues with Experiments and Notebooks.

@Twixes Twixes force-pushed the fix-filtering-ui branch 5 times, most recently from 6204545 to 2b06591 Compare May 29, 2023 18:41
@PostHog PostHog deleted a comment from posthog-bot May 29, 2023
@Twixes Twixes force-pushed the fix-filtering-ui branch from a207491 to de2845f Compare May 29, 2023 21:09
@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
  • firefox: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@PostHog PostHog deleted a comment from posthog-bot May 29, 2023
@PostHog PostHog deleted a comment from posthog-bot May 29, 2023
Copy link
Contributor

@thmsobrmlr thmsobrmlr left a comment

Choose a reason for hiding this comment

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

@Twixes Twixes force-pushed the fix-filtering-ui branch 2 times, most recently from 9d88b19 to 4f9e74e Compare May 30, 2023 14:26
@Twixes
Copy link
Member Author

Twixes commented May 30, 2023

Looks like Firefox visual regression tests have a memory leak and I've found no way to fix this. :/ Will probably remove Firefox in a separate PR.

@Twixes Twixes enabled auto-merge (squash) May 30, 2023 14:26
auto-merge was automatically disabled May 30, 2023 15:56

Base branch was modified

@Twixes Twixes merged commit d2c4385 into master May 30, 2023
@Twixes Twixes deleted the fix-filtering-ui branch May 30, 2023 16:02
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