{"action":"created","comment":{"url":"https://api.github.com/repos/tootsuite/mastodon/pulls/comments/129387605","pull_request_review_id":52155499,"id":129387605,"diff_hunk":"@@ -57,6 +58,13 @@ export default class StatusActionBar extends ImmutablePureComponent {\n     this.props.onReply(this.props.status, this.context.router.history);\n   }\n \n+  handleShareClick = () => {\n+    navigator.share({\n+      text: this.props.status.get('search_index'),","path":"app/javascript/mastodon/components/status_action_bar.js","position":14,"original_position":14,"commit_id":"73907a3cf2f877f4f092193730e7ddf9ab9ef204","original_commit_id":"73907a3cf2f877f4f092193730e7ddf9ab9ef204","user":{"login":"Gargron","id":184731,"avatar_url":"https://avatars3.githubusercontent.com/u/184731?v=4","gravatar_id":"","url":"https://api.github.com/users/Gargron","html_url":"https://github.com/Gargron","followers_url":"https://api.github.com/users/Gargron/followers","following_url":"https://api.github.com/users/Gargron/following{/other_user}","gists_url":"https://api.github.com/users/Gargron/gists{/gist_id}","starred_url":"https://api.github.com/users/Gargron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gargron/subscriptions","organizations_url":"https://api.github.com/users/Gargron/orgs","repos_url":"https://api.github.com/users/Gargron/repos","events_url":"https://api.github.com/users/Gargron/events{/privacy}","received_events_url":"https://api.github.com/users/Gargron/received_events","type":"User","site_admin":false},"body":"Ah... Well, fair enough I suppose. Okay. Use it then.","created_at":"2017-07-25T18:29:40Z","updated_at":"2017-07-25T18:29:40Z","html_url":"https://github.com/tootsuite/mastodon/pull/4365#discussion_r129387605","pull_request_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/4365","_links":{"self":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/comments/129387605"},"html":{"href":"https://github.com/tootsuite/mastodon/pull/4365#discussion_r129387605"},"pull_request":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/4365"}}},"pull_request":{"url":"https://api.github.com/repos/tootsuite/mastodon/pulls/4365","id":132339184,"html_url":"https://github.com/tootsuite/mastodon/pull/4365","diff_url":"https://github.com/tootsuite/mastodon/pull/4365.diff","patch_url":"https://github.com/tootsuite/mastodon/pull/4365.patch","issue_url":"https://api.github.com/repos/tootsuite/mastodon/issues/4365","number":4365,"state":"open","locked":false,"title":"feat(status_action_bar): Web share button","user":{"login":"sorin-davidoi","id":2109702,"avatar_url":"https://avatars1.githubusercontent.com/u/2109702?v=4","gravatar_id":"","url":"https://api.github.com/users/sorin-davidoi","html_url":"https://github.com/sorin-davidoi","followers_url":"https://api.github.com/users/sorin-davidoi/followers","following_url":"https://api.github.com/users/sorin-davidoi/following{/other_user}","gists_url":"https://api.github.com/users/sorin-davidoi/gists{/gist_id}","starred_url":"https://api.github.com/users/sorin-davidoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorin-davidoi/subscriptions","organizations_url":"https://api.github.com/users/sorin-davidoi/orgs","repos_url":"https://api.github.com/users/sorin-davidoi/repos","events_url":"https://api.github.com/users/sorin-davidoi/events{/privacy}","received_events_url":"https://api.github.com/users/sorin-davidoi/received_events","type":"User","site_admin":false},"body":"This introduces an extra button for sharing toots using the operating systems' sharing implementation. The button only appears for browsers that support this and only for public toots. Uses the [Web Share API](https://wicg.github.io/web-share/) ([short video](https://youtu.be/lhUzYxCvWew)).\r\n\r\nBrowsers that support this: none. Next version of Chrome (61) will turn this on by default, until then you can test by enabling the Experimental Web Platform features in Chrome on Android - `chrome://flags/#enable-experimental-web-platform-features`.\r\n\r\n![image](https://user-images.githubusercontent.com/2109702/28585422-85c38fc0-7170-11e7-865f-00f90702a8e5.png)","created_at":"2017-07-25T17:40:09Z","updated_at":"2017-07-25T18:29:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2dd08543df77a4eabc5ad779b76288112a2bb813","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/4365/commits","review_comments_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/4365/comments","review_comment_url":"https://api.github.com/repos/tootsuite/mastodon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/tootsuite/mastodon/issues/4365/comments","statuses_url":"https://api.github.com/repos/tootsuite/mastodon/statuses/73907a3cf2f877f4f092193730e7ddf9ab9ef204","head":{"label":"sorin-davidoi:web-share","ref":"web-share","sha":"73907a3cf2f877f4f092193730e7ddf9ab9ef204","user":{"login":"sorin-davidoi","id":2109702,"avatar_url":"https://avatars1.githubusercontent.com/u/2109702?v=4","gravatar_id":"","url":"https://api.github.com/users/sorin-davidoi","html_url":"https://github.com/sorin-davidoi","followers_url":"https://api.github.com/users/sorin-davidoi/followers","following_url":"https://api.github.com/users/sorin-davidoi/following{/other_user}","gists_url":"https://api.github.com/users/sorin-davidoi/gists{/gist_id}","starred_url":"https://api.github.com/users/sorin-davidoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorin-davidoi/subscriptions","organizations_url":"https://api.github.com/users/sorin-davidoi/orgs","repos_url":"https://api.github.com/users/sorin-davidoi/repos","events_url":"https://api.github.com/users/sorin-davidoi/events{/privacy}","received_events_url":"https://api.github.com/users/sorin-davidoi/received_events","type":"User","site_admin":false},"repo":{"id":91712099,"name":"mastodon","full_name":"sorin-davidoi/mastodon","owner":{"login":"sorin-davidoi","id":2109702,"avatar_url":"https://avatars1.githubusercontent.com/u/2109702?v=4","gravatar_id":"","url":"https://api.github.com/users/sorin-davidoi","html_url":"https://github.com/sorin-davidoi","followers_url":"https://api.github.com/users/sorin-davidoi/followers","following_url":"https://api.github.com/users/sorin-davidoi/following{/other_user}","gists_url":"https://api.github.com/users/sorin-davidoi/gists{/gist_id}","starred_url":"https://api.github.com/users/sorin-davidoi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sorin-davidoi/subscriptions","organizations_url":"https://api.github.com/users/sorin-davidoi/orgs","repos_url":"https://api.github.com/users/sorin-davidoi/repos","events_url":"https://api.github.com/users/sorin-davidoi/events{/privacy}","received_events_url":"https://api.github.com/users/sorin-davidoi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sorin-davidoi/mastodon","description":"A GNU Social-compatible microblogging server","fork":true,"url":"https://api.github.com/repos/sorin-davidoi/mastodon","forks_url":"https://api.github.com/repos/sorin-davidoi/mastodon/forks","keys_url":"https://api.github.com/repos/sorin-davidoi/mastodon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sorin-davidoi/mastodon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sorin-davidoi/mastodon/teams","hooks_url":"https://api.github.com/repos/sorin-davidoi/mastodon/hooks","issue_events_url":"https://api.github.com/repos/sorin-davidoi/mastodon/issues/events{/number}","events_url":"https://api.github.com/repos/sorin-davidoi/mastodon/events","assignees_url":"https://api.github.com/repos/sorin-davidoi/mastodon/assignees{/user}","branches_url":"https://api.github.com/repos/sorin-davidoi/mastodon/branches{/branch}","tags_url":"https://api.github.com/repos/sorin-davidoi/mastodon/tags","blobs_url":"https://api.github.com/repos/sorin-davidoi/mastodon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sorin-davidoi/mastodon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sorin-davidoi/mastodon/git/refs{/sha}","trees_url":"https://api.github.com/repos/sorin-davidoi/mastodon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sorin-davidoi/mastodon/statuses/{sha}","languages_url":"https://api.github.com/repos/sorin-davidoi/mastodon/languages","stargazers_url":"https://api.github.com/repos/sorin-davidoi/mastodon/stargazers","contributors_url":"https://api.github.com/repos/sorin-davidoi/mastodon/contributors","subscribers_url":"https://api.github.com/repos/sorin-davidoi/mastodon/subscribers","subscription_url":"https://api.github.com/repos/sorin-davidoi/mastodon/subscription","commits_url":"https://api.github.com/repos/sorin-davidoi/mastodon/commits{/sha}","git_commits_url":"https://api.github.com/repos/sorin-davidoi/mastodon/git/commits{/sha}","comments_url":"https://api.github.com/repos/sorin-davidoi/mastodon/comments{/number}","issue_comment_url":"https://api.github.com/repos/sorin-davidoi/mastodon/issues/comments{/number}","contents_url":"https://api.github.com/repos/sorin-davidoi/mastodon/contents/{+path}","compare_url":"https://api.github.com/repos/sorin-davidoi/mastodon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sorin-davidoi/mastodon/merges","archive_url":"https://api.github.com/repos/sorin-davidoi/mastodon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sorin-davidoi/mastodon/downloads","issues_url":"https://api.github.com/repos/sorin-davidoi/mastodon/issues{/number}","pulls_url":"https://api.github.com/repos/sorin-davidoi/mastodon/pulls{/number}","milestones_url":"https://api.github.com/repos/sorin-davidoi/mastodon/milestones{/number}","notifications_url":"https://api.github.com/repos/sorin-davidoi/mastodon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sorin-davidoi/mastodon/labels{/name}","releases_url":"https://api.github.com/repos/sorin-davidoi/mastodon/releases{/id}","deployments_url":"https://api.github.com/repos/sorin-davidoi/mastodon/deployments","created_at":"2017-05-18T15:53:38Z","updated_at":"2017-05-18T15:53:43Z","pushed_at":"2017-07-25T17:39:11Z","git_url":"git://github.com/sorin-davidoi/mastodon.git","ssh_url":"git@github.com:sorin-davidoi/mastodon.git","clone_url":"https://github.com/sorin-davidoi/mastodon.git","svn_url":"https://github.com/sorin-davidoi/mastodon","homepage":"https://mastodon.social","size":42353,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"tootsuite:master","ref":"master","sha":"9f97c8c7505bbf21b97bb94a180fe4eee14287ad","user":{"login":"tootsuite","id":24979032,"avatar_url":"https://avatars3.githubusercontent.com/u/24979032?v=4","gravatar_id":"","url":"https://api.github.com/users/tootsuite","html_url":"https://github.com/tootsuite","followers_url":"https://api.github.com/users/tootsuite/followers","following_url":"https://api.github.com/users/tootsuite/following{/other_user}","gists_url":"https://api.github.com/users/tootsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/tootsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tootsuite/subscriptions","organizations_url":"https://api.github.com/users/tootsuite/orgs","repos_url":"https://api.github.com/users/tootsuite/repos","events_url":"https://api.github.com/users/tootsuite/events{/privacy}","received_events_url":"https://api.github.com/users/tootsuite/received_events","type":"Organization","site_admin":false},"repo":{"id":52281283,"name":"mastodon","full_name":"tootsuite/mastodon","owner":{"login":"tootsuite","id":24979032,"avatar_url":"https://avatars3.githubusercontent.com/u/24979032?v=4","gravatar_id":"","url":"https://api.github.com/users/tootsuite","html_url":"https://github.com/tootsuite","followers_url":"https://api.github.com/users/tootsuite/followers","following_url":"https://api.github.com/users/tootsuite/following{/other_user}","gists_url":"https://api.github.com/users/tootsuite/gists{/gist_id}","starred_url":"https://api.github.com/users/tootsuite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tootsuite/subscriptions","organizations_url":"https://api.github.com/users/tootsuite/orgs","repos_url":"https://api.github.com/users/tootsuite/repos","events_url":"https://api.github.com/users/tootsuite/events{/privacy}","received_events_url":"https://api.github.com/users/tootsuite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/tootsuite/mastodon","description":"A GNU Social-compatible microblogging server","fork":false,"url":"https://api.github.com/repos/tootsuite/mastodon","forks_url":"https://api.github.com/repos/tootsuite/mastodon/forks","keys_url":"https://api.github.com/repos/tootsuite/mastodon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tootsuite/mastodon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tootsuite/mastodon/teams","hooks_url":"https://api.github.com/repos/tootsuite/mastodon/hooks","issue_events_url":"https://api.github.com/repos/tootsuite/mastodon/issues/events{/number}","events_url":"https://api.github.com/repos/tootsuite/mastodon/events","assignees_url":"https://api.github.com/repos/tootsuite/mastodon/assignees{/user}","branches_url":"https://api.github.com/repos/tootsuite/mastodon/branches{/branch}","tags_url":"https://api.github.com/repos/tootsuite/mastodon/tags","blobs_url":"https://api.github.com/repos/tootsuite/mastodon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tootsuite/mastodon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tootsuite/mastodon/git/refs{/sha}","trees_url":"https://api.github.com/repos/tootsuite/mastodon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tootsuite/mastodon/statuses/{sha}","languages_url":"https://api.github.com/repos/tootsuite/mastodon/languages","stargazers_url":"https://api.github.com/repos/tootsuite/mastodon/stargazers","contributors_url":"https://api.github.com/repos/tootsuite/mastodon/contributors","subscribers_url":"https://api.github.com/repos/tootsuite/mastodon/subscribers","subscription_url":"https://api.github.com/repos/tootsuite/mastodon/subscription","commits_url":"https://api.github.com/repos/tootsuite/mastodon/commits{/sha}","git_commits_url":"https://api.github.com/repos/tootsuite/mastodon/git/commits{/sha}","comments_url":"https://api.github.com/repos/tootsuite/mastodon/comments{/number}","issue_comment_url":"https://api.github.com/repos/tootsuite/mastodon/issues/comments{/number}","contents_url":"https://api.github.com/repos/tootsuite/mastodon/contents/{+path}","compare_url":"https://api.github.com/repos/tootsuite/mastodon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tootsuite/mastodon/merges","archive_url":"https://api.github.com/repos/tootsuite/mastodon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tootsuite/mastodon/downloads","issues_url":"https://api.github.com/repos/tootsuite/mastodon/issues{/number}","pulls_url":"https://api.github.com/repos/tootsuite/mastodon/pulls{/number}","milestones_url":"https://api.github.com/repos/tootsuite/mastodon/milestones{/number}","notifications_url":"https://api.github.com/repos/tootsuite/mastodon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tootsuite/mastodon/labels{/name}","releases_url":"https://api.github.com/repos/tootsuite/mastodon/releases{/id}","deployments_url":"https://api.github.com/repos/tootsuite/mastodon/deployments","created_at":"2016-02-22T15:01:25Z","updated_at":"2017-07-25T17:09:33Z","pushed_at":"2017-07-25T17:40:10Z","git_url":"git://github.com/tootsuite/mastodon.git","ssh_url":"git@github.com:tootsuite/mastodon.git","clone_url":"https://github.com/tootsuite/mastodon.git","svn_url":"https://github.com/tootsuite/mastodon","homepage":"https://joinmastodon.org","size":42187,"stargazers_count":9796,"watchers_count":9796,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1879,"mirror_url":null,"open_issues_count":610,"forks":1879,"open_issues":610,"watchers":9796,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/4365"},"html":{"href":"https://github.com/tootsuite/mastodon/pull/4365"},"issue":{"href":"https://api.github.com/repos/tootsuite/mastodon/issues/4365"},"comments":{"href":"https://api.github.com/repos/tootsuite/mastodon/issues/4365/comments"},"review_comments":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/4365/comments"},"review_comment":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/tootsuite/mastodon/pulls/4365/commits"},"statuses":{"href":"https://api.github.com/repos/tootsuite/mastodon/statuses/73907a3cf2f877f4f092193730e7ddf9ab9ef204"}}}}
{"actor":{"display_login":"Gargron"}}