{"action":"created","issue":{"url":"https://api.github.com/repos/somecookie/runPHARAA/issues/170","repository_url":"https://api.github.com/repos/somecookie/runPHARAA","labels_url":"https://api.github.com/repos/somecookie/runPHARAA/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/somecookie/runPHARAA/issues/170/comments","events_url":"https://api.github.com/repos/somecookie/runPHARAA/issues/170/events","html_url":"https://github.com/somecookie/runPHARAA/pull/170","id":389232562,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM3MjY2NzU2","number":170,"title":"Adding a new feature : Notification","user":{"login":"AntonRagot","id":17474566,"node_id":"MDQ6VXNlcjE3NDc0NTY2","avatar_url":"https://avatars3.githubusercontent.com/u/17474566?v=4","gravatar_id":"","url":"https://api.github.com/users/AntonRagot","html_url":"https://github.com/AntonRagot","followers_url":"https://api.github.com/users/AntonRagot/followers","following_url":"https://api.github.com/users/AntonRagot/following{/other_user}","gists_url":"https://api.github.com/users/AntonRagot/gists{/gist_id}","starred_url":"https://api.github.com/users/AntonRagot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AntonRagot/subscriptions","organizations_url":"https://api.github.com/users/AntonRagot/orgs","repos_url":"https://api.github.com/users/AntonRagot/repos","events_url":"https://api.github.com/users/AntonRagot/events{/privacy}","received_events_url":"https://api.github.com/users/AntonRagot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-10T10:23:29Z","updated_at":"2018-12-10T15:17:17Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/somecookie/runPHARAA/pulls/170","html_url":"https://github.com/somecookie/runPHARAA/pull/170","diff_url":"https://github.com/somecookie/runPHARAA/pull/170.diff","patch_url":"https://github.com/somecookie/runPHARAA/pull/170.patch"},"body":"/!\\ PLEASE DO NOT MERGE YET - PR TO CHECK CL /!\\\r\n\r\nThis PR includes:\r\n\r\n- The addition of the notification feature (slight change in the DB to include the notification key, a class to create the JSON that is going to be send and a class to create the notification from the message received)\r\n\r\n- The corresponding mock\r\n\r\nWhat is missing: \r\n\r\n- A few check in the Firebase notification to control the ReceivedMessage\r\n\r\n- A test for the class Firebase notification (but is tricky to implement - hence the PR)\r\n\r\nAdditional stuff to do (if I have the time):\r\n\r\n- Create a toggle button in settings to allow/disallow notifications"},"comment":{"url":"https://api.github.com/repos/somecookie/runPHARAA/issues/comments/445851697","html_url":"https://github.com/somecookie/runPHARAA/pull/170#issuecomment-445851697","issue_url":"https://api.github.com/repos/somecookie/runPHARAA/issues/170","id":445851697,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NTg1MTY5Nw==","user":{"login":"somecookie","id":16143038,"node_id":"MDQ6VXNlcjE2MTQzMDM4","avatar_url":"https://avatars2.githubusercontent.com/u/16143038?v=4","gravatar_id":"","url":"https://api.github.com/users/somecookie","html_url":"https://github.com/somecookie","followers_url":"https://api.github.com/users/somecookie/followers","following_url":"https://api.github.com/users/somecookie/following{/other_user}","gists_url":"https://api.github.com/users/somecookie/gists{/gist_id}","starred_url":"https://api.github.com/users/somecookie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/somecookie/subscriptions","organizations_url":"https://api.github.com/users/somecookie/orgs","repos_url":"https://api.github.com/users/somecookie/repos","events_url":"https://api.github.com/users/somecookie/events{/privacy}","received_events_url":"https://api.github.com/users/somecookie/received_events","type":"User","site_admin":false},"created_at":"2018-12-10T15:17:17Z","updated_at":"2018-12-10T15:17:17Z","author_association":"OWNER","body":"A suggestion for another feature that could be implemented by one of us if we have the time: notification when someone follows us"}}
{"actor":{"display_login":"somecookie"}}