{"action":"created","comment":{"url":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/comments/223091190","pull_request_review_id":162142184,"id":223091190,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyMzA5MTE5MA==","diff_hunk":"@@ -0,0 +1,13 @@\n+export default {\n+  setupComponent(args, component) {\n+    const enabled = Discourse.SiteSettings.location_users_map;\n+    if (enabled) {\n+      Ember.run.scheduleOnce('afterRender', () => {\n+        const $existingLocation = $('span.location');\n+        component.$('span.map-location').insertAfter($existingLocation);\n+        $existingLocation.hide();\n+        $('span.website-name').css(\"margin-top\",\"-3%\");","path":"assets/javascripts/discourse/connectors/user-card-location-and-website/replace-location.js.es6","position":null,"original_position":9,"commit_id":"ab700c252794a683e9bde2120bdb179cee6ca25d","original_commit_id":"f430f1f86a8dd56599a18188011abb3f5827e681","user":{"login":"sudaraka94","id":15868287,"node_id":"MDQ6VXNlcjE1ODY4Mjg3","avatar_url":"https://avatars2.githubusercontent.com/u/15868287?v=4","gravatar_id":"","url":"https://api.github.com/users/sudaraka94","html_url":"https://github.com/sudaraka94","followers_url":"https://api.github.com/users/sudaraka94/followers","following_url":"https://api.github.com/users/sudaraka94/following{/other_user}","gists_url":"https://api.github.com/users/sudaraka94/gists{/gist_id}","starred_url":"https://api.github.com/users/sudaraka94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudaraka94/subscriptions","organizations_url":"https://api.github.com/users/sudaraka94/orgs","repos_url":"https://api.github.com/users/sudaraka94/repos","events_url":"https://api.github.com/users/sudaraka94/events{/privacy}","received_events_url":"https://api.github.com/users/sudaraka94/received_events","type":"User","site_admin":false},"body":"Fixed by this ab700c252794a683e9bde2120bdb179cee6ca25d","created_at":"2018-10-05T17:55:31Z","updated_at":"2018-10-05T17:55:31Z","html_url":"https://github.com/angusmcleod/discourse-locations/pull/32#discussion_r223091190","pull_request_url":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/32","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/comments/223091190"},"html":{"href":"https://github.com/angusmcleod/discourse-locations/pull/32#discussion_r223091190"},"pull_request":{"href":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/32"}},"in_reply_to_id":220120833},"pull_request":{"url":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/32","id":217505868,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE3NTA1ODY4","html_url":"https://github.com/angusmcleod/discourse-locations/pull/32","diff_url":"https://github.com/angusmcleod/discourse-locations/pull/32.diff","patch_url":"https://github.com/angusmcleod/discourse-locations/pull/32.patch","issue_url":"https://api.github.com/repos/angusmcleod/discourse-locations/issues/32","number":32,"state":"open","locked":false,"title":"Add map-location to user-card","user":{"login":"sudaraka94","id":15868287,"node_id":"MDQ6VXNlcjE1ODY4Mjg3","avatar_url":"https://avatars2.githubusercontent.com/u/15868287?v=4","gravatar_id":"","url":"https://api.github.com/users/sudaraka94","html_url":"https://github.com/sudaraka94","followers_url":"https://api.github.com/users/sudaraka94/followers","following_url":"https://api.github.com/users/sudaraka94/following{/other_user}","gists_url":"https://api.github.com/users/sudaraka94/gists{/gist_id}","starred_url":"https://api.github.com/users/sudaraka94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudaraka94/subscriptions","organizations_url":"https://api.github.com/users/sudaraka94/orgs","repos_url":"https://api.github.com/users/sudaraka94/repos","events_url":"https://api.github.com/users/sudaraka94/events{/privacy}","received_events_url":"https://api.github.com/users/sudaraka94/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-09-23T11:40:09Z","updated_at":"2018-10-05T17:55:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"97e4574ed01a02b79d0ff01794192c557386cb94","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/32/commits","review_comments_url":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/32/comments","review_comment_url":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/comments{/number}","comments_url":"https://api.github.com/repos/angusmcleod/discourse-locations/issues/32/comments","statuses_url":"https://api.github.com/repos/angusmcleod/discourse-locations/statuses/ab700c252794a683e9bde2120bdb179cee6ca25d","head":{"label":"sudaraka94:master","ref":"master","sha":"ab700c252794a683e9bde2120bdb179cee6ca25d","user":{"login":"sudaraka94","id":15868287,"node_id":"MDQ6VXNlcjE1ODY4Mjg3","avatar_url":"https://avatars2.githubusercontent.com/u/15868287?v=4","gravatar_id":"","url":"https://api.github.com/users/sudaraka94","html_url":"https://github.com/sudaraka94","followers_url":"https://api.github.com/users/sudaraka94/followers","following_url":"https://api.github.com/users/sudaraka94/following{/other_user}","gists_url":"https://api.github.com/users/sudaraka94/gists{/gist_id}","starred_url":"https://api.github.com/users/sudaraka94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudaraka94/subscriptions","organizations_url":"https://api.github.com/users/sudaraka94/orgs","repos_url":"https://api.github.com/users/sudaraka94/repos","events_url":"https://api.github.com/users/sudaraka94/events{/privacy}","received_events_url":"https://api.github.com/users/sudaraka94/received_events","type":"User","site_admin":false},"repo":{"id":127785997,"node_id":"MDEwOlJlcG9zaXRvcnkxMjc3ODU5OTc=","name":"discourse-locations","full_name":"sudaraka94/discourse-locations","private":false,"owner":{"login":"sudaraka94","id":15868287,"node_id":"MDQ6VXNlcjE1ODY4Mjg3","avatar_url":"https://avatars2.githubusercontent.com/u/15868287?v=4","gravatar_id":"","url":"https://api.github.com/users/sudaraka94","html_url":"https://github.com/sudaraka94","followers_url":"https://api.github.com/users/sudaraka94/followers","following_url":"https://api.github.com/users/sudaraka94/following{/other_user}","gists_url":"https://api.github.com/users/sudaraka94/gists{/gist_id}","starred_url":"https://api.github.com/users/sudaraka94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sudaraka94/subscriptions","organizations_url":"https://api.github.com/users/sudaraka94/orgs","repos_url":"https://api.github.com/users/sudaraka94/repos","events_url":"https://api.github.com/users/sudaraka94/events{/privacy}","received_events_url":"https://api.github.com/users/sudaraka94/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sudaraka94/discourse-locations","description":null,"fork":true,"url":"https://api.github.com/repos/sudaraka94/discourse-locations","forks_url":"https://api.github.com/repos/sudaraka94/discourse-locations/forks","keys_url":"https://api.github.com/repos/sudaraka94/discourse-locations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sudaraka94/discourse-locations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sudaraka94/discourse-locations/teams","hooks_url":"https://api.github.com/repos/sudaraka94/discourse-locations/hooks","issue_events_url":"https://api.github.com/repos/sudaraka94/discourse-locations/issues/events{/number}","events_url":"https://api.github.com/repos/sudaraka94/discourse-locations/events","assignees_url":"https://api.github.com/repos/sudaraka94/discourse-locations/assignees{/user}","branches_url":"https://api.github.com/repos/sudaraka94/discourse-locations/branches{/branch}","tags_url":"https://api.github.com/repos/sudaraka94/discourse-locations/tags","blobs_url":"https://api.github.com/repos/sudaraka94/discourse-locations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sudaraka94/discourse-locations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sudaraka94/discourse-locations/git/refs{/sha}","trees_url":"https://api.github.com/repos/sudaraka94/discourse-locations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sudaraka94/discourse-locations/statuses/{sha}","languages_url":"https://api.github.com/repos/sudaraka94/discourse-locations/languages","stargazers_url":"https://api.github.com/repos/sudaraka94/discourse-locations/stargazers","contributors_url":"https://api.github.com/repos/sudaraka94/discourse-locations/contributors","subscribers_url":"https://api.github.com/repos/sudaraka94/discourse-locations/subscribers","subscription_url":"https://api.github.com/repos/sudaraka94/discourse-locations/subscription","commits_url":"https://api.github.com/repos/sudaraka94/discourse-locations/commits{/sha}","git_commits_url":"https://api.github.com/repos/sudaraka94/discourse-locations/git/commits{/sha}","comments_url":"https://api.github.com/repos/sudaraka94/discourse-locations/comments{/number}","issue_comment_url":"https://api.github.com/repos/sudaraka94/discourse-locations/issues/comments{/number}","contents_url":"https://api.github.com/repos/sudaraka94/discourse-locations/contents/{+path}","compare_url":"https://api.github.com/repos/sudaraka94/discourse-locations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sudaraka94/discourse-locations/merges","archive_url":"https://api.github.com/repos/sudaraka94/discourse-locations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sudaraka94/discourse-locations/downloads","issues_url":"https://api.github.com/repos/sudaraka94/discourse-locations/issues{/number}","pulls_url":"https://api.github.com/repos/sudaraka94/discourse-locations/pulls{/number}","milestones_url":"https://api.github.com/repos/sudaraka94/discourse-locations/milestones{/number}","notifications_url":"https://api.github.com/repos/sudaraka94/discourse-locations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sudaraka94/discourse-locations/labels{/name}","releases_url":"https://api.github.com/repos/sudaraka94/discourse-locations/releases{/id}","deployments_url":"https://api.github.com/repos/sudaraka94/discourse-locations/deployments","created_at":"2018-04-02T17:00:30Z","updated_at":"2018-10-05T17:52:53Z","pushed_at":"2018-10-05T17:52:51Z","git_url":"git://github.com/sudaraka94/discourse-locations.git","ssh_url":"git@github.com:sudaraka94/discourse-locations.git","clone_url":"https://github.com/sudaraka94/discourse-locations.git","svn_url":"https://github.com/sudaraka94/discourse-locations","homepage":null,"size":509,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"angusmcleod:master","ref":"master","sha":"23416097f64cf72dbb2194749791c551647d6e89","user":{"login":"angusmcleod","id":5931623,"node_id":"MDQ6VXNlcjU5MzE2MjM=","avatar_url":"https://avatars1.githubusercontent.com/u/5931623?v=4","gravatar_id":"","url":"https://api.github.com/users/angusmcleod","html_url":"https://github.com/angusmcleod","followers_url":"https://api.github.com/users/angusmcleod/followers","following_url":"https://api.github.com/users/angusmcleod/following{/other_user}","gists_url":"https://api.github.com/users/angusmcleod/gists{/gist_id}","starred_url":"https://api.github.com/users/angusmcleod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angusmcleod/subscriptions","organizations_url":"https://api.github.com/users/angusmcleod/orgs","repos_url":"https://api.github.com/users/angusmcleod/repos","events_url":"https://api.github.com/users/angusmcleod/events{/privacy}","received_events_url":"https://api.github.com/users/angusmcleod/received_events","type":"User","site_admin":false},"repo":{"id":102999061,"node_id":"MDEwOlJlcG9zaXRvcnkxMDI5OTkwNjE=","name":"discourse-locations","full_name":"angusmcleod/discourse-locations","private":false,"owner":{"login":"angusmcleod","id":5931623,"node_id":"MDQ6VXNlcjU5MzE2MjM=","avatar_url":"https://avatars1.githubusercontent.com/u/5931623?v=4","gravatar_id":"","url":"https://api.github.com/users/angusmcleod","html_url":"https://github.com/angusmcleod","followers_url":"https://api.github.com/users/angusmcleod/followers","following_url":"https://api.github.com/users/angusmcleod/following{/other_user}","gists_url":"https://api.github.com/users/angusmcleod/gists{/gist_id}","starred_url":"https://api.github.com/users/angusmcleod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angusmcleod/subscriptions","organizations_url":"https://api.github.com/users/angusmcleod/orgs","repos_url":"https://api.github.com/users/angusmcleod/repos","events_url":"https://api.github.com/users/angusmcleod/events{/privacy}","received_events_url":"https://api.github.com/users/angusmcleod/received_events","type":"User","site_admin":false},"html_url":"https://github.com/angusmcleod/discourse-locations","description":null,"fork":false,"url":"https://api.github.com/repos/angusmcleod/discourse-locations","forks_url":"https://api.github.com/repos/angusmcleod/discourse-locations/forks","keys_url":"https://api.github.com/repos/angusmcleod/discourse-locations/keys{/key_id}","collaborators_url":"https://api.github.com/repos/angusmcleod/discourse-locations/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/angusmcleod/discourse-locations/teams","hooks_url":"https://api.github.com/repos/angusmcleod/discourse-locations/hooks","issue_events_url":"https://api.github.com/repos/angusmcleod/discourse-locations/issues/events{/number}","events_url":"https://api.github.com/repos/angusmcleod/discourse-locations/events","assignees_url":"https://api.github.com/repos/angusmcleod/discourse-locations/assignees{/user}","branches_url":"https://api.github.com/repos/angusmcleod/discourse-locations/branches{/branch}","tags_url":"https://api.github.com/repos/angusmcleod/discourse-locations/tags","blobs_url":"https://api.github.com/repos/angusmcleod/discourse-locations/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/angusmcleod/discourse-locations/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/angusmcleod/discourse-locations/git/refs{/sha}","trees_url":"https://api.github.com/repos/angusmcleod/discourse-locations/git/trees{/sha}","statuses_url":"https://api.github.com/repos/angusmcleod/discourse-locations/statuses/{sha}","languages_url":"https://api.github.com/repos/angusmcleod/discourse-locations/languages","stargazers_url":"https://api.github.com/repos/angusmcleod/discourse-locations/stargazers","contributors_url":"https://api.github.com/repos/angusmcleod/discourse-locations/contributors","subscribers_url":"https://api.github.com/repos/angusmcleod/discourse-locations/subscribers","subscription_url":"https://api.github.com/repos/angusmcleod/discourse-locations/subscription","commits_url":"https://api.github.com/repos/angusmcleod/discourse-locations/commits{/sha}","git_commits_url":"https://api.github.com/repos/angusmcleod/discourse-locations/git/commits{/sha}","comments_url":"https://api.github.com/repos/angusmcleod/discourse-locations/comments{/number}","issue_comment_url":"https://api.github.com/repos/angusmcleod/discourse-locations/issues/comments{/number}","contents_url":"https://api.github.com/repos/angusmcleod/discourse-locations/contents/{+path}","compare_url":"https://api.github.com/repos/angusmcleod/discourse-locations/compare/{base}...{head}","merges_url":"https://api.github.com/repos/angusmcleod/discourse-locations/merges","archive_url":"https://api.github.com/repos/angusmcleod/discourse-locations/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/angusmcleod/discourse-locations/downloads","issues_url":"https://api.github.com/repos/angusmcleod/discourse-locations/issues{/number}","pulls_url":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls{/number}","milestones_url":"https://api.github.com/repos/angusmcleod/discourse-locations/milestones{/number}","notifications_url":"https://api.github.com/repos/angusmcleod/discourse-locations/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/angusmcleod/discourse-locations/labels{/name}","releases_url":"https://api.github.com/repos/angusmcleod/discourse-locations/releases{/id}","deployments_url":"https://api.github.com/repos/angusmcleod/discourse-locations/deployments","created_at":"2017-09-10T02:53:59Z","updated_at":"2018-10-04T23:22:52Z","pushed_at":"2018-10-05T17:52:52Z","git_url":"git://github.com/angusmcleod/discourse-locations.git","ssh_url":"git@github.com:angusmcleod/discourse-locations.git","clone_url":"https://github.com/angusmcleod/discourse-locations.git","svn_url":"https://github.com/angusmcleod/discourse-locations","homepage":null,"size":523,"stargazers_count":15,"watchers_count":15,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":19,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"NOASSERTION","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":19,"open_issues":2,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/32"},"html":{"href":"https://github.com/angusmcleod/discourse-locations/pull/32"},"issue":{"href":"https://api.github.com/repos/angusmcleod/discourse-locations/issues/32"},"comments":{"href":"https://api.github.com/repos/angusmcleod/discourse-locations/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/angusmcleod/discourse-locations/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/angusmcleod/discourse-locations/statuses/ab700c252794a683e9bde2120bdb179cee6ca25d"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"sudaraka94"}}