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

Bump social-share-button from 1.1.0 to 1.2.3 #4101

Merged
merged 9 commits into from
Feb 8, 2021

Conversation

dependabot-preview[bot]
Copy link
Contributor

@dependabot-preview dependabot-preview bot commented Aug 24, 2020

Bumps social-share-button from 1.1.0 to 1.2.3.

Changelog

Sourced from social-share-button's changelog.

1.2.3

  • Fix Facebook share URL. (#188)
  • Fix WhatsApp translate. (#176)

1.2.1

  • Fix WhatsApp share URL (#187)

1.2.0

  • Adds social share on WhatsApp (#170)
Commits

Dependabot compatibility score

Visual changes

Before these changes

The telegram and whatsapp icons in featured proposals look different than the other icons

After these changes

The telegram and whatapp icons in featured proposals look like the other icons

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that updates a dependency label Aug 24, 2020
@javierm javierm self-assigned this Aug 24, 2020
app/views/proposals/share.html.erb Outdated Show resolved Hide resolved
app/assets/stylesheets/layout.scss Show resolved Hide resolved
app/assets/stylesheets/layout.scss Outdated Show resolved Hide resolved
@@ -3,7 +3,7 @@
App.SocialShare = {
initialize: function() {
$(".social-share-button a").each(function() {
$(this).append("<span class='show-for-sr'>" + ($(this).data("site")) + "</span>");
$(this).append("<span class='show-for-sr'>" + ($(this).data("site").replace(/_app$/, "")) + "</span>");

Choose a reason for hiding this comment

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

Line 6 exceeds the maximum line length of 110 max-len

@javierm javierm added this to Reviewing in Consul Democracy via automation Aug 24, 2020
@javierm javierm force-pushed the dependabot/bundler/social-share-button-1.2.3 branch 3 times, most recently from 8b1e49d to 033d751 Compare August 28, 2020 15:39
@javierm javierm force-pushed the dependabot/bundler/social-share-button-1.2.3 branch from 033d751 to e235c5e Compare September 9, 2020 23:44
@javierm javierm moved this from Reviewing to Doing in Consul Democracy Sep 27, 2020
@javierm javierm force-pushed the dependabot/bundler/social-share-button-1.2.3 branch from e235c5e to 8a40d58 Compare October 14, 2020 12:36
@javierm javierm moved this from Doing to Reviewing in Consul Democracy Oct 14, 2020
@javierm javierm force-pushed the dependabot/bundler/social-share-button-1.2.3 branch 4 times, most recently from 89cfe34 to 3352d8b Compare February 5, 2021 17:04
@taitus taitus self-assigned this Feb 5, 2021
@javierm javierm force-pushed the dependabot/bundler/social-share-button-1.2.3 branch from 3352d8b to ae079ef Compare February 5, 2021 17:26
Consul Democracy automation moved this from Reviewing to Testing Feb 5, 2021
@javierm javierm force-pushed the dependabot/bundler/social-share-button-1.2.3 branch from ae079ef to 882c1dc Compare February 5, 2021 20:07
dependabot-preview bot and others added 9 commits February 8, 2021 16:31
These styles were defined twice in our layout stylesheet.
All buttons were using the same styles, so we might as well style them
together.
We were using a custom icon because in the past social-share-button
didn't have support for whatsapp. But now that it does, we can remove
our custom icon.

Note we're using the `_app` suffix because that's the name of the icon
meant for mobile devices.
The `proposal-show` HTML class was only used in this context to style
the whatsapp icon, which is now styled the same way as other social
share icons. The `proposal-show` class should be reserved for the actual
proposal show action.
The same way we use it for SDG icons.
As far as I can see, the `.jumbo-budget` never had social share button
elements inside it.
By using the same selector used by the social-share-button gem, we can
remove all the !important rules.
We were only adding styles for facebook and twitter, meaning telegram
and whatsapp looked out of place.
@javierm javierm force-pushed the dependabot/bundler/social-share-button-1.2.3 branch from 7928622 to aed38aa Compare February 8, 2021 15:33
@javierm javierm merged commit 2bca1ec into master Feb 8, 2021
Consul Democracy automation moved this from Testing to Release 1.3.0 Feb 8, 2021
@javierm javierm deleted the dependabot/bundler/social-share-button-1.2.3 branch February 8, 2021 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that updates a dependency
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants