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> Local storage initial check #25765

Merged
merged 58 commits into from Nov 27, 2019

Conversation

micajuine-ho
Copy link
Contributor

@micajuine-ho micajuine-ho commented Nov 25, 2019

Add initial local storage check to amp-consent flow
for #25623
Previous task(s):
1: #25676 (merged)
2: #25689 (merged)
3 & 4: #25696 (merged)
5: #25699 (merged)

extensions/amp-consent/0.1/amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/test/test-amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/test/test-amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/test/test-amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/test/test-amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/test/test-amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/test/test-amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/test/test-amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/test/test-amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/consent-config.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/amp-consent.js Outdated Show resolved Hide resolved
extensions/amp-consent/0.1/amp-consent.js Outdated Show resolved Hide resolved
@lannka lannka merged commit 42a312d into ampproject:master Nov 27, 2019
@micajuine-ho micajuine-ho deleted the ccpa_local_storage branch December 4, 2019 19:28
caroqliu pushed a commit to caroqliu/amphtml that referenced this pull request Dec 5, 2019
* added experiment flag

* added configs

* changes to prod/canary config

* cleaning up

* more clean up

* merge logic in consent-config

* adding in userAssert for consentRequired

* Update canary-config.json

* Update prod-config.json

* Update amp-consent.js

* cleaning up

* deprecate promptIfUnknownForGeo

* consent intialize promise

* config merge then validate

* check if geoService can't identify

* verify consentRequired from endpoint

* removed consentState to string

* adding comment

* bug fixing and geoGroupUnknown

* adding in getConsentRequiredPromiseLegacy_()

* Update amp-consent.js

* requested changes

* suggested changes

* suggested fixes & fixing unit tests

* unit tests, better userAssert messages

* adding tests

* Suggested changes to tests + bug fixes

* starting to write tests for promptunknowngeo

* unit tests

* remove function*,  cleaning up

* sandbox change

* a little more cleaning up

* cleaning

* cleaning up logic

* fixing tests and promises

* testing

* bug fix

* unit test for cr

* test for non remote consentRequired

* migrating unit tests

* Cleaning code, adding thorough test

* get local storage first

* local storage priority and tests

* adding tests

* move logic to consentRequiredPromise

* Small changes

* fixing tests

* fixed tests, added config check

* Suggested Changes

* cleaning
micajuine-ho pushed a commit to micajuine-ho/amphtml that referenced this pull request Dec 27, 2019
* added experiment flag

* added configs

* changes to prod/canary config

* cleaning up

* more clean up

* merge logic in consent-config

* adding in userAssert for consentRequired

* Update canary-config.json

* Update prod-config.json

* Update amp-consent.js

* cleaning up

* deprecate promptIfUnknownForGeo

* consent intialize promise

* config merge then validate

* check if geoService can't identify

* verify consentRequired from endpoint

* removed consentState to string

* adding comment

* bug fixing and geoGroupUnknown

* adding in getConsentRequiredPromiseLegacy_()

* Update amp-consent.js

* requested changes

* suggested changes

* suggested fixes & fixing unit tests

* unit tests, better userAssert messages

* adding tests

* Suggested changes to tests + bug fixes

* starting to write tests for promptunknowngeo

* unit tests

* remove function*,  cleaning up

* sandbox change

* a little more cleaning up

* cleaning

* cleaning up logic

* fixing tests and promises

* testing

* bug fix

* unit test for cr

* test for non remote consentRequired

* migrating unit tests

* Cleaning code, adding thorough test

* get local storage first

* local storage priority and tests

* adding tests

* move logic to consentRequiredPromise

* Small changes

* fixing tests

* fixed tests, added config check

* Suggested Changes

* cleaning
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