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 breakdown filter #18596

Merged
merged 3 commits into from
Nov 14, 2023

Conversation

thmsobrmlr
Copy link
Contributor

@thmsobrmlr thmsobrmlr commented Nov 14, 2023

Problem

The breakdown filter isn't uniquely keyed. Therefore we couldn't have multiple breakdown filters on the same page.

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

2023-11-14 12 05 00

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

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

  • chromium: 0 added, 6 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 requested a review from a team November 14, 2023 12:38
Copy link
Contributor

@benjackwhite benjackwhite left a comment

Choose a reason for hiding this comment

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

drillllllling :D

@thmsobrmlr thmsobrmlr merged commit b1ad166 into master Nov 14, 2023
75 checks passed
@thmsobrmlr thmsobrmlr deleted the notebook-insight-independent-breakdown branch November 14, 2023 13:33
@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