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

🐛 Remove gplus from amp-social-share #21858

Closed
wants to merge 2 commits into from

Conversation

drewroberts
Copy link

Fixes #21743

Remove Google+ from amp-social-share.

CC: @aghassemi and the other 2 owners from amp-social-share .yaml @ithinkihaveacat @RyanCopley

@RyanCopley
Copy link
Contributor

It may be worth reviewing all instances of gplus. https://github.com/ampproject/amphtml/search?utf8=%E2%9C%93&q=gplus

@drewroberts
Copy link
Author

@RyanCopley I removed the other 5 instances of gplus. Let me know if there's anything else you recommend. Thanks for the opportunity to work on the AMP Project.

@cathyxz
Copy link
Contributor

cathyxz commented Apr 16, 2019

We should also remove references to gplus from AMP-By-Example, e.g. https://amp.dev/documentation/examples/components/amp-social-share/?referrer=ampbyexample.com. In fact we should probably remove those first so that those pages don't break. Should we have a deprecation notice out for a bit before actually removing this (to avoid breaking people)?

@drewroberts
Copy link
Author

Good call, @cathyxz. I created an issue for it and working on it now:

What's the best practice for creating a deprecation notice?

@aghassemi aghassemi self-requested a review April 16, 2019 16:10
Copy link
Contributor

@aghassemi aghassemi left a comment

Choose a reason for hiding this comment

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

To keep things backward-compatible, we can't completely remove this. Since if a site is using gplus share, it will endup as blank space which is arguably worse:
a

I suggest only removing it from documentation and examples.

@aghassemi aghassemi mentioned this pull request Apr 18, 2019
@aghassemi
Copy link
Contributor

For deprecation, probably a user().warn when encountering gplus in the config would do.

@nainar
Copy link
Contributor

nainar commented Jul 20, 2019

Closing this PR as inactive. Please reopen if that isn't the case (preferably as a new PR).

@nainar nainar closed this Jul 20, 2019
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.

Remove G+ from documentation of amp-social-share
6 participants