-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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 destination mapping templates #26866
Conversation
Size Change: 0 B Total Size: 1.11 MB ℹ️ View Unchanged
|
mappings=[], | ||
mapping_templates=[ | ||
HogFunctionMappingTemplate( | ||
name="Aquisition", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we could have default: true
or something for templates so that some can be applied by default to the mappings section on load (sort of like we do for the inputs schema
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea. Got stuck behind naming things. I tried with just a default
, but that made me want to add a # this means it'll be included by default when the function is created
comment. So I went with include_by_default=True
instead... which is hopefully unambiguous enough.
], | ||
actions: [], | ||
}, | ||
<LemonLabel>New Mapping</LemonLabel> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chefs kiss
Problem
We want to make it easy to subscribe to predefined mappings for destinations.
Changes
Adds "mapping templates"
How did you test this code?
In the browser for now