-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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-fx=float-in-(top|bottom) #20905
Conversation
d0b5a65
to
c03934e
Compare
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.
validation looks good
extensions/amp-scroll-toggle/validator-amp-scroll-toggle.protoascii
Outdated
Show resolved
Hide resolved
extensions/amp-scroll-toggle/validator-amp-scroll-toggle.protoascii
Outdated
Show resolved
Hide resolved
extensions/amp-scroll-toggle/0.1/test/validator-amp-scroll-toggle.html
Outdated
Show resolved
Hide resolved
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.
LGTM
@aghassemi @cvializ @honeybadgerdontcare Moved to |
*/ | ||
export class FxProvider { |
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.
@cvializ @aghassemi This class was akin to a simple function and was only keeping memory alive, simplified.
3cf3cfc
to
d48f23a
Compare
This pull request fixes 1 alert when merging b764f2d into c33eb82 - view on LGTM.com fixed alerts:
Comment posted by LGTM.com |
e678444
to
be2d1c3
Compare
be2d1c3
to
82afebd
Compare
This pull request fixes 1 alert when merging 82afebd into ee8daa8 - view on LGTM.com fixed alerts:
Comment posted by LGTM.com |
* cl/234896906 Revision bump for #20969 * cl/235090073 Allow i-amphtml-layout on AMP elements only for Transformed AMP * cl/235216325 Disallow document properties in <form> attribute name. * cl/235271919 Revision bump for #20989 * cl/235833553 Revision bump for #20928 * cl/235843207 Revision bump for #20905
Partial for ampproject#20881. Base implementation for `amp-fx="float-in-(top|bottom)"`. Slides elements in-and-out accordingly. Matches behavior of Google viewer's sliding header, see http://go/amp-viewer-scroll and http://go/amp-viewer-scroll-thresholds internally. Demo: https://scroll-toggle.glitch.me/ Also: * refactors `amp-fx-collection` for types and size. (~10% down from total bundle) * adds a bunch of string → types tests (and killed a splice bug, thanks @amphtml-lgtm-bot!)
* cl/234896906 Revision bump for ampproject#20969 * cl/235090073 Allow i-amphtml-layout on AMP elements only for Transformed AMP * cl/235216325 Disallow document properties in <form> attribute name. * cl/235271919 Revision bump for ampproject#20989 * cl/235833553 Revision bump for ampproject#20928 * cl/235843207 Revision bump for ampproject#20905
Mea culpa. Fixes ampproject#21332 introduced by ampproject#20905. Will introduce tests in a later PR so this won't happen again.
Partial for ampproject#20881. Base implementation for `amp-fx="float-in-(top|bottom)"`. Slides elements in-and-out accordingly. Matches behavior of Google viewer's sliding header, see http://go/amp-viewer-scroll and http://go/amp-viewer-scroll-thresholds internally. Demo: https://scroll-toggle.glitch.me/ Also: * refactors `amp-fx-collection` for types and size. (~10% down from total bundle) * adds a bunch of string → types tests (and killed a splice bug, thanks @amphtml-lgtm-bot!)
* cl/234896906 Revision bump for ampproject#20969 * cl/235090073 Allow i-amphtml-layout on AMP elements only for Transformed AMP * cl/235216325 Disallow document properties in <form> attribute name. * cl/235271919 Revision bump for ampproject#20989 * cl/235833553 Revision bump for ampproject#20928 * cl/235843207 Revision bump for ampproject#20905
Mea culpa. Fixes ampproject#21332 introduced by ampproject#20905. Will introduce tests in a later PR so this won't happen again.
Partial for #20881.
Base implementation for
amp-fx="float-in-(top|bottom)"
. Slides elements in-and-out accordingly. Matches behavior of Google viewer's sliding header, see go/amp-viewer-scroll and go/amp-viewer-scroll-thresholds internally.Demo: https://scroll-toggle.glitch.me/
Also:
amp-fx-collection
for types and size. (~10% down from total bundle)Work after this change
media
attribute.toggle
message to short-circuit duplicate behavior.