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
✨amp-consent-ui: Improved the CMP amp-consent demo #19992
✨amp-consent-ui: Improved the CMP amp-consent demo #19992
Conversation
…p-consent-loading-placeholder
…p-consent-loading-placeholder-sync-demo
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.
Looks great with on request.
test/manual/diy-consent.html
Outdated
|
||
<h1 class="animated fadeIn">More Information</h1> | ||
<div class="animated fadeIn"> | ||
The General Data Protection Regulation (EU) 2016/679 ("GDPR") is a regulation in EU law on data protection and privacy for all individuals within the European Union (EU) and the European Economic Area (EEA). It also addresses the export of personal data outside the EU and EEA areas. The GDPR aims primarily to give control to individuals over their personal data and to simplify the regulatory environment for international business by unifying the regulation within the EU.[1] Superseding the Data Protection Directive 95/46/EC, the regulation contains provisions and requirements pertaining to the processing of personal data of individuals (formally called data subjects in the GDPR) inside the EEA, and applies to an enterprise established in the EEA or—regardless of its location and the data subjects' citizenship—that is processing the personal information of data subjects inside the EEA. |
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.
Can we remove those and replace with some fake text. I would rather not be explicit incase the text itself is used as template.
@zhouyx This is good to go 😄 |
* Added the loading placeholder html * Added the svg, and renamed some classes for consistency * Finished styles for the placeholder spinner * Need to stop the height flash/jump thing * Finished up the loading placeholder * Started tests, used htmlFor * Added tests for placeholder * Fixed precommit checks * Added fix for safari on svg * Another safari fix for svg * Made all requested changes * Made requested changes * Made all requested changes * MOdified to get working on tunnel * Fixed iframe container * Fixed the border, some last little css * Reser the app.js to master * Replaced with lorem ipsum text * Fixed tests
relates to #19969
This implements the nicer example demoed to @spacedino . Also, this makes some of the API requests more friendly with development URLs other than localhost 😄 .
Lastly, the CSS from
extensions/amp-consent/0.1/amp-consent.css
is a change to stop the original padding from the non-CMP case, affecting our iframe that is used with the CMP.