{"action":"created","issue":{"url":"https://api.github.com/repos/ushahidi/platform-client/issues/128","repository_url":"https://api.github.com/repos/ushahidi/platform-client","labels_url":"https://api.github.com/repos/ushahidi/platform-client/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/ushahidi/platform-client/issues/128/comments","events_url":"https://api.github.com/repos/ushahidi/platform-client/issues/128/events","html_url":"https://github.com/ushahidi/platform-client/pull/128","id":141352187,"number":128,"title":"Feature/intercom","user":{"login":"willdoran","id":2694405,"avatar_url":"https://avatars.githubusercontent.com/u/2694405?v=3","gravatar_id":"","url":"https://api.github.com/users/willdoran","html_url":"https://github.com/willdoran","followers_url":"https://api.github.com/users/willdoran/followers","following_url":"https://api.github.com/users/willdoran/following{/other_user}","gists_url":"https://api.github.com/users/willdoran/gists{/gist_id}","starred_url":"https://api.github.com/users/willdoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willdoran/subscriptions","organizations_url":"https://api.github.com/users/willdoran/orgs","repos_url":"https://api.github.com/users/willdoran/repos","events_url":"https://api.github.com/users/willdoran/events{/privacy}","received_events_url":"https://api.github.com/users/willdoran/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/ushahidi/platform-client/labels/4%20-%20In%20Review","name":"4 - In Review","color":"0082dd"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-16T17:53:16Z","updated_at":"2016-03-16T21:24:18Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ushahidi/platform-client/pulls/128","html_url":"https://github.com/ushahidi/platform-client/pull/128","diff_url":"https://github.com/ushahidi/platform-client/pull/128.diff","patch_url":"https://github.com/ushahidi/platform-client/pull/128.patch"},"body":"This pull request makes the following changes:\r\n- Expanded information sent to intercom\r\n- Set intercom only to load when user logged in\r\n- Set intercom to unload on user log out\r\n\r\nTest these changes by:\r\n- Create a new deployment\r\n- Log in, you should see an intercom welcome message\r\n- Check intercom interface, you should see your new user, and the user's information - name/role etc should be correct\r\n\r\nFixes ushahidi/platform# .\r\n\r\nPing @ushahidi/platform\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"35\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/ushahidi/platform-client/128)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/ushahidi/platform-client/issues/comments/197555337","html_url":"https://github.com/ushahidi/platform-client/pull/128#issuecomment-197555337","issue_url":"https://api.github.com/repos/ushahidi/platform-client/issues/128","id":197555337,"user":{"login":"rjmackay","id":7965,"avatar_url":"https://avatars.githubusercontent.com/u/7965?v=3","gravatar_id":"","url":"https://api.github.com/users/rjmackay","html_url":"https://github.com/rjmackay","followers_url":"https://api.github.com/users/rjmackay/followers","following_url":"https://api.github.com/users/rjmackay/following{/other_user}","gists_url":"https://api.github.com/users/rjmackay/gists{/gist_id}","starred_url":"https://api.github.com/users/rjmackay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjmackay/subscriptions","organizations_url":"https://api.github.com/users/rjmackay/orgs","repos_url":"https://api.github.com/users/rjmackay/repos","events_url":"https://api.github.com/users/rjmackay/events{/privacy}","received_events_url":"https://api.github.com/users/rjmackay/received_events","type":"User","site_admin":false},"created_at":"2016-03-16T21:24:18Z","updated_at":"2016-03-16T21:24:18Z","body":"- Do we need to trigger intercom `update` when the user edits their profile??\r\n- We can do `Intercom('trackEvent', 'invited-friend');` ..  we can make a list of things to track on a future issue.\r\n\r\n\r\n"}}