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

feat(cdp): site destinations #26572

Merged
merged 14 commits into from
Dec 3, 2024
Merged

feat(cdp): site destinations #26572

merged 14 commits into from
Dec 3, 2024

Conversation

mariusandra
Copy link
Collaborator

Problem

Splitting #26169 in two: site destinations & new site apps

Changes

This is the site destinations part:

2024-11-28 16 41 29

Plus some more changes:

  • Hog Function and Hog Function Template API endpoints now support filtering by multiple types
  • Make one extra query in /decide for teams with site apps enabled to load new hog-function-site-apps/destinations. We're moving to something more static soon anyway.
  • Add group type aliases to CDP, like "organization.properties.name", in addition to "group_0.properties.name"

How did you test this code?

Added a bunch of tests

Copy link
Contributor

github-actions bot commented Dec 2, 2024

Size Change: +141 B (+0.01%)

Total Size: 1.11 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.11 MB +141 B (+0.01%)

compressed-size-action

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.

Quick one - feature flag it please

@mariusandra
Copy link
Collaborator Author

Done, flag added

"label": "Additional properties",
"description": "Additional properties for the Exported Object.",
"default": {
"email": "{person.properties.email}",
Copy link
Contributor

Choose a reason for hiding this comment

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

Person properties wont be available client side right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The ones you have provided to posthog-js will be

@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 (wasn't pushed!)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@mariusandra mariusandra merged commit baea930 into master Dec 3, 2024
96 checks passed
@mariusandra mariusandra deleted the site-destinations branch December 3, 2024 12:16
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