-
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
Intent-to-Remove: amp-story-bookend #33218
Comments
Can you add an example showing how to migrate from |
Looks good to me. Thank you for having a solid plan around handling existing documents leveraging the feature. |
Approved! |
Conditionally approved. Talked to @gmajoulet and @mszylkowski offline. I'm OK with deprecating, but not with making this a validator warning. There is very high usage, so we have no likely path to making this a validator error in the future. I would like to minimize validator warnings that developers see which they can safely ignore, as it has the long-term effect of making developers more likely to ignore validator warnings as a general class, which reduces their usefulness for communicating critical issues. |
Hi @mszylkowski , am I correct in assuming that |
@mszylkowski can you link to the official documentation for |
Summary
I2D at #26957
The bookend was initially created to allow surfaces to provide hyperlinks within stories. Since then, we have added many new surfaces for links to live in:
<amp-story-cta-layer>
,<amp-story-grid-layer>
, and<amp-story-page-attachment>
. These link types make the bookend's linking capabilities redundant with what is already supplied at the page level in the format.For these and other reasons specified in the I2R, we consider the bookend a legacy feature that is no longer serving its purpose, and intend to deprecate it accordingly.
Rollout plan
amp-story-bookend
component.amp-story-social-share
, which will be configured similarly to the bookend (with a JSON or src) and will be the suggested way to configure share providers.amp-story-bookend
will be an alias foramp-story-social-share
after that. This wil happen after May 11.Alternative implementation suggestion for developers using AMP
The bookend currently serves the purpose to configure the social share links. The
<amp-story-social-share>
tag will take it's place, allowing the configuration of the share icons in the same way that the bookend currently configures it. However, the social-share component will not trigger a bookend at the end of the story.Example:
should now be
For bookend-like features in a player, use
noNextStory
following the example on https://codepen.io/gmajoulet/pen/vYKMxpM/cc @ampproject/wg-approvers @ampproject/wg-stories
The text was updated successfully, but these errors were encountered: