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 action filters #18591

Merged
merged 6 commits into from
Nov 14, 2023

Conversation

thmsobrmlr
Copy link
Contributor

Problem

The ActionFilter uses it's typeKey prop as key for it's logic. Therefore multiple ActionFilters on the same page refer to the same action with insights and notebooks. See how selecting one series, update the other series as well:
2023-11-14 09 31 30

Changes

This PR uniquely keys multiple ActionFilters on a page.

How did you test this code?

Ran locally

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

@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 requested a review from a team November 14, 2023 11:45
Copy link
Member

@Twixes Twixes left a comment

Choose a reason for hiding this comment

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

LGTM

@thmsobrmlr thmsobrmlr merged commit fb82110 into master Nov 14, 2023
73 checks passed
@thmsobrmlr thmsobrmlr deleted the notebook-insight-independent-series branch November 14, 2023 12: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