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

[Backport] Social meta tags #2994

Merged
merged 2 commits into from
Oct 31, 2018
Merged

[Backport] Social meta tags #2994

merged 2 commits into from
Oct 31, 2018

Conversation

decabeza
Copy link
Collaborator

References

This is a backport of AyuntamientoMadrid#1681

Objectives

This PR removes custom content on proposal votes view and improves social share messages for proposals creating a new proposals/_social_share.html.erb partial.

Before the share messages was:

  • Facebook: {proposal_summary}
  • Twitter: {proposal_title} #twitter_hashtag
  • Telegram and WhatsApp: No message only proposal's url

The new messages are:

  • Facebook:
    I supported the proposal %{summary} in %{org}. If you're interested, support it too!

  • Twitter, Telegram and WhatsApp:
    I supported the proposal %{summary} in %{mobile}. If you're interested, support it too!

This PR also refactors the social meta tags spec.

Visual changes

Before
screenshot 2018-10-25 at 19 10 03

After
screenshot 2018-10-25 at 19 09 07

@decabeza decabeza merged commit d1e40ad into master Oct 31, 2018
@decabeza decabeza deleted the social-meta-tags branch October 31, 2018 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants