-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
馃И Add story ad rendering to inabox. #30782
Conversation
Hey @danielrozenberg! These files were changed:
|
getStoryAdMetadataFromDoc, | ||
maybeCreateAttribution, | ||
validateCtaMetadata, | ||
} from '../../extensions/amp-story-auto-ads/0.1/story-ad-ui'; |
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.
I know we discussed importing from extension being a little weird, but I wasn't sure where to put them. Happy to move to a new file path.
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.
i'm fine with this as long as the compiler does not complain
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.
@lannka @calebcordry Looks like this did break compilation. https://travis-ci.com/github/ampproject/amphtml/jobs/405408314#L418
Can we fix before this goes to beta tomorrow?
/cc @ampproject/build-cop
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.
Approval for build-system/
getStoryAdMetadataFromDoc, | ||
maybeCreateAttribution, | ||
validateCtaMetadata, | ||
} from '../../extensions/amp-story-auto-ads/0.1/story-ad-ui'; |
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.
i'm fine with this as long as the compiler does not complain
* render inabox * css * experiment * comments * exp fix * types
Introduces new logic to inabox that detects for story ad metadata, and if it exists, renders as a story ad.
Part of #27851