{"action":"created","issue":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/2656","repository_url":"https://api.github.com/repos/medic/medic-webapp","labels_url":"https://api.github.com/repos/medic/medic-webapp/issues/2656/labels{/name}","comments_url":"https://api.github.com/repos/medic/medic-webapp/issues/2656/comments","events_url":"https://api.github.com/repos/medic/medic-webapp/issues/2656/events","html_url":"https://github.com/medic/medic-webapp/issues/2656","id":172679337,"number":2656,"title":"Rename kujua_message to outgoing_message","user":{"login":"SCdF","id":583851,"avatar_url":"https://avatars.githubusercontent.com/u/583851?v=3","gravatar_id":"","url":"https://api.github.com/users/SCdF","html_url":"https://github.com/SCdF","followers_url":"https://api.github.com/users/SCdF/followers","following_url":"https://api.github.com/users/SCdF/following{/other_user}","gists_url":"https://api.github.com/users/SCdF/gists{/gist_id}","starred_url":"https://api.github.com/users/SCdF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SCdF/subscriptions","organizations_url":"https://api.github.com/users/SCdF/orgs","repos_url":"https://api.github.com/users/SCdF/repos","events_url":"https://api.github.com/users/SCdF/events{/privacy}","received_events_url":"https://api.github.com/users/SCdF/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/medic/medic-webapp/labels/Technical%20Debt","name":"Technical Debt","color":"7a5887"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-23T11:51:08Z","updated_at":"2016-08-23T20:10:58Z","closed_at":null,"body":"We use `kujua_message` to mean this is a message that is being sent from the app. That doesn't make sense anymore. It should be renamed to something more meaningful and obvious.\r\n\r\nSee: https://github.com/medic/medic-webapp/blob/master/static/js/services/send-message.js#L35-L36\r\n\r\nThis could break some things. @garethbowen could maybe say some interesting things about this. Or not, the ticket taker-upper may just have to investigate)."},"comment":{"url":"https://api.github.com/repos/medic/medic-webapp/issues/comments/241860819","html_url":"https://github.com/medic/medic-webapp/issues/2656#issuecomment-241860819","issue_url":"https://api.github.com/repos/medic/medic-webapp/issues/2656","id":241860819,"user":{"login":"garethbowen","id":2064938,"avatar_url":"https://avatars.githubusercontent.com/u/2064938?v=3","gravatar_id":"","url":"https://api.github.com/users/garethbowen","html_url":"https://github.com/garethbowen","followers_url":"https://api.github.com/users/garethbowen/followers","following_url":"https://api.github.com/users/garethbowen/following{/other_user}","gists_url":"https://api.github.com/users/garethbowen/gists{/gist_id}","starred_url":"https://api.github.com/users/garethbowen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/garethbowen/subscriptions","organizations_url":"https://api.github.com/users/garethbowen/orgs","repos_url":"https://api.github.com/users/garethbowen/repos","events_url":"https://api.github.com/users/garethbowen/events{/privacy}","received_events_url":"https://api.github.com/users/garethbowen/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T20:10:58Z","updated_at":"2016-08-23T20:10:58Z","body":"Alternatively it might make sense to change the `type` to \"message\" (or something) and have an `incoming:(boolean)` property. We have a lot of logic in a log of places to try and work out if a \"data_record\" is a report or a message and it'd be great to see it disappear!"}}
{"actor":{"display_login":"garethbowen"}}