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

✨ Display the publisher domain beneath the header of page attachments that contain a form element #35581

Merged
merged 29 commits into from
Aug 12, 2021

Conversation

coreymasanto
Copy link
Contributor

@coreymasanto coreymasanto commented Aug 9, 2021

Create a domain label element that is added immediately below the page attachment's header, if the page attachment contains a form element.


Examples

Light theme example:

Dark theme example:

issue #35569
/cc @ampproject/wg-stories

@amp-owners-bot amp-owners-bot bot requested a review from gmajoulet August 9, 2021 21:35
@amp-owners-bot
Copy link

amp-owners-bot bot commented Aug 9, 2021

Hey @gmajoulet, @newmuis! These files were changed:

extensions/amp-story/1.0/amp-story-draggable-drawer-header.css
extensions/amp-story/1.0/amp-story-page-attachment.js

@coreymasanto
Copy link
Contributor Author

This PR can be reviewed now. I'm working on the visual diff tests, and I'll submit them in a subsequent PR (or commit them to this PR once they're working, if you'd prefer that)

@coreymasanto
Copy link
Contributor Author

I just added a couple of visual diff tests that verify the presence of the domain header

…domain label. Also, rename getPublisherDomain_ to getPublisherOrigin_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants