{"action":"created","comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/69996327","id":69996327,"diff_hunk":"@@ -285,4 +286,19 @@ $(document).ready(function () {\n     $('a.btn').mouseup(function(){\n         $(this).blur();\n     });\n+\n+    if (window.contextVars.node.isPublic) {\n+        m.mount(document.getElementById('shareDropdown'),\n+                m.component(SocialShare.ShareDropdown,\n+                    {file_name: window.contextVars.node.title, share_url: window.location.href}));\n+\n+        // Make sure the drop down share menu is not obscured","path":"website/static/js/pages/project-dashboard-page.js","position":18,"original_position":18,"commit_id":"b0526b43eae9c82073e74e04839bb61a2286102a","original_commit_id":"b0526b43eae9c82073e74e04839bb61a2286102a","user":{"login":"acshi","id":1449974,"avatar_url":"https://avatars.githubusercontent.com/u/1449974?v=3","gravatar_id":"","url":"https://api.github.com/users/acshi","html_url":"https://github.com/acshi","followers_url":"https://api.github.com/users/acshi/followers","following_url":"https://api.github.com/users/acshi/following{/other_user}","gists_url":"https://api.github.com/users/acshi/gists{/gist_id}","starred_url":"https://api.github.com/users/acshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acshi/subscriptions","organizations_url":"https://api.github.com/users/acshi/orgs","repos_url":"https://api.github.com/users/acshi/repos","events_url":"https://api.github.com/users/acshi/events{/privacy}","received_events_url":"https://api.github.com/users/acshi/received_events","type":"User","site_admin":false},"body":"Verified that your changes are effective.","created_at":"2016-07-07T22:05:44Z","updated_at":"2016-07-07T22:05:44Z","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/5801#discussion_r69996327","pull_request_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5801","_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments/69996327"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/5801#discussion_r69996327"},"pull_request":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5801"}}},"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5801","id":72763949,"html_url":"https://github.com/CenterForOpenScience/osf.io/pull/5801","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/5801.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/5801.patch","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5801","number":5801,"state":"open","locked":false,"title":"Social media sharing bar [OSF-2052]","user":{"login":"acshi","id":1449974,"avatar_url":"https://avatars.githubusercontent.com/u/1449974?v=3","gravatar_id":"","url":"https://api.github.com/users/acshi","html_url":"https://github.com/acshi","followers_url":"https://api.github.com/users/acshi/followers","following_url":"https://api.github.com/users/acshi/following{/other_user}","gists_url":"https://api.github.com/users/acshi/gists{/gist_id}","starred_url":"https://api.github.com/users/acshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acshi/subscriptions","organizations_url":"https://api.github.com/users/acshi/orgs","repos_url":"https://api.github.com/users/acshi/repos","events_url":"https://api.github.com/users/acshi/events{/privacy}","received_events_url":"https://api.github.com/users/acshi/received_events","type":"User","site_admin":false},"body":"## Purpose\r\nEnable social media sharing with buttons that connect to the appropriate services.\r\n\r\n## Changes\r\nProject and component pages have a \"share\" button that shows a selection of social media sharing buttons.\r\n![screen shot 2016-06-08 at 12 37 04 pm](https://cloud.githubusercontent.com/assets/1449974/15902449/f9e534c0-2d75-11e6-88a2-8b4473e7abc1.png)\r\n\r\nThe existing file share dialog now also has these social media buttons.\r\n![screen shot 2016-06-08 at 12 38 19 pm](https://cloud.githubusercontent.com/assets/1449974/15902462/05883da4-2d76-11e6-8463-c0810e0306e4.png)\r\n\r\n\r\nWhen any of these buttons are clicked, a new window with the appropriate service is shown.\r\n![image](https://cloud.githubusercontent.com/assets/1449974/15834694/a9308b96-2bfa-11e6-80ba-87cbb855aed2.png)\r\n\r\nFor each of the options, the title of the project, component, or file is given, along with the appropriate link url: main urls for projects and components, and direct MFR views for files. Twitter additionally has \"via @OSFramework\" added to the text.\r\n\r\n## Side effects\r\nThere should not be any side effects.\r\n\r\n## Ticket\r\nhttps://openscience.atlassian.net/browse/OSF-2052","created_at":"2016-06-06T19:30:24Z","updated_at":"2016-07-07T22:05:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fac6d08d01853e5bf09c8f627f27eb4ea193e1c2","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5801/commits","review_comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5801/comments","review_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5801/comments","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/b0526b43eae9c82073e74e04839bb61a2286102a","head":{"label":"acshi:osf-2052","ref":"osf-2052","sha":"b0526b43eae9c82073e74e04839bb61a2286102a","user":{"login":"acshi","id":1449974,"avatar_url":"https://avatars.githubusercontent.com/u/1449974?v=3","gravatar_id":"","url":"https://api.github.com/users/acshi","html_url":"https://github.com/acshi","followers_url":"https://api.github.com/users/acshi/followers","following_url":"https://api.github.com/users/acshi/following{/other_user}","gists_url":"https://api.github.com/users/acshi/gists{/gist_id}","starred_url":"https://api.github.com/users/acshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acshi/subscriptions","organizations_url":"https://api.github.com/users/acshi/orgs","repos_url":"https://api.github.com/users/acshi/repos","events_url":"https://api.github.com/users/acshi/events{/privacy}","received_events_url":"https://api.github.com/users/acshi/received_events","type":"User","site_admin":false},"repo":{"id":59302069,"name":"osf.io","full_name":"acshi/osf.io","owner":{"login":"acshi","id":1449974,"avatar_url":"https://avatars.githubusercontent.com/u/1449974?v=3","gravatar_id":"","url":"https://api.github.com/users/acshi","html_url":"https://github.com/acshi","followers_url":"https://api.github.com/users/acshi/followers","following_url":"https://api.github.com/users/acshi/following{/other_user}","gists_url":"https://api.github.com/users/acshi/gists{/gist_id}","starred_url":"https://api.github.com/users/acshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acshi/subscriptions","organizations_url":"https://api.github.com/users/acshi/orgs","repos_url":"https://api.github.com/users/acshi/repos","events_url":"https://api.github.com/users/acshi/events{/privacy}","received_events_url":"https://api.github.com/users/acshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/acshi/osf.io","description":"Facilitating Open Science","fork":true,"url":"https://api.github.com/repos/acshi/osf.io","forks_url":"https://api.github.com/repos/acshi/osf.io/forks","keys_url":"https://api.github.com/repos/acshi/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acshi/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acshi/osf.io/teams","hooks_url":"https://api.github.com/repos/acshi/osf.io/hooks","issue_events_url":"https://api.github.com/repos/acshi/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/acshi/osf.io/events","assignees_url":"https://api.github.com/repos/acshi/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/acshi/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/acshi/osf.io/tags","blobs_url":"https://api.github.com/repos/acshi/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acshi/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acshi/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/acshi/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acshi/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/acshi/osf.io/languages","stargazers_url":"https://api.github.com/repos/acshi/osf.io/stargazers","contributors_url":"https://api.github.com/repos/acshi/osf.io/contributors","subscribers_url":"https://api.github.com/repos/acshi/osf.io/subscribers","subscription_url":"https://api.github.com/repos/acshi/osf.io/subscription","commits_url":"https://api.github.com/repos/acshi/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/acshi/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/acshi/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/acshi/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/acshi/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/acshi/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acshi/osf.io/merges","archive_url":"https://api.github.com/repos/acshi/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acshi/osf.io/downloads","issues_url":"https://api.github.com/repos/acshi/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/acshi/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/acshi/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/acshi/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acshi/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/acshi/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/acshi/osf.io/deployments","created_at":"2016-05-20T14:40:43Z","updated_at":"2016-05-20T14:40:51Z","pushed_at":"2016-07-07T20:54:36Z","git_url":"git://github.com/acshi/osf.io.git","ssh_url":"git@github.com:acshi/osf.io.git","clone_url":"https://github.com/acshi/osf.io.git","svn_url":"https://github.com/acshi/osf.io","homepage":"http://osf.io","size":135591,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"CenterForOpenScience:develop","ref":"develop","sha":"b0b30cab94cb94e2fa6210faa4083b3c703f4139","user":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"repo":{"id":10199599,"name":"osf.io","full_name":"CenterForOpenScience/osf.io","owner":{"login":"CenterForOpenScience","id":3344584,"avatar_url":"https://avatars.githubusercontent.com/u/3344584?v=3","gravatar_id":"","url":"https://api.github.com/users/CenterForOpenScience","html_url":"https://github.com/CenterForOpenScience","followers_url":"https://api.github.com/users/CenterForOpenScience/followers","following_url":"https://api.github.com/users/CenterForOpenScience/following{/other_user}","gists_url":"https://api.github.com/users/CenterForOpenScience/gists{/gist_id}","starred_url":"https://api.github.com/users/CenterForOpenScience/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CenterForOpenScience/subscriptions","organizations_url":"https://api.github.com/users/CenterForOpenScience/orgs","repos_url":"https://api.github.com/users/CenterForOpenScience/repos","events_url":"https://api.github.com/users/CenterForOpenScience/events{/privacy}","received_events_url":"https://api.github.com/users/CenterForOpenScience/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CenterForOpenScience/osf.io","description":"Facilitating Open Science","fork":false,"url":"https://api.github.com/repos/CenterForOpenScience/osf.io","forks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/forks","keys_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/teams","hooks_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/hooks","issue_events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/events{/number}","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/events","assignees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/assignees{/user}","branches_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/branches{/branch}","tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/tags","blobs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/{sha}","languages_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/languages","stargazers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/stargazers","contributors_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contributors","subscribers_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscribers","subscription_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/subscription","commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/contents/{+path}","compare_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/merges","archive_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/downloads","issues_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues{/number}","pulls_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls{/number}","milestones_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones{/number}","notifications_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/labels{/name}","releases_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/releases{/id}","deployments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/deployments","created_at":"2013-05-21T15:53:37Z","updated_at":"2016-07-06T01:24:42Z","pushed_at":"2016-07-07T21:42:54Z","git_url":"git://github.com/CenterForOpenScience/osf.io.git","ssh_url":"git@github.com:CenterForOpenScience/osf.io.git","clone_url":"https://github.com/CenterForOpenScience/osf.io.git","svn_url":"https://github.com/CenterForOpenScience/osf.io","homepage":"http://osf.io","size":284951,"stargazers_count":228,"watchers_count":228,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":193,"mirror_url":null,"open_issues_count":173,"forks":193,"open_issues":173,"watchers":228,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5801"},"html":{"href":"https://github.com/CenterForOpenScience/osf.io/pull/5801"},"issue":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5801"},"comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/5801/comments"},"review_comments":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5801/comments"},"review_comment":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/5801/commits"},"statuses":{"href":"https://api.github.com/repos/CenterForOpenScience/osf.io/statuses/b0526b43eae9c82073e74e04839bb61a2286102a"}}}}
{"actor":{"display_login":"acshi"}}