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

✨Added validation for interactives #29748

Merged
merged 9 commits into from
Aug 11, 2020

Conversation

mszylkowski
Copy link
Contributor

@mszylkowski mszylkowski commented Aug 7, 2020

Added validation rules for interactive components on stories

Closes #29465

Copy link
Member

@Gregable Gregable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Validation rules look OK to me. +approval from caching.

@mszylkowski mszylkowski self-assigned this Aug 10, 2020
@mszylkowski mszylkowski marked this pull request as ready for review August 10, 2020 15:28
@amp-owners-bot
Copy link

Hey @gmajoulet! These files were changed:

extensions/amp-story-interactive/1.0/test/validator-amp-story-interactive-poll.html
extensions/amp-story-interactive/1.0/test/validator-amp-story-interactive-poll.out
extensions/amp-story-interactive/1.0/test/validator-amp-story-interactive-quiz.html
extensions/amp-story-interactive/1.0/test/validator-amp-story-interactive-quiz.out
extensions/amp-story-interactive/1.0/test/validator-amp-story-interactive-results.html
extensions/amp-story-interactive/1.0/test/validator-amp-story-interactive-results.out
extensions/amp-story-interactive/validator-amp-story-interactive.protoascii
extensions/amp-story/validator-amp-story.protoascii

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

extensions/amp-story/validator-amp-story.protoascii

@mszylkowski mszylkowski changed the title ✨Added beginning of validation for interactives ✨Added validation for interactives Aug 11, 2020
@mszylkowski mszylkowski merged commit 82f11dc into ampproject:master Aug 11, 2020
@mszylkowski mszylkowski deleted the interactives_validation branch August 12, 2020 15:17
twifkak added a commit to twifkak/amphtml that referenced this pull request Aug 13, 2020
@twifkak twifkak mentioned this pull request Aug 13, 2020
twifkak added a commit that referenced this pull request Aug 13, 2020
* cl/324926702 Add value_regex support for css declarations.

* cl/325128764 Fix css "bug" where declaration::FirstIdent doesn't return numerical identifiers.

* cl/325141241 Fix AMP4Email CSS spec by ensuring only properties that should be allowed in emails are allowlisted.

* cl/325253809 Improve `!important` CSS marker error message

* cl/325256844 Revision bump for #29643

* cl/325359140 Validator: Add support for link imagesrcset and imagesizes

* cl/325491434 Replace INVALID_DOCTYPE_HTML with a new message.

* cl/325899515 Ban max-entries for AMP for Email

* cl/326083373 Revert removal of requires_usage and deprecated_allow_duplicates for email

* cl/326527018 Revision bump for #29766

* cl/326533269 Revision bump for #29748

Co-authored-by: Greg Grothaus <greggrothaus@google.com>
Co-authored-by: honeybadgerdontcare <sedano@google.com>
Co-authored-by: Justin Ridgewell <jridgewell@google.com>
ed-bird pushed a commit to ed-bird/amphtml that referenced this pull request Dec 10, 2020
* Added beginning of validation

* Added most functionality to validator

* Added text to results category

* Created more validation tsets

* Updated years

* Fixed numbers in valdator example

* Updated validator out

* Added chip style transparent and grid-layer

* Grid layer as ancestor
ed-bird pushed a commit to ed-bird/amphtml that referenced this pull request Dec 10, 2020
* cl/324926702 Add value_regex support for css declarations.

* cl/325128764 Fix css "bug" where declaration::FirstIdent doesn't return numerical identifiers.

* cl/325141241 Fix AMP4Email CSS spec by ensuring only properties that should be allowed in emails are allowlisted.

* cl/325253809 Improve `!important` CSS marker error message

* cl/325256844 Revision bump for ampproject#29643

* cl/325359140 Validator: Add support for link imagesrcset and imagesizes

* cl/325491434 Replace INVALID_DOCTYPE_HTML with a new message.

* cl/325899515 Ban max-entries for AMP for Email

* cl/326083373 Revert removal of requires_usage and deprecated_allow_duplicates for email

* cl/326527018 Revision bump for ampproject#29766

* cl/326533269 Revision bump for ampproject#29748

Co-authored-by: Greg Grothaus <greggrothaus@google.com>
Co-authored-by: honeybadgerdontcare <sedano@google.com>
Co-authored-by: Justin Ridgewell <jridgewell@google.com>
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.

[Story interactives] Write validation rules for interactive components
4 participants