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

Introduce admin pointers for AMP Stories #2148

Merged
merged 2 commits into from
Apr 18, 2019

Conversation

felixarntz
Copy link
Collaborator

This PR adds two new admin pointers:

  • One for the newly available setting to enable AMP Stories (displayed if AMP Stories are not enabled yet)
  • Another one for the AMP Stories menu item (displayed if AMP Stories enabled).

As with all admin pointers, they both can be permanently dismissed on a per-user basis. Since we now have multiple notices, two new classes are introduced and replace the previously used class for the old admin pointer (the class code was pretty much taken from Site Kit).

@googlebot googlebot added the cla: yes Signed the Google CLA label Apr 18, 2019
@westonruter westonruter merged commit cbaf0a1 into amp-stories-redux Apr 18, 2019
@westonruter
Copy link
Member

This introduced a regression. See #2149 (review)

swissspidy added a commit that referenced this pull request May 21, 2019
The file is not needed since #2148, where this JS was added inline
@westonruter westonruter added this to the v1.2 milestone May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Signed the Google CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants