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(notebooks): use varying keys for global filters #18601

Merged
merged 5 commits into from
Nov 14, 2023

Conversation

thmsobrmlr
Copy link
Contributor

Problem

The global property filters aren't uniquely keyed. Therefore we couldn't have multiple property filters on the same page.

See how updating one property filter updates the other filter as well:

2023-11-14 13 40 17

Changes

This PR uniquely keys the relevant logics.

How did you test this code?

Locally, with 👀

@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.

@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.

@thmsobrmlr thmsobrmlr enabled auto-merge (squash) November 14, 2023 14:26
@thmsobrmlr thmsobrmlr merged commit 56cf18f into master Nov 14, 2023
73 checks passed
@thmsobrmlr thmsobrmlr deleted the notebook-insight-independent-global-filters branch November 14, 2023 14:38
@thmsobrmlr thmsobrmlr mentioned this pull request Nov 14, 2023
30 tasks
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