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

✨amp-consent-ui: Improved the CMP amp-consent demo #19992

Merged

Conversation

torch2424
Copy link
Contributor

@torch2424 torch2424 commented Dec 19, 2018

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.

ampconsentpretty

Copy link
Contributor

@zhouyx zhouyx left a 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.


<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.
Copy link
Contributor

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.

@torch2424
Copy link
Contributor Author

@zhouyx This is good to go 😄

@torch2424 torch2424 merged commit 6ac5003 into ampproject:master Dec 20, 2018
@torch2424 torch2424 deleted the amp-consent-loading-placeholder-sync-demo branch December 20, 2018 00:43
noranazmy pushed a commit to noranazmy/amphtml that referenced this pull request Mar 22, 2019
* 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants