Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Bug 1145630: Social Sharing A/B tests #3142

Merged
merged 1 commit into from
Apr 8, 2015
Merged

Bug 1145630: Social Sharing A/B tests #3142

merged 1 commit into from
Apr 8, 2015

Conversation

stephaniehobson
Copy link
Contributor

Styling for 3 different types of buttons going in 3 different places.

Classes:
.share
.share.share-group
.share.share-thin

All hidden by default at the moment, show by adding class show to the element with class share

Here's a screen shot of the share.share-thin positioned under the title, share.share-group positioned in the TOC, and the default .share under the article.
screen shot 2015-03-30 at 15 47 49

@stephaniehobson
Copy link
Contributor Author

This is not ready yet. It lacks one significant thing... a way to make the share links visible. This is a tini bit complicated for the one in the .toc.

Putting it here because I know @openjck was talking about working on optimizely tests at the hack event, thought he might want to steal it.

I intend to come back to this after my doctor's appointment today and fix the one missing thing but it's a Friday and I might get captured by a wild beer.

@stephaniehobson
Copy link
Contributor Author

Cleaned up and ready for review.

@openjck
Copy link
Contributor

openjck commented Apr 2, 2015

This. Looks. Awesome. 😃

Will we plan to keep all three styles around after the experiment ends? If not, maybe we could add some comments to code that might later be eligible to be removed.

}


@media all and (max-width: 1200px) {
Copy link
Contributor

Choose a reason for hiding this comment

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

We could alternatively use $media-query-small-desktop here.

@openjck
Copy link
Contributor

openjck commented Apr 2, 2015

Added a few nitpick line comments. All very minor. Otherwise this looks fantastic. I'm excited to run this experiment.

Styling for 3 different types of buttons going in 3 different places.

Classes:
.share
.share.share-group
.share.share-thin

All hidden by default at the moment and need the class .show added to them to display.
@stephaniehobson
Copy link
Contributor Author

Updated and ready for re-review.

@openjck
Copy link
Contributor

openjck commented Apr 7, 2015

When we run the experiment, would we want to show all buttons at once or experiment with different placements in addition to different styles?

@stephaniehobson
Copy link
Contributor Author

The buttons should only show up in one place on the page at a time.

openjck added a commit that referenced this pull request Apr 8, 2015
…tests

Bug 1145630: Social Sharing A/B tests
@openjck openjck merged commit 73d9312 into mdn:master Apr 8, 2015
@stephaniehobson stephaniehobson deleted the bug-1145630-sharing-ab-tests branch April 9, 2015 17:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants